Obtains a ticket. Simple Log Service allows you to share the query and analysis pages and dashboard pages with other users and embed the console pages into third-party systems. This way, other users can view your logs in password-free mode. The URLs of the shared pages are referred to as password-free URLs. You can call the CreateTicket operation to obtain a ticket and generate a password-free URL based on the ticket and the URL of the console page that you want to share.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
POST /tickets HTTP/1.1
Request parameters
Parameter | Type | Required | Description | Example |
---|
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
expirationTime | long | No |
| 86400 |
accessTokenExpirationTime | long | No |
| 600 |
Response parameters
Examples
Sample success responses
JSON
format
{
"ticket": "eyJ***************.eyJ******************.KUT****************"
}
Error codes
For a list of error codes, visit the Service error codes.