Hey All,
So I'm going to start this off by what I mean when I say "fully authenticated". We have 2 types of authentication mechanisms on API v2, API Key and OAuth. OAuth is what I'm referring to when I say "fully authenticated", meaning
a complete signed request to our API. It's important to note that you are not getting different access keys from an xAuth or web-flow route. They are both OAuth just with different authentication mechanisms to get the access key magic.
So now that I have that said, I built some gists to help explain this change better.
First up is the sample payload of the /user/info request. This route is always a fully authenticated OAuth route.
Second up, a sample payload of my test blog with just API Key authentication.
Please note the last post in the above payload is a sound cloud post.
Third up, the same request but fully authenticated with OAuth to the /posts route of my test blog:
Note: You will not be able to see my private post on my test blog even if you fully authenticate as you are not a member of my blog.
Finally, you should only be able to see private blogs which you are a member of when you have a fully OAuthed Request. Below is a private blog of mine, and in this example you'll see this is simply an API Key authenticated request.
Next, try to sign your request with OAuth. You will still get a 404, as you are not members of that blog. I on the other hand get this result:
Hopefully, that helps clear up questions you all have regarding this particular new feature set.
@Felix, you're absolutely correct. There needs to be a state or some other indicator now that I'm looking at it. I simply turned on what we did for the iPhone app, making sure different edge cases were taken care of.
Also you guys are correct, I never noticed that how to create a private post wasn't added to the documentation, as well as being able to set things private. Expect a small change log update on Monday :)
You guys point out something else I can improve on with the change log posts which is example payloads and requests with gists attached to them so we can make sure things like this don't happen again.
--
John Bunting
Simplicity is a prerequisite for reliability
--Edsger W. Dijkstra