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.
Try it now
Test
RAM authorization
Request syntax
POST /tickets HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| expirationTime |
integer |
No |
|
86400 |
| accessTokenExpirationTime |
integer |
No |
|
600 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned struct. |
||
| ticket |
string |
The ticket that is used for logon-free access. |
eyJ***************.eyJ******************.KUT**************** |
Examples
Success response
JSON format
{
"ticket": "eyJ***************.eyJ******************.KUT****************"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.