Skip to content

Instantly share code, notes, and snippets.

@Nolski
Created April 19, 2017 19:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nolski/be71446ed6d724f3474ca91a62231125 to your computer and use it in GitHub Desktop.
Save Nolski/be71446ed6d724f3474ca91a62231125 to your computer and use it in GitHub Desktop.
/channels
status: 200 : application/json
paginated, root channels
Example:
[ Channel, Channel, ... ]
Channel Fields:
(id, display_name, has_children)
Params/Filters:
search/q - Search query.
parent - Id of parent channel (gets all children)
/channels/:id/
status: 200 : application/json
channel detail
Example:
{ channel_detail }
Channel Fields:
(id, display_name, has_children, user: {...}, description)
/channel-gif-relations
returns the representation of the connection between a gif and a channel
Fields:
(creation_date, ... )
/gifs
status: 200 : application/json
paginated, list gifs
Example:
[ Gif, Gif, ... ]
Gif Fields:
(our gif object)
Params/filters:
channel_id - gets all gifs belonging to channel_id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment