Workshop Partner v2 /api/v2/:principal_slug/workshop/partners/:id

Überblick

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

/api/v2/:principal_slug/workshop/partners/:id

Parameter

Query Parameter

Schlüssel
id Pflicht

Workshop::Partner ID

principal_slug Pflicht

Backend::Principal Slug / ID

Beispiel Rückgabe

{
  "data" : {
    "id"          : "57c8911956820b37570f48d9",
    "label"       : "BLENDWERK FREIBURG",
    "description" : null,
    "url"         : "http://www.blendwerk-freiburg.de",
    "events"      : [
      {
        "id"    : "56864b85e3de759294007291",
        "label" : "TOTALLY NATURAL PORTRAITS",
        "url"   : "freiburg-portraits-licht-workshop-lehrgang-fotografie-januar",
        "date"  : "2016-01-24"
      }
    ]
  },
  "meta" : {
    "resource_class" : "Workshop::Partner",
    "id"             : "57c8911956820b37570f48d9",
    "created_at"     : "2016-09-01T22:35:37.749+02:00",
    "updated_at"     : "2016-09-01T22:35:37.749+02:00",
    "principal"      : {"id" : "565c63a193e2e56fc3000001","to_param" : "krolop-gerst"}
  }
}