Get the Photobucket URL sub-domain and path information for a specific user account.
No.
GET
/user/[identifier]/url
See Object Identifiers for an [identifier] explanation.
| Parameter | Optional | Description | Variable |
|---|---|---|---|
| identifier | N | User name. | String |
The request gets the user album URL for user "pbapi".
GET http://api123.photobucket.com/user/pbapi/url?format=xml&oauth_consumer_key=00000000&oauth_nonce=3f738df2387d5e8b018f171211c32e44&oauth_signature=GaK%2FfKXr7pjjV1h41F03948s41s%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1216404672&oauth_token=&oauth_version=1.0
The successful response includes the sub-domain, album, image, API, and feed, as well as the URL path. Note the gg17 in the path below. A value similar to this displays for all albums and is automatically generated by Photobucket. See
<response>
<status>OK</status>
<content>
<username>pbapi</username>
<subdomain>
<album>s236/album>
<image>i236/image>
<api>api236/api>
<feed>feed236/feed>
</subdomain>
<path>albums/gg17/pbapi</path>
</content>
<format>xml</format>
<method>GET</method>
<timestamp>1216404672</timestamp>
</response>
The following error may be returned:
For a full list of possible errors, see Error Codes.
| Published 25-June-10. See developer.photobucket.com for additional resources. |