You are here: Photobucket API Help > Methods > Albums > Get Album URL

Get Album URL

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

User Login Required

Yes. See End-User Authentication for details.

HTTP Method

GET

REST Path

/album/[identifier]/url

See Object Identifiers for an [identifier] explanation.

Parameters

Parameter Optional Description Variable
identifier N Album identifier. String

Request Example

The request gets the album URL for the album "pbapi".

GET http://api.photobucket.com/album/pbapi/url?format=xml&oauth_consumer_key=000000000&oauth_nonce=b7d2041c21c050fee2e59de6ae4f55c2&oauth_signature=bRkiAvxoTWO4ryM49%2FKnwzlublw%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1236628744&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 v223 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>s204/album>

            <image>i204/image>

            <api>api204/api>

            <feed>feed204/feed>

        </subdomain>

        <path>albums/v223/pbapi</path>

    </content>

    <format>xml</format>

    <method>GET</method>

    <timestamp>1236628744</timestamp>

</response>

Error Codes

For a full list of possible errors, see Error Codes.

 

Published 25-June-10. See developer.photobucket.com for additional resources.