Get 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. Retrieve a single Kibana short URL.

Request

edit

GET <kibana host>:<port>/api/short_url/<id>

Path parameters

edit
id
(Required, string) The ID of the short URL.

Response code

edit
200
Indicates a successful call.

Example

edit

Retrieve the short URL with the 12345 ID:

$ curl -X GET api/short_url/12345

The API returns the following:

{
  "id": "12345",
  "slug": "adjective-adjective-noun",
  "locator": {
    "id": "LOCATOR_ID",
    "version": "x.x.x",
    "state": {}
  },
  "accessCount": 0,
  "accessDate": 1632680100000,
  "createDate": 1632680100000
}