Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

To use this endpoint, you will need to Get a Persistent Access Token.

URI: 

  • https://api.onlinephotosubmissioncloudcard.comus/authentication-token

Optional URL Parameters: N/A

...

  • Content-Type: application/json

  • Accept: application/json

Example Request Body
Code Block
{
    "persistentAccessToken": "jX7wUuyAIu8WHOBtSN7L0492y81dQZbJxc4oNweUVWIby6LHsS691QqsyIqeRw79"
}

Info

The response contains a full JSON representation of the authentication token.  The value in the tokenValue field is what should be passed in the X-Auth-Token header for authenticated requests.

Example Response
Code Block
200 OK
{
    "id": 11766,
    "dateCreated": "2022-10-15T18:51:28Z",
    "lastUpdated": "2022-10-15T18:51:28Z",
    "expirestokenValue": "2022-10-16T06:51:28Zacr2vdf088qmnrsjmomj5ne9tsbd0je1rspp84059vc9pii7ai6019g3eslv6024",
    "tokenValueusername": "john.smith@gmail.com",
    "acr2vdf088qmnrsjmomj5ne9tsbd0je1rspp84059vc9pii7ai6019g3eslv6024persistentAccessTokenId": 1234,
    "usernamedomainClass": "johnus.cloudcard.smith@gmail.comapi.AuthenticationToken",
    "version": null,
    "expirationDate": "2022-10-16T06:51:28Z"
}