Versions Compared

Key

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

TODO: Add flow and details from storiesPartners can call editor URL with their Tokens passing it to the auth query parameter. The tokens can be generated via the below APIs. These tokens can be generated first against our back-end.
API Tasks:
1: generatetoken endpoint
POST tokens.dev.graebert.com/generate
headers: Content-type:application/json, api-token: 1234
body
{
”param1”: “value”
}
result:
status 200, 403, 500
{“token”:{token}, “expirationTime”: {ttl}}
2: retrievetoken
GET tokens.dev.graebert.com/access
headers: Content-type:application/json, xenon-token: 1234
result:
{
”param1”: “value”
}