The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Imgur::API::Model::GalleryAlbum

DESCRIPTION

    The data model formatted for gallery albums.

FIELDS

id string

    The ID for the image

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 integer

    The account ID of the account that uploaded it, or null.

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 image views

    The URL link to the album

ups integer

    Upvotes for the image

downs integer

    Number of downvotes for the image

points integer

    Upvotes minus downvotes

score integer

    Imgur popularity score

is_album boolean

    if it's an album or not

vote string

    The current user's vote on the album. null if not signed in or if the user hasn't voted on it.

favorite boolean

    Indicates if the current user favorited the album. Defaults to false if not signed in.

nsfw boolean

    Indicates if the album has been marked as nsfw or not. Defaults to null if information is not available.

comment_count int

    Number of comments on the gallery album.

topic string

    Topic of the gallery album.

topic_id integer

    Topic ID of the gallery album.

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_most_viral boolean

    Indicates if the album is in the most viral gallery or not.

EXAMPLE

 {
   "success" : true,
   "status" : 200,
   "data" : {
      "ups" : 1602,
      "account_url" : "Alan",
      "privacy" : "public",
      "comment_count" : 10,
      "title" : "Imgur Office",
      "images_count" : 11,
      "points" : 1588,
      "downs" : 14,
      "id" : "lDRB2",
      "description" : null,
      "images" : [
         {
            "animated" : false,
            "height" : 1944,
            "width" : 2592,
            "views" : 135772,
            "type" : "image/jpeg",
            "datetime" : 1357856352,
            "link" : "http://i.imgur.com/24nLu.jpg",
            "title" : null,
            "size" : 855658,
            "bandwidth" : 116174397976,
            "description" : null,
            "id" : "24nLu"
         },
         {
            "views" : 135493,
            "width" : 2592,
            "height" : 1944,
            "animated" : false,
            "size" : 919391,
            "title" : null,
            "link" : "http://i.imgur.com/Ziz25.jpg",
            "datetime" : 1357856394,
            "type" : "image/jpeg",
            "id" : "Ziz25",
            "description" : null,
            "bandwidth" : 124571044763
         },
         {
            "bandwidth" : 88470046764,
            "id" : "9tzW6",
            "description" : null,
            "title" : null,
            "size" : 655028,
            "datetime" : 1357856385,
            "type" : "image/jpeg",
            "link" : "http://i.imgur.com/9tzW6.jpg",
            "width" : 2592,
            "height" : 1944,
            "views" : 135063,
            "animated" : false
         },
         {
            "views" : 134704,
            "width" : 2592,
            "height" : 1944,
            "animated" : false,
            "size" : 812738,
            "title" : null,
            "link" : "http://i.imgur.com/dFg5u.jpg",
            "datetime" : 1357856378,
            "type" : "image/jpeg",
            "description" : null,
            "id" : "dFg5u",
            "bandwidth" : 109479059552
         },
         {
            "bandwidth" : 23627217912,
            "description" : null,
            "id" : "oknLx",
            "width" : 1749,
            "height" : 2332,
            "views" : 32938,
            "animated" : false,
            "title" : null,
            "size" : 717324,
            "datetime" : 1357856338,
            "type" : "image/jpeg",
            "link" : "http://i.imgur.com/oknLx.jpg"
         },
         {
            "views" : 32346,
            "width" : 2592,
            "height" : 1944,
            "animated" : false,
            "size" : 1443262,
            "title" : null,
            "link" : "http://i.imgur.com/OL6tC.jpg",
            "datetime" : 1357856321,
            "type" : "image/jpeg",
            "description" : null,
            "id" : "OL6tC",
            "bandwidth" : 46683752652
         },
         {
            "description" : null,
            "id" : "cJ9cm",
            "bandwidth" : 17337319958,
            "views" : 31829,
            "width" : 2592,
            "height" : 1944,
            "animated" : false,
            "size" : 544702,
            "title" : null,
            "link" : "http://i.imgur.com/cJ9cm.jpg",
            "type" : "image/jpeg",
            "datetime" : 1357856330
         },
         {
            "width" : 2592,
            "height" : 1944,
            "views" : 31257,
            "animated" : false,
            "title" : null,
            "size" : 844863,
            "datetime" : 1357856369,
            "type" : "image/jpeg",
            "link" : "http://i.imgur.com/7BtPN.jpg",
            "bandwidth" : 26407882791,
            "description" : null,
            "id" : "7BtPN"
         },
         {
            "description" : null,
            "id" : "42ib8",
            "bandwidth" : 28007483985,
            "animated" : false,
            "views" : 30945,
            "height" : 1944,
            "width" : 2592,
            "link" : "http://i.imgur.com/42ib8.jpg",
            "datetime" : 1357856424,
            "type" : "image/jpeg",
            "size" : 905073,
            "title" : null
         },
         {
            "height" : 2332,
            "width" : 1749,
            "views" : 30107,
            "animated" : false,
            "title" : null,
            "size" : 662413,
            "type" : "image/jpeg",
            "datetime" : 1357856360,
            "link" : "http://i.imgur.com/BbwIx.jpg",
            "bandwidth" : 19943268191,
            "description" : null,
            "id" : "BbwIx"
         },
         {
            "animated" : false,
            "views" : 29259,
            "width" : 1944,
            "height" : 2592,
            "link" : "http://i.imgur.com/x7b91.jpg",
            "datetime" : 1357856406,
            "type" : "image/jpeg",
            "size" : 618567,
            "title" : null,
            "id" : "x7b91",
            "description" : null,
            "bandwidth" : 18098651853
         }
      ],
      "vote" : null,
      "views" : 13780,
      "cover" : "24nLu",
      "link" : "http://alanbox.imgur.com/a/lDRB2",
      "is_album" : true,
      "datetime" : 1357856292,
      "layout" : "blog",
      "score" : 1917,
      "account_id" : 4
   }
}

SEE ALSO

http://api.imgur.com/models/galleryalbum

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 17:

'=item' outside of any '=over'

Around line 288:

You forgot a '=back' before '=head1'