Skip to content
Alban LEROUX edited this page Sep 12, 2011 · 10 revisions

API

photo.get

Retreive photo datas.

Request example

{
    "method":"photo.get",
    "datas" : {
        "id":123456,
        "fields":["title","thumb-url","visible"]
    }
}

Response example

{
    "status":"valid",
    "datas": {
        "title"     : "A beautiful butterfly",
        "thumb-url" : "http://www.something.com/photoblog/photos/thumb/AP3BJD4SIAZEOFFFFFMAZEKT.jpeg",
        "visible"   : true
    }
}

Arguments

  • id: The photo ID.
  • fields: an array of field: id | filename | title | description | publish-date | visible | thumb-url | resized-url | original-url.

NOTE:
publish-date : follow RFC 3339
visible : returned as boolean

Clone this wiki locally