Imgur · Schema
Imgur Album
A collection of Imgur images.
PhotographyImagesImage HostingAlbumsGallerySocialMemesContent SharingPublic APIs
Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| title | stringnull | |
| description | stringnull | |
| datetime | integer | |
| cover | stringnull | |
| cover_width | integer | |
| cover_height | integer | |
| account_url | stringnull | |
| account_id | integernull | |
| privacy | string | |
| layout | string | |
| views | integer | |
| link | string | |
| favorite | boolean | |
| nsfw | booleannull | |
| section | stringnull | |
| images_count | integer | |
| in_gallery | boolean | |
| is_ad | boolean | |
| include_album_ads | boolean | |
| deletehash | string | |
| images | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/api-evangelist/imgur/json-schema/imgur-album-schema.json",
"title": "Imgur Album",
"description": "A collection of Imgur images.",
"type": "object",
"required": ["id", "link"],
"properties": {
"id": { "type": "string" },
"title": { "type": ["string", "null"] },
"description": { "type": ["string", "null"] },
"datetime": { "type": "integer" },
"cover": { "type": ["string", "null"] },
"cover_width": { "type": "integer" },
"cover_height": { "type": "integer" },
"account_url": { "type": ["string", "null"] },
"account_id": { "type": ["integer", "null"] },
"privacy": { "type": "string", "enum": ["public", "hidden", "secret"] },
"layout": { "type": "string", "enum": ["blog", "grid", "horizontal", "vertical"] },
"views": { "type": "integer" },
"link": { "type": "string", "format": "uri" },
"favorite": { "type": "boolean" },
"nsfw": { "type": ["boolean", "null"] },
"section": { "type": ["string", "null"] },
"images_count": { "type": "integer" },
"in_gallery": { "type": "boolean" },
"is_ad": { "type": "boolean" },
"include_album_ads": { "type": "boolean" },
"deletehash": { "type": "string" },
"images": {
"type": "array",
"items": { "$ref": "imgur-image-schema.json" }
}
}
}