Token

Catalog


POST Get token

Request path:

https://probe.aiursoft.com/Token/GetToken

Request example:

https://probe.aiursoft.com/Token/GetToken?AccessToken=yourAccessToken&SiteName=yourSiteName&UnderPath=yourUnderPath&Permissions=yourPermissions&LifespanSeconds=0

Request content type:

application/x-www-form-urlencoded

Form content example:

AccessToken=yourAccessToken&SiteName=yourSiteName&UnderPath=yourUnderPath&Permissions=yourPermissions&LifespanSeconds=0 

Request form:

Name Required Type
AccessToken Required Text
SiteName Required Text
UnderPath Not required Text
Permissions Required Text
LifespanSeconds Not required Number

Possible Response:

{
  "value": "an example string.",
  "code": 0,
  "message": "an example string."
}

Possible Response:

{
  "code": -1,
  "message": "Some error."
}

Possible Response:

{
  "items": [
    "Some item is invalid!"
  ],
  "code": -10,
  "message": "Your input contains several errors!"
}