Imgur · Schema
Imgur Image
An image hosted on Imgur (still or animated).
PhotographyImagesImage HostingAlbumsGallerySocialMemesContent SharingPublic APIs
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Seven-character image hash. |
| title | stringnull | |
| description | stringnull | |
| datetime | integer | Unix epoch upload time. |
| type | string | MIME type, e.g. image/jpeg. |
| animated | boolean | |
| width | integer | |
| height | integer | |
| size | integer | Bytes. |
| views | integer | |
| bandwidth | integer | Cumulative bytes served. |
| vote | stringnull | |
| favorite | boolean | |
| nsfw | booleannull | |
| section | stringnull | |
| account_url | stringnull | |
| account_id | integernull | |
| is_ad | boolean | |
| in_most_viral | boolean | |
| has_sound | boolean | |
| tags | array | |
| ad_type | integernull | |
| ad_url | stringnull | |
| in_gallery | boolean | |
| deletehash | string | |
| name | string | |
| link | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/api-evangelist/imgur/json-schema/imgur-image-schema.json",
"title": "Imgur Image",
"description": "An image hosted on Imgur (still or animated).",
"type": "object",
"required": ["id", "link"],
"properties": {
"id": { "type": "string", "description": "Seven-character image hash." },
"title": { "type": ["string", "null"] },
"description": { "type": ["string", "null"] },
"datetime": { "type": "integer", "description": "Unix epoch upload time." },
"type": { "type": "string", "description": "MIME type, e.g. image/jpeg." },
"animated": { "type": "boolean" },
"width": { "type": "integer" },
"height": { "type": "integer" },
"size": { "type": "integer", "description": "Bytes." },
"views": { "type": "integer" },
"bandwidth": { "type": "integer", "description": "Cumulative bytes served." },
"vote": { "type": ["string", "null"], "enum": ["up", "down", null] },
"favorite": { "type": "boolean" },
"nsfw": { "type": ["boolean", "null"] },
"section": { "type": ["string", "null"] },
"account_url": { "type": ["string", "null"] },
"account_id": { "type": ["integer", "null"] },
"is_ad": { "type": "boolean" },
"in_most_viral": { "type": "boolean" },
"has_sound": { "type": "boolean" },
"tags": { "type": "array", "items": { "type": "string" } },
"ad_type": { "type": ["integer", "null"] },
"ad_url": { "type": ["string", "null"] },
"in_gallery": { "type": "boolean" },
"deletehash": { "type": "string" },
"name": { "type": "string" },
"link": { "type": "string", "format": "uri" }
}
}