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

Ü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/:id

Parameter

Query Parameter

Schlüssel
id Pflicht

Pool::Tag ID

principal_slug Pflicht

Backend::Principal Slug / ID

Beispiel Rückgabe

{
  "data" : {
    "id"                : "59758f5456820b0abcfb9e53",
    "key"               : "news",
    "label"             : "News",
    "description_short" : null,
    "parent"            : null,
    "children"          : [
      {
        "id"    : "59758f5456820b0abcfb9e6e",
        "key"   : "launches",
        "label" : "Launches"
      },
      {
        "id"    : "59758f5456820b0abcfb9e8d",
        "key"   : "projects",
        "label" : "Projects"
      },
      {
        "id"    : "59758f5456820b0abcfb9eac",
        "key"   : "redesign",
        "label" : "Redesign"
      },
      {
        "id"    : "59758f5456820b0abcfb9ecb",
        "key"   : "squibble",
        "label" : "Squibble"
      },
      {"id" : "59758f5456820b0abcfb9eea","key" : "technic","label" : "Technic"}
    ]
  },
  "meta" : {
    "resource_class" : "Pool::Tag",
    "id"             : "59758f5456820b0abcfb9e53",
    "to"             : {"string" : "News","param" : "59758f5456820b0abcfb9e53"},
    "created_at"     : "2017-07-24T08:10:28.222+02:00",
    "updated_at"     : "2017-07-24T11:38:33.610+02:00",
    "principal"      : {"id" : "53db7cb4993a7aefa50001e1","to_param" : "squibble"},
    "can"            : {"update" : true,"destroy" : true}
  }
}