The Photobucket API uses Representational State Transfer (REST) for requests and responses, so that domain-specific data can be transferred over HTTP without an additional messaging layer such as SOAP or session tracking via HTTP cookies. For an explanation of REST conventions, see http://microformats.org/wiki/rest/urls
The REST Request Format is a simple HTTP GET, POST, PUT, or DELETE action. Any object that is associated with a user must use the URL provided by Photobucket, via the login process or via the Get User URL method. Any object not associated with a user can use an anonymous request, sent to http://api.photobucket.com.
By default, REST requests send a REST XML response.
In some cases, Consumers will be unable to use the required HTTP method to send a request. To override the actual HTTP method, use the _method parameter. For example:
GET /ping?_method=post
Note: The HTTP method part of the OAuth signature does NOT change. _method is simply a parameter.
See Response Formats for details about REST responses.
| Published 2-September-09. See developer.photobucket.com for additional resources. |