You are here: Photobucket API Help > Methods > Users > Get User URLs

Get User URLs

Get the Photobucket URL sub-domain and path information for a specific user account.

User Login Required

No.

HTTP Method 

GET

REST Path

/user/[identifier]/url

See Object Identifiers for an [identifier] explanation.

Parameters

Parameter Optional Description Variable
identifier N User name. String

Request Example

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

Response Example

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 Conventions for details.

<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>

Error Codes

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.