[RESTful Web-service Documentation v1.0]
go top

token-valid-until

sets a new expiration date for a auth_token (maximum 365 days)

Parameter

Parameter (*=required)
Possible values
Default value
Description
valid_until *
[string]
UTC formated DateTime like "Thu, 26 Jul 2012 14:53:44 UTC"

User-Authentication

required

Endpoint

http://rest.panthermedia.net/token-valid-until

Sample Request

POST http://rest.panthermedia.net/request-token
Accept-Version: 1.0
Content-Type: application/x-www-form-urlencoded
api_key=a5e770dadd779347e0fdd4db91ad883d0592aaca031e2c81234f3cb8008fdd1f&access_key=96c35a3d110cf36709968972e38fb8e9879d656f&timestamp=Thu,%2026Jul%202012%2014:53:44%20UTC&nonce=Im%20ar%20andomS%20tring&algo=sha1&auth_token=770dadd4d031e2c81b91ad883df3cb800&access_token=10cf36709968972e38fb8e98794db91ad883d0592ad&valid_until=Thu,%2026Jul%202012%2023:59:59%20UTC

Sample Answer

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rsp stat="ok">
    <token>770dadd4d031e2c81b91ad883df3cb800</token>
    <valid_until>Mon, 30 Jul 2012 10:39:31 UTC</valid_until>
</rsp>