Newseintrag v1 /api/:principal_id/public/v1/news/entries/:id

Überblick

Klasse / Datentyp
Newseintrag
Response Formats
JSON
API Version
v1
Öffentlich erreichbar
true
HTTP Methode
GET
Zuletzt aktualisiert

/api/:principal_id/public/v1/news/entries/:id

Parameter

Query Parameter

Schlüssel
id Pflicht

News::Entry ID

principal_id Pflicht

Backend::Principal ID

Beispiel Rückgabe

{
  "id"                  : "bla",
  "slugs"               : ["bla"],
  "enable_detail_page"  : false,
  "label"               : "Bla",
  "text_short"          : "asdaseasd",
  "point_of_time"       : "2016-08-23T17:45:00+02:00",
  "external_link_url"   : null,
  "external_link_label" : null,
  "tags"                : [
    {
      "id"        : "testtag",
      "label"     : "TestTag",
      "is_public" : true,
      "_id"       : "57bc34e31c88023b505e1f12"
    }
  ],
  "thumbnail"           : {
    "url" : {
      "thumb"        : "http://dev.squibble.cle.squibble.me/upload/news/entry/53db7cb4993a7aefa50001e1/thumbnails/57bc6fa61c880249fc9e7bee/thumb/2ba62b95-3d88-4b49-bf4d-f3414f73fd41.jpg",
      "thumb_large"  : "http://dev.squibble.cle.squibble.me/upload/news/entry/53db7cb4993a7aefa50001e1/thumbnails/57bc6fa61c880249fc9e7bee/thumb_large/2ba62b95-3d88-4b49-bf4d-f3414f73fd41.jpg",
      "thumb_square" : "http://dev.squibble.cle.squibble.me/upload/news/entry/53db7cb4993a7aefa50001e1/thumbnails/57bc6fa61c880249fc9e7bee/thumb_square/2ba62b95-3d88-4b49-bf4d-f3414f73fd41.jpg"
    }
  }
}