Created
April 19, 2017 19:54
-
-
Save Nolski/be71446ed6d724f3474ca91a62231125 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/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