Timelapse.Live API documentation
http://api.timelapse.live/v2
/projects
get
Retrieve a list of images for the given camera and project
get /projects/{projectId}/cameras/{cameraId}/images
Retrieve a list of images for the given camera and project
URI Parameters
- projectId: required (integer)
The identifier of the project.
Example:
182911
- cameraId: required (integer)
The identifier of the camera.
Example:
1
Query Parameters
- limit: (integer - default: 100)
Limit the list of images in the response.
Example:
1
- startDate: (datetime-only)
Only return images created after this date.
Example:
2017-07-04T19:00:00
- endDate: (datetime-only)
Only return images created before this date.
Example:
2017-07-05T21:00:00
- order: (one of ASC, DESC - default: DESC)
Sort images by their created date ascending or descending.
Example:
ASC
HTTP status code 200
A list with images objects is returned.
Body
Media type: application/json
Type: object
Example:
[
{
"created_at": "2017-05-04 14:55:57",
"image_url": "http://images-cdn.timelapse.live/1704001/01/c7b19-590b2306-45d5d.jpg",
"image_uuid": "c7b19-590b2306-45d5d",
"ingested_at": "2017-07-22 15:56:58",
"uploaded_at": "2017-07-22 18:07:16"
}
]
HTTP status code 400
Body
Media type: application/json
Type: object
Example:
{
"message": "You passed incorrect parameters"
}