GET users/:id/infographics
Retrieves list of public infographics of the given user. In place of the :id
you should put the profile name of a user.
Resource URL
https://infogr.am/service/v1/users/:id/infographics
Parameters
none
Return value
A JSON string representing an array of objects with the following fields:
Name | Type | Description |
---|---|---|
id | String | ID of an infographic |
title | String | Title of an infographic |
thumbnail_url | String | URL to the thumbnail image of an infographic |
Example request
curl -XGET http://infogr.am/service/v1/users/infogram_demo/infographics?api_key=nMECGhmHe9&api_sig=Cge2CVJfHpAo0cVPqRiy3La%2FoQ0%3D
Example response
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 383
[
{
"id": "d819d9b7-67fb-40ec-9400-d63cc209aea8",
"title": "Sample infographic 2",
"thumbnail_url": "https://s3-eu-west-1.amazonaws.com/infogram-thumbs-200/d819d9b7-67fb-40ec-9400-d63cc209aea8.jpg"
}, {
"id": "309b6f66-83d2-437e-84d3-edb76035b771",
"title": "Sample infographic 1",
"thumbnail_url": "https://s3-eu-west-1.amazonaws.com/infogram-thumbs-200/309b6f66-83d2-437e-84d3-edb76035b771.jpg"
}
]