URI: /api/knowledge/v1/contents/
GetContentImage
The CreateExchange API returns an image(jpeg) representation of the content.
Input model
Field Name | Type | Description | Example Value |
content_id required |
string | ID of Content (e.g. application/vnd.pryon.content.id attachment from Exchange API). | 8888dpad-ea7f-88a8-b7e3-999251427254 |
page required |
int32 | The page number within the content_id (e.g. application/vnd.pryon.start_page attachment from Exchange API). | 1 |
uncompressed optional |
int32 | A value of 1 indicates the image data should not be compressed (Default is 0). | 1 |
Request sample
https://api.pryon.net/api/knowledge/v1/contents/8888dpad-ea7f-88a8-b7e3-999251427254/image?page=1&uncompressed=1
{
"page": 1,
"uncompressed": 1
}
Response sample
//returns bytes data of image/jpeg Content-Type