Image
An image which has been stored. An example JSON representation looks like this:
{ "type" : "image", "size" : 98013, "width" : 251, "height" : 201, "contentType" : "image/png", "ref" : "https://example.jiveon.com/api/core/v3/images/1037", "id" : "1037" }
Example:
Upload file
POST to /images uploads a file. Below is a curl example:
curl -u user:password -F "file=@my_cat.jpg;filename=my_cat.jpg;type=image/jpg" http://example.jiveon.com/api/core/v3/images
Fields
Field | Type | Mode † | Description |
---|---|---|---|
contentType | String | read-only | The content type of this image. |
description | String | read-only | Description of this binary entity. |
followerCount | Integer | read-only | Number of people following this object. Availability:Will be present only for object types that support being followed. |
height | Integer | read-only | The height of this image |
id | String | read-only | Identifier (unique within an object type and Jive instance) of this object. This field is internal to Jive and should not be confused with contentID or placeID used in URIs. |
likeCount | Integer | read-only | Number of people who have liked this object. Availability:Will be present only for object types that support being liked. |
name | String | read-only | Filename of this binary entity. |
published | ISO 8601 Date | read-only | Date and time this object was originally created. |
ref | String | read-only | The ref of this object ("image"). |
resources | Object | read-only | Resource links (and related permissions for the requesting person) relevant to this object. |
size | Integer | read-only | The size (in bytes) of this image. |
| String[] | optional | Tags associated with this object. Availability:Will be present only for object types that support tags |
type | String | read-only | The object type of this object ("image"). |
updated | ISO 8601 Date | read-only | Date and time this object was most recently updated. |
width | Integer | read-only | The width of this image |
followed | Boolean | read-only | Whether the current user is following this object. Availability:Will be present only for object types that support being followed. |