NAME
Imgur::API::Model::Album
DESCRIPTION
This model represents the data for albums
FIELDS
id string-
The ID for the album title string-
The title of the album in the gallery description string-
The description of the album in the gallery datetime integer-
Time inserted into the gallery, epoch time cover string-
The ID of the album cover image cover_width integer-
The width, in pixels, of the album cover image cover_height integer-
The height, in pixels, of the album cover image account_url string-
The account username or null if it's anonymous. account_id int-
The account ID or null if it's anonymous. privacy string-
The privacy level of the album, you can only view public if not logged in as album owner layout string-
The view layout of the album. views integer-
The number of album views link string-
The URL link to the album favorite boolean-
Indicates if the current user favorited the image. Defaults to false if not signed in. nsfw boolean-
Indicates if the image has been marked as nsfw or not. Defaults to null if information is not available. section string-
If the image has been categorized by our backend then this will contain the section the image belongs in. (funny, cats, adviceanimals, wtf, etc) order integer-
Order number of the album on the user's album page (defaults to 0 if their albums haven't been reordered) deletehash string-
OPTIONAL, the deletehash, if you're logged in as the album owner images_count integer-
The total number of images in the album images Array of Images-
An array of all the images in the album (only available when requesting the direct album) in_gallery boolean-
True if the image has been submitted to the gallery, false if otherwise.
EXAMPLE
SEE ALSO
http://api.imgur.com/models/
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 13:
'=item' outside of any '=over'
- Around line 119:
You forgot a '=back' before '=head1'