Bild v2 /api/v2/:principal_slug/photography/images

Überblick

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

/api/v2/:principal_slug/photography/images

Parameter

Query Parameter

Schlüssel
is_portfolio optional

Im Portfolio verwenden

show_on_website optional

Auf Website darstellen

use_for_index optional

Auf Übersichtsseite darstellen

without_category optional

Ohne verbundenen Kategorie

without_gallery optional

Ohne verbundenen Galerie

without_subgallery optional

Ohne verbundenen Untergalerie

principal_slug Pflicht

Backend::Principal Slug / ID

category_id optional

Photography::Category ID

gallery_id optional

Photography::Gallery ID

subgallery_id optional

Photography::Subgallery ID

Beispiel Rückgabe

{
  "data" : [
    {
      "id"       : "550b15fe6f72693ee7a91600",
      "key"      : "img-9131-20100828-claude-maturafeier-0006-hans-ulrich-lehmann-mod-jpg",
      "label"    : "",
      "file"     : "http://squibble.dev.squibble.me/api/patricklehmann-punkt-ch-photography/public/v1/photography/images/img-9131-20100828-claude-maturafeier-0006-hans-ulrich-lehmann-mod-jpg/fullscreen/download",
      "category" : {"id" : "550b12286f72696cf6a91b00","label" : "People"},
      "gallery"  : null
    },
    {
      "id"       : "57c747c556820b20d69e34ed",
      "key"      : "img-20160726-010708-island-tag-1-00074",
      "label"    : "",
      "file"     : "http://squibble.dev.squibble.me/api/patricklehmann-punkt-ch-photography/public/v1/photography/images/img-20160726-010708-island-tag-1-00074/fullscreen/download",
      "category" : {"id" : "550b12286f72696cf6a91b00","label" : "People"},
      "gallery"  : {
        "id"            : "57c740ab56820b20f19e34e6",
        "label"         : "Island",
        "url"           : "2016-island",
        "point_of_time" : "2016-08-01"
      }
    },
    {
      "id"       : "57c747cc56820b20e69e34ec",
      "key"      : "img-20160726-005936-island-tag-1-00062",
      "label"    : "",
      "file"     : "http://squibble.dev.squibble.me/api/patricklehmann-punkt-ch-photography/public/v1/photography/images/img-20160726-005936-island-tag-1-00062/fullscreen/download",
      "category" : {"id" : "550b12286f72696cf6a91b00","label" : "People"},
      "gallery"  : {
        "id"            : "57c740ab56820b20f19e34e6",
        "label"         : "Island",
        "url"           : "2016-island",
        "point_of_time" : "2016-08-01"
      }
    }
  ],
  "meta" : {
    "resource_class" : "Photography::Image",
    "max_updated_at" : "2016-08-31T21:18:23.992Z",
    "page"           : 1,
    "per"            : 3,
    "total_pages"    : 1148,
    "total_count"    : 3442
  }
}