Pool Tag v2 /api/v2/:principal_slug/pool/tags

Überblick

Klasse / Datentyp
Pool Tag
Response Formats
JSON
API Version
v2
Öffentlich erreichbar
false
HTTP Methode
GET
Zuletzt aktualisiert

/api/v2/:principal_slug/pool/tags

Ähnliche Schnittstellen

/api/v2/public/:principal_id/pool/tags GET

Parameter

Query Parameter

Schlüssel
parent_id optional

Pool::Tag ID

principal_slug Pflicht

Backend::Principal Slug / ID

page optional

Seite Definition der darzustellenden Seite. Standardwert: 1

per optional

Anzahl Datensätze pro Seite Definition der darzustellenden Datensätze pro Seite.

Beispiel Rückgabe

{
  "data" : [
    {
      "id"                : "59758f5456820b0abcfb9e53",
      "key"               : "news",
      "label"             : "News",
      "description_short" : null,
      "parent"            : null
    },
    {
      "id"                : "59758f5456820b0abcfb9e6e",
      "key"               : "launches",
      "label"             : "Launches",
      "description_short" : null,
      "parent"            : {"id" : "59758f5456820b0abcfb9e53","key" : "news","label" : "News"}
    },
    {
      "id"                : "59758f5456820b0abcfb9e8d",
      "key"               : "projects",
      "label"             : "Projects",
      "description_short" : null,
      "parent"            : {"id" : "59758f5456820b0abcfb9e53","key" : "news","label" : "News"}
    },
    {
      "id"                : "59758f5456820b0abcfb9eac",
      "key"               : "redesign",
      "label"             : "Redesign",
      "description_short" : null,
      "parent"            : {"id" : "59758f5456820b0abcfb9e53","key" : "news","label" : "News"}
    },
    {
      "id"                : "59758f5456820b0abcfb9ecb",
      "key"               : "squibble",
      "label"             : "Squibble",
      "description_short" : null,
      "parent"            : {"id" : "59758f5456820b0abcfb9e53","key" : "news","label" : "News"}
    },
    {
      "id"                : "59758f5456820b0abcfb9eea",
      "key"               : "technic",
      "label"             : "Technic",
      "description_short" : null,
      "parent"            : {"id" : "59758f5456820b0abcfb9e53","key" : "news","label" : "News"}
    }
  ],
  "meta" : {
    "resource_class" : "Pool::Tag",
    "max_updated_at" : "2017-07-24T09:38:33.613Z",
    "page"           : 1,
    "per"            : 24,
    "total_pages"    : 1,
    "total_count"    : 6
  }
}