Set the title (up to 128 characters) for a media item.
Yes. See End-User Authentication for details.
POST or PUT
/media/[identifier]/title
See Object Identifiers for an [identifier] explanation.
| Parameter | Optional | Description | Variable |
|---|---|---|---|
| identifier | N | Urlencoded full media URL. | String |
| title | N | Text to set as the title. | String |
The request updates the title for the image "ferrari.jpg".
PUT http://api123.photobucket.com/media/http%3A%2F%2Fi123.photobucket.com%2Falbums%2Fgg17%2Fpbapi%2Fferrari.jpg/title?format=xml&oauth_consumer_key=00000000&oauth_nonce=cc25d363e5f72fd31c2dcf2498746a35&oauth_signature=X%2FXdrpmz73gheBXzE%2F%2Bm8Aeay50%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1205278888&oauth_token=28.1&oauth_version=1.0&title=ferrariTitle
A successful response looks similar to:
<response>
<status>OK</status>
<content>
<media>1</media>
</content>
<format>xml</format>
<method>PUT</method>
<timestamp>1202845954</timestamp>
</response>
The following errors may be returned:
For a full list of possible errors, see Error Codes.
| Published 25-June-10. See developer.photobucket.com for additional resources. |