Links

Get all links

Endpoint

GET /v1/cdn/links

Parameters

Name Description
token required Public token for published or private token for draft version

Request

Query Parameters

token=WlQOhrhA9Cy6vTNUlkMoKwtt

cURL

curl "http://localhost:3001/v1/cdn/links?token=WlQOhrhA9Cy6vTNUlkMoKwtt" -X GET \
	-H "Accept: application/json" \
	-H "Content-Type: application/json" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Body

{
  "links": {
    "c06e1fa7-a3ee-418a-bb8a-71ea0e882940": {
      "id": 4,
      "slug": "home2",
      "name": "Home2",
      "is_folder": false,
      "parent_id": 0,
      "published": true,
      "position": -20,
      "uuid": "c06e1fa7-a3ee-418a-bb8a-71ea0e882940",
      "is_startpage": null
    },
    "8a58527e-ec87-433a-a3dd-fdebc3df8048": {
      "id": 3,
      "slug": "home1",
      "name": "Home1",
      "is_folder": false,
      "parent_id": 0,
      "published": false,
      "position": -10,
      "uuid": "8a58527e-ec87-433a-a3dd-fdebc3df8048",
      "is_startpage": null
    },
    "edd95bba-7051-4d9e-911d-f02145362d28": {
      "id": 2,
      "slug": "de",
      "name": "de",
      "is_folder": true,
      "parent_id": 0,
      "published": false,
      "position": 0,
      "uuid": "edd95bba-7051-4d9e-911d-f02145362d28",
      "is_startpage": null
    }
  }
}

Documentation