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

Überblick

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

/api/v2/:principal_slug/photography/images/:id

Parameter

Query Parameter

Schlüssel
id Pflicht

Photography::Image ID

principal_slug Pflicht

Backend::Principal Slug / ID

Beispiel Rückgabe

{
  "data" : {
    "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",
    "is_public"               : true,
    "is_portfolio"            : false,
    "show_on_home"            : false,
    "sort"                    : 0,
    "dimensions"              : {"original" : {"width" : 4320,"height" : 2880}},
    "file_information"        : {
      "original"   : {"href" : null,"size" : {"width" : 4320,"height" : 2880}},
      "fullscreen" : {
        "href" : "http://app.squibble.me/api/537bc650993a7a35ee000237/photography/images/download/fullscreen/img-20160726-010708-island-tag-1-00074",
        "size" : {"width" : 1920,"height" : 1280}
      },
      "large"      : {
        "href" : "http://app.squibble.me/api/537bc650993a7a35ee000237/photography/images/download/large/img-20160726-010708-island-tag-1-00074",
        "size" : {"width" : 1200,"height" : 800}
      },
      "preview"    : {
        "href" : "http://app.squibble.me/api/537bc650993a7a35ee000237/photography/images/download/preview/img-20160726-010708-island-tag-1-00074",
        "size" : {"width" : 960,"height" : 640}
      },
      "small"      : {
        "href" : "http://app.squibble.me/api/537bc650993a7a35ee000237/photography/images/download/small/img-20160726-010708-island-tag-1-00074",
        "size" : {"width" : 385,"height" : 257}
      },
      "one_one"    : {
        "href" : "http://app.squibble.me/api/537bc650993a7a35ee000237/photography/images/download/one_one/img-20160726-010708-island-tag-1-00074",
        "size" : {"width" : 360,"height" : 360}
      },
      "one_two"    : {
        "href" : "http://app.squibble.me/api/537bc650993a7a35ee000237/photography/images/download/one_two/img-20160726-010708-island-tag-1-00074",
        "size" : {"width" : 360,"height" : 720}
      },
      "two_one"    : {
        "href" : "http://app.squibble.me/api/537bc650993a7a35ee000237/photography/images/download/two_one/img-20160726-010708-island-tag-1-00074",
        "size" : {"width" : 720,"height" : 360}
      },
      "two_two"    : {
        "href" : "http://app.squibble.me/api/537bc650993a7a35ee000237/photography/images/download/two_two/img-20160726-010708-island-tag-1-00074",
        "size" : {"width" : 720,"height" : 720}
      },
      "three_one"  : {
        "href" : "http://app.squibble.me/api/537bc650993a7a35ee000237/photography/images/download/three_one/img-20160726-010708-island-tag-1-00074",
        "size" : {"width" : 1080,"height" : 360}
      },
      "three_two"  : {
        "href" : "http://app.squibble.me/api/537bc650993a7a35ee000237/photography/images/download/three_two/img-20160726-010708-island-tag-1-00074",
        "size" : {"width" : 1080,"height" : 720}
      }
    },
    "exif_make"               : null,
    "exif_model"              : null,
    "exif_lens"               : null,
    "exif_f_number"           : null,
    "exif_exposure_time"      : null,
    "exif_iso_speed_rating"   : null,
    "exif_date_time_original" : null,
    "exif_focal_length"       : null,
    "category"                : {"id" : "550b12286f72696cf6a91b00","label" : "People"},
    "gallery"                 : {
      "id"            : "57c740ab56820b20f19e34e6",
      "label"         : "Island",
      "url"           : "2016-island",
      "point_of_time" : "2016-08-01"
    },
    "subgallery"              : {"id" : "57c740ab56820b20f19e34e8","label" : "Landscapes"},
    "priority"                : {"id" : "53676d32993a7a48ad000928","code" : "one-one"}
  },
  "meta" : {
    "resource_class" : "Photography::Image",
    "id"             : "57c747c556820b20d69e34ed",
    "created_at"     : "2016-08-31T23:10:29.463+02:00",
    "updated_at"     : "2016-08-31T23:18:23.775+02:00",
    "principal"      : {
      "id"       : "537bc650993a7a35ee000237",
      "to_param" : "patricklehmann-punkt-ch-photography"
    }
  }
}