This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Resolve short URL API
editResolve short URL API
edit[preview] This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features. Resolve a single Kibana short URL by its slug.
Request
editGET <kibana host>:<port>/api/short_url/_slug/<slug>
Path parameters
edit-
slug
- (Required, string) The slug of the short URL.
Response code
edit-
200
- Indicates a successful call.
Example
editRetrieve the short URL with the hello-world
ID:
$ curl -X GET api/short_url/_slug/hello-world
The API returns the following:
{ "id": "12345", "slug": "hello-world", "locator": { "id": "LOCATOR_ID", "version": "x.x.x", "state": {} }, "accessCount": 0, "accessDate": 1632680100000, "createDate": 1632680100000 }