You are here: Photobucket API Help > Methods > Ping Photobucket

Ping Photobucket

Ping Photobucket to see if the system is up or in maintenance mode.

User Login Required

No.

HTTP Methods

GET, PUT, POST, or DELETE

REST Path

/ping

Parameters

None.

Request Example

All of the following requests ping the Photobucket service to determine availability and test your request.

GET

GET http://api.photobucket.com/ping?format=xml&oauth_consumer_key=00000000&oauth_nonce=4d7e0e129dff7712a331fdd4edd61016&oauth_signature=fHOjGNhDooPApKwqMhmmV%2Fqs%2Bbc%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1203443498&oauth_token=28.1&oauth_version=1.0

PUT

PUT http://api.photobucket.com/ping?format=xml&oauth_consumer_key=00000000&oauth_nonce=997c5f008a7fb22e76df4cef4633845e&oauth_signature=jXH3fqtAmGGcbajk269e5H%2FhxXg%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1203443499&oauth_token=28.1&oauth_version=1.0

POST

POST http://api.photobucket.com/ping

DELETE

DELETE http://api.photobucket.com/ping?format=xml&oauth_consumer_key=00000000&oauth_nonce=ae4ee9e6104d11ec6e2480066aed405f&oauth_signature=vTng%2F%2B2J7B4fSwtBwpnhVJR7qwE%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1203443499&oauth_token=28.1&oauth_version=1.0

Response Examples

All successful responses acknowledge the request that was sent and contain similar content. Only the GET response is shown.

GET

<response>

    <status>OK</status>

    <content>

        <PONG> (read)</PONG>

        <REQUEST>

            <format>xml</format>

            <oauth_consumer_key>00000000</oauth_consumer_key>

            <oauth_nonce>1bd0b23ce0441b0b3248ae9bc5b14306</oauth_nonce>

            <oauth_signature>2ggT37NAys3P6xZGoSDhp40twF0=</oauth_signature>

            <oauth_signature_method>HMAC-SHA1</oauth_signature_method>

            <oauth_timestamp>1203452960</oauth_timestamp>

            <oauth_version>1.0</oauth_version>

        </REQUEST>

    </content>

    <format>xml</format>

    <method>GET</method>

    <timestamp>1202847399</timestamp>

</response>

Error Codes

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

 

 

Published 2-September-09. See developer.photobucket.com for additional resources.