Michael Hollenbeck
and 1 contributors

NAME

Imgur::API::Model::Topic

DESCRIPTION

    The base model for a topic.

FIELDS

id integer

    ID of the topic.

name string

    Topic name

description string

    Description of the topic

css string

    CSS class used on website to style the ephemeral topic

ephemeral boolean

    Whether it is an ephemeral (e.g. current events) topic

    The top image in this topic

heroImage Image

    The current 'hero' image chosen by the Imgur community staff

isHero boolean

    Whether the topic's heroImage should be used as the overall hero image

EXAMPLE

 {
   "success" : true,
   "status" : 200,
   "data" : [
      {
         "ephemeral" : false,
         "name" : "jasdev jokes",
         "css" : null,
         "topPost" : {},
         "description" : "\"We should add more functions, that's what they do in functional programming.\",",
         "id" : 1
      },
      {
         "topPost" : {},
         "name" : "Super Smash Bros",
         "ephemeral" : true,
         "css" : "smashbros",
         "description" : "Game is hard. Tag all the n00bs with this topic.",
         "id" : 6
      }
   ]
}

SEE ALSO

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

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 17:

'=item' outside of any '=over'

Around line 98:

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