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

Ähnliche Schnittstellen

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

Parameter

Query Parameter

Schlüssel
id Pflicht

Pool::Tag ID

principal_slug Pflicht

Backend::Principal Slug / ID

Beispiel Rückgabe

{
  "data" : {
    "id"                : "5b8fdd48c4af822baa025d20",
    "label"             : "Testing 1",
    "description_short" : null,
    "parent"            : {"id" : "5b8fdd48c4af822baa025d1f","label" : "Web"},
    "ancestors"         : [{"id" : "5b8fdd48c4af822baa025d1f","label" : "Web"}],
    "children"          : [
      {"id" : "5b8fdd48c4af822baa025d21","label" : "Testing 1.1"},
      {"id" : "5b8fdd48c4af822baa025d22","label" : "Testing 1.2"},
      {"id" : "5b8fdd48c4af822baa025d23","label" : "Testing 1.3"}
    ]
  },
  "meta" : {
    "resource_class" : "Pool::Tag",
    "id"             : "5b8fdd48c4af822baa025d20",
    "to"             : {"string" : "Testing 1","param" : "testing-1"},
    "created_at"     : "2018-09-05T15:42:32.476+02:00",
    "updated_at"     : "2018-09-05T15:42:32.524+02:00",
    "principal"      : {"id" : "53db7cb4993a7aefa50001e1","to_param" : "squibble"},
    "can"            : {"update" : true,"destroy" : true}
  }
}