Created
September 22, 2017 23:44
-
-
Save marbemac/757ce0c946d1aa4a25798926af4be343 to your computer and use it in GitHub Desktop.
Giphy API OAS Example
This file contains hidden or 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
| { | |
| "swagger": "2.0", | |
| "info": { | |
| "version": "1.0", | |
| "title": "Giphy", | |
| "description": "## Welcome\n\nThis is a place to put general notes and extra information, for internal use.\n\nTo get started designing/documenting this API, select a version on the left. # Title\nNo Description" | |
| }, | |
| "host": "api.giphy.com", | |
| "basePath": "/v1", | |
| "schemes": [ | |
| "http" | |
| ], | |
| "securityDefinitions": { | |
| "api_key": { | |
| "name": "api_key", | |
| "type": "apiKey", | |
| "in": "query" | |
| } | |
| }, | |
| "paths": { | |
| "/gifs/search": { | |
| "get": { | |
| "operationId": "GET_gifs-search", | |
| "summary": "Search", | |
| "tags": [ | |
| "Gifs" | |
| ], | |
| "description": "<p>Search all Giphy GIFs for a word or phrase. Punctuation will be stripped and ignored. Use a plus or url encode for phrases.</p>\n<p>Examples:</p>\n<p><a href=\"http://api.giphy.com/v1/gifs/search?q=paul+rudd&api_key=dc6zaTOxFJmzC\" target=\"_blank\">paul+rudd</a></p>\n<p><a href=\"http://api.giphy.com/v1/gifs/search?q=ryan+gosling&api_key=dc6zaTOxFJmzC\" target=\"_blank\">ryan+gosling</a></p>\n<p><a href=\"http://api.giphy.com/v1/gifs/search?q=american+psycho&api_key=dc6zaTOxFJmzC\" target=\"_blank\">american+psycho</a></p>\n<p><a href=\"http://api.giphy.com/v1/gifs/search?q=funny+cat&api_key=dc6zaTOxFJmzC&limit=1&offset=0\" target=\"_blank\">funny+cat</a></p>", | |
| "produces": [ | |
| "application/json" | |
| ], | |
| "parameters": [ | |
| { | |
| "name": "api_key", | |
| "in": "query", | |
| "required": true, | |
| "type": "string", | |
| "default": "dc6zaTOxFJmzC" | |
| }, | |
| { | |
| "name": "q", | |
| "in": "query", | |
| "required": false, | |
| "type": "string" | |
| }, | |
| { | |
| "name": "limit", | |
| "in": "query", | |
| "required": false, | |
| "type": "integer" | |
| }, | |
| { | |
| "name": "offset", | |
| "in": "query", | |
| "required": false, | |
| "type": "integer" | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "", | |
| "schema": { | |
| "type": "object", | |
| "properties": { | |
| "data": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string" | |
| }, | |
| "id": { | |
| "type": "string" | |
| }, | |
| "slug": { | |
| "type": "string" | |
| }, | |
| "url": { | |
| "type": "string" | |
| }, | |
| "bitly_gif_url": { | |
| "type": "string" | |
| }, | |
| "bitly_url": { | |
| "type": "string" | |
| }, | |
| "embed_url": { | |
| "type": "string" | |
| }, | |
| "username": { | |
| "type": "string" | |
| }, | |
| "source": { | |
| "type": "string" | |
| }, | |
| "rating": { | |
| "type": "string" | |
| }, | |
| "content_url": { | |
| "type": "string" | |
| }, | |
| "source_tld": { | |
| "type": "string" | |
| }, | |
| "source_post_url": { | |
| "type": "string" | |
| }, | |
| "import_datetime": { | |
| "type": "string" | |
| }, | |
| "trending_datetime": { | |
| "type": "string" | |
| }, | |
| "images": { | |
| "type": "object", | |
| "properties": { | |
| "fixed_height": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_downsampled": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_downsampled": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_small": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_small_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_small": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_small_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized_large": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized_medium": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "original": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "frames": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "original_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "looping": { | |
| "type": "object", | |
| "properties": { | |
| "mp4": { | |
| "type": "string" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "user": { | |
| "type": "object", | |
| "properties": { | |
| "avatar_url": { | |
| "type": "string" | |
| }, | |
| "banner_url": { | |
| "type": "string" | |
| }, | |
| "profile_url": { | |
| "type": "string" | |
| }, | |
| "username": { | |
| "type": "string" | |
| }, | |
| "display_name": { | |
| "type": "string" | |
| }, | |
| "twitter": { | |
| "type": "string" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "meta": { | |
| "type": "object", | |
| "properties": { | |
| "status": { | |
| "type": "integer" | |
| }, | |
| "msg": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "pagination": { | |
| "type": "object", | |
| "properties": { | |
| "total_count": { | |
| "type": "integer" | |
| }, | |
| "count": { | |
| "type": "integer" | |
| }, | |
| "offset": { | |
| "type": "integer" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "examples": { | |
| "application/json": { | |
| "data": [ | |
| { | |
| "type": "gif", | |
| "id": "l4Ki5O9v4ZkNiTl7O", | |
| "slug": "thegrammys-ellie-goulding-grammys-2016-andra-day-l4Ki5O9v4ZkNiTl7O", | |
| "url": "http://giphy.com/gifs/thegrammys-ellie-goulding-grammys-2016-andra-day-l4Ki5O9v4ZkNiTl7O", | |
| "bitly_gif_url": "http://gph.is/1Woh0LK", | |
| "bitly_url": "http://gph.is/1Woh0LK", | |
| "embed_url": "http://giphy.com/embed/l4Ki5O9v4ZkNiTl7O", | |
| "username": "thegrammys", | |
| "source": "www.grammy.com", | |
| "rating": "g", | |
| "content_url": "", | |
| "source_tld": "", | |
| "source_post_url": "www.grammy.com", | |
| "import_datetime": "2016-02-16 01:34:22", | |
| "trending_datetime": "0000-00-00 00:00:00", | |
| "images": { | |
| "fixed_height": { | |
| "url": "http://media0.giphy.com/media/l4Ki5O9v4ZkNiTl7O/200.gif", | |
| "width": "377", | |
| "height": "200", | |
| "size": "2196110", | |
| "mp4": "http://media0.giphy.com/media/l4Ki5O9v4ZkNiTl7O/200.mp4", | |
| "mp4_size": "102000", | |
| "webp": "http://media0.giphy.com/media/l4Ki5O9v4ZkNiTl7O/200.webp", | |
| "webp_size": "576602" | |
| }, | |
| "fixed_height_still": { | |
| "url": "http://media0.giphy.com/media/l4Ki5O9v4ZkNiTl7O/200_s.gif", | |
| "width": "377", | |
| "height": "200" | |
| }, | |
| "fixed_height_downsampled": { | |
| "url": "http://media0.giphy.com/media/l4Ki5O9v4ZkNiTl7O/200_d.gif", | |
| "width": "377", | |
| "height": "200", | |
| "size": "237007", | |
| "webp": "http://media0.giphy.com/media/l4Ki5O9v4ZkNiTl7O/200_d.webp", | |
| "webp_size": "57296" | |
| }, | |
| "fixed_width": { | |
| "url": "http://media0.giphy.com/media/l4Ki5O9v4ZkNiTl7O/200w.gif", | |
| "width": "200", | |
| "height": "106", | |
| "size": "760038", | |
| "mp4": "http://media0.giphy.com/media/l4Ki5O9v4ZkNiTl7O/200w.mp4", | |
| "mp4_size": "44140", | |
| "webp": "http://media0.giphy.com/media/l4Ki5O9v4ZkNiTl7O/200w.webp", | |
| "webp_size": "248580" | |
| }, | |
| "fixed_width_still": { | |
| "url": "http://media0.giphy.com/media/l4Ki5O9v4ZkNiTl7O/200w_s.gif", | |
| "width": "200", | |
| "height": "106" | |
| }, | |
| "fixed_width_downsampled": { | |
| "url": "http://media0.giphy.com/media/l4Ki5O9v4ZkNiTl7O/200w_d.gif", | |
| "width": "200", | |
| "height": "106", | |
| "size": "84107", | |
| "webp": "http://media0.giphy.com/media/l4Ki5O9v4ZkNiTl7O/200w_d.webp", | |
| "webp_size": "24736" | |
| }, | |
| "fixed_height_small": { | |
| "url": "http://media0.giphy.com/media/l4Ki5O9v4ZkNiTl7O/100.gif", | |
| "width": "188", | |
| "height": "100", | |
| "size": "691798", | |
| "mp4": "http://media0.giphy.com/media/l4Ki5O9v4ZkNiTl7O/100.mp4", | |
| "mp4_size": "39302", | |
| "webp": "http://media0.giphy.com/media/l4Ki5O9v4ZkNiTl7O/100.webp", | |
| "webp_size": "227716" | |
| }, | |
| "fixed_height_small_still": { | |
| "url": "http://media0.giphy.com/media/l4Ki5O9v4ZkNiTl7O/100_s.gif", | |
| "width": "188", | |
| "height": "100" | |
| }, | |
| "fixed_width_small": { | |
| "url": "http://media0.giphy.com/media/l4Ki5O9v4ZkNiTl7O/100w.gif", | |
| "width": "100", | |
| "height": "53", | |
| "size": "235663", | |
| "mp4": "http://media0.giphy.com/media/l4Ki5O9v4ZkNiTl7O/100w.mp4", | |
| "mp4_size": "19673", | |
| "webp": "http://media0.giphy.com/media/l4Ki5O9v4ZkNiTl7O/100w.webp", | |
| "webp_size": "100670" | |
| }, | |
| "fixed_width_small_still": { | |
| "url": "http://media0.giphy.com/media/l4Ki5O9v4ZkNiTl7O/100w_s.gif", | |
| "width": "100", | |
| "height": "53" | |
| }, | |
| "downsized": { | |
| "url": "http://media.giphy.com/media/l4Ki5O9v4ZkNiTl7O/giphy-tumblr.gif", | |
| "width": "250", | |
| "height": "132", | |
| "size": "1114681" | |
| }, | |
| "downsized_still": { | |
| "url": "http://media.giphy.com/media/l4Ki5O9v4ZkNiTl7O/giphy-tumblr_s.gif", | |
| "width": "250", | |
| "height": "132" | |
| }, | |
| "downsized_large": { | |
| "url": "http://media0.giphy.com/media/l4Ki5O9v4ZkNiTl7O/giphy.gif", | |
| "width": "635", | |
| "height": "337", | |
| "size": "5201613" | |
| }, | |
| "downsized_medium": { | |
| "url": "http://media0.giphy.com/media/l4Ki5O9v4ZkNiTl7O/giphy-downsized-medium.gif", | |
| "width": "508", | |
| "height": "269", | |
| "size": "3576275" | |
| }, | |
| "original": { | |
| "url": "http://media0.giphy.com/media/l4Ki5O9v4ZkNiTl7O/giphy.gif", | |
| "width": "635", | |
| "height": "337", | |
| "size": "5201613", | |
| "frames": "60", | |
| "mp4": "http://media0.giphy.com/media/l4Ki5O9v4ZkNiTl7O/giphy.mp4", | |
| "mp4_size": "156777", | |
| "webp": "http://media0.giphy.com/media/l4Ki5O9v4ZkNiTl7O/giphy.webp", | |
| "webp_size": "1193010" | |
| }, | |
| "original_still": { | |
| "url": "http://media0.giphy.com/media/l4Ki5O9v4ZkNiTl7O/giphy_s.gif", | |
| "width": "635", | |
| "height": "337" | |
| }, | |
| "looping": { | |
| "mp4": "http://media.giphy.com/media/l4Ki5O9v4ZkNiTl7O/giphy-loop.mp4" | |
| } | |
| }, | |
| "user": { | |
| "avatar_url": "https://media1.giphy.com/avatars/thegrammys/VQeQQc6QH4PZ.gif", | |
| "banner_url": "https://media1.giphy.com/avatars/thegrammys/ERuhizn4iKTf.jpg", | |
| "profile_url": "https://giphy.com/thegrammys/", | |
| "username": "thegrammys", | |
| "display_name": "The GRAMMYs", | |
| "twitter": "@theGRAMMYs" | |
| } | |
| } | |
| ], | |
| "meta": { | |
| "status": 200, | |
| "msg": "OK" | |
| }, | |
| "pagination": { | |
| "total_count": 5071, | |
| "count": 25, | |
| "offset": 0 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "security": [ | |
| { | |
| "api_key": [ | |
| ] | |
| } | |
| ] | |
| } | |
| }, | |
| "/gifs/{gif-id}": { | |
| "parameters": [ | |
| { | |
| "name": "gif-id", | |
| "in": "path", | |
| "required": true, | |
| "type": "string" | |
| } | |
| ], | |
| "get": { | |
| "operationId": "GET_gifs-gif-id", | |
| "summary": "Get GIF by ID", | |
| "tags": [ | |
| "Gifs" | |
| ], | |
| "description": "<p>Returns meta data about a GIF, by GIF id. In the below example, the GIF ID is "feqkVgjJpYtjy"</p>\n<pre><code>http://api.giphy.com/v1/gifs/feqkVgjJpYtjy?api_key=dc6zaTOxFJmzC\n</code></pre>\n<p><a href=\"http://api.giphy.com/v1/gifs/feqkVgjJpYtjy?api_key=dc6zaTOxFJmzC\" target=\"_blank\">Example</a></p>", | |
| "produces": [ | |
| "application/json" | |
| ], | |
| "parameters": [ | |
| { | |
| "name": "api_key", | |
| "in": "query", | |
| "required": true, | |
| "type": "string", | |
| "default": "dc6zaTOxFJmzC" | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "", | |
| "schema": { | |
| "type": "object", | |
| "properties": { | |
| "data": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string" | |
| }, | |
| "id": { | |
| "type": "string" | |
| }, | |
| "slug": { | |
| "type": "string" | |
| }, | |
| "url": { | |
| "type": "string" | |
| }, | |
| "bitly_gif_url": { | |
| "type": "string" | |
| }, | |
| "bitly_url": { | |
| "type": "string" | |
| }, | |
| "embed_url": { | |
| "type": "string" | |
| }, | |
| "username": { | |
| "type": "string" | |
| }, | |
| "source": { | |
| "type": "string" | |
| }, | |
| "rating": { | |
| "type": "string" | |
| }, | |
| "content_url": { | |
| "type": "string" | |
| }, | |
| "source_tld": { | |
| "type": "string" | |
| }, | |
| "source_post_url": { | |
| "type": "string" | |
| }, | |
| "import_datetime": { | |
| "type": "string" | |
| }, | |
| "trending_datetime": { | |
| "type": "string" | |
| }, | |
| "images": { | |
| "type": "object", | |
| "properties": { | |
| "fixed_height": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_downsampled": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_downsampled": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_small": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_small_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_small": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_small_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized_large": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized_medium": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "original": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "frames": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "original_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "looping": { | |
| "type": "object", | |
| "properties": { | |
| "mp4": { | |
| "type": "string" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "meta": { | |
| "type": "object", | |
| "properties": { | |
| "status": { | |
| "type": "integer" | |
| }, | |
| "msg": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "pagination": { | |
| "type": "object", | |
| "properties": { | |
| "total_count": { | |
| "type": "integer" | |
| }, | |
| "count": { | |
| "type": "integer" | |
| }, | |
| "offset": { | |
| "type": "integer" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "examples": { | |
| "application/json": { | |
| "data": [ | |
| { | |
| "type": "gif", | |
| "id": "feqkVgjJpYtjy", | |
| "slug": "eyes-shocked-bird-feqkVgjJpYtjy", | |
| "url": "http://giphy.com/gifs/eyes-shocked-bird-feqkVgjJpYtjy", | |
| "bitly_gif_url": "http://gph.is/XJ200y", | |
| "bitly_url": "http://gph.is/XJ200y", | |
| "embed_url": "http://giphy.com/embed/feqkVgjJpYtjy", | |
| "username": "", | |
| "source": "http://littleanimalgifs.tumblr.com/post/17994517807", | |
| "rating": "g", | |
| "content_url": "", | |
| "source_tld": "littleanimalgifs.tumblr.com", | |
| "source_post_url": "http://littleanimalgifs.tumblr.com/post/17994517807", | |
| "import_datetime": "2013-03-21 04:03:08", | |
| "trending_datetime": "2014-11-12 06:22:52", | |
| "images": { | |
| "fixed_height": { | |
| "url": "http://media4.giphy.com/media/feqkVgjJpYtjy/200.gif", | |
| "width": "445", | |
| "height": "200", | |
| "size": "445432", | |
| "mp4": "http://media4.giphy.com/media/feqkVgjJpYtjy/200.mp4", | |
| "mp4_size": "27279", | |
| "webp": "http://media4.giphy.com/media/feqkVgjJpYtjy/200.webp", | |
| "webp_size": "420734" | |
| }, | |
| "fixed_height_still": { | |
| "url": "http://media4.giphy.com/media/feqkVgjJpYtjy/200_s.gif", | |
| "width": "445", | |
| "height": "200" | |
| }, | |
| "fixed_height_downsampled": { | |
| "url": "http://media4.giphy.com/media/feqkVgjJpYtjy/200_d.gif", | |
| "width": "445", | |
| "height": "200", | |
| "size": "183225", | |
| "webp": "http://media4.giphy.com/media/feqkVgjJpYtjy/200_d.webp", | |
| "webp_size": "89516" | |
| }, | |
| "fixed_width": { | |
| "url": "http://media4.giphy.com/media/feqkVgjJpYtjy/200w.gif", | |
| "width": "200", | |
| "height": "90", | |
| "size": "115885", | |
| "mp4": "http://media4.giphy.com/media/feqkVgjJpYtjy/200w.mp4", | |
| "mp4_size": "31919", | |
| "webp": "http://media4.giphy.com/media/feqkVgjJpYtjy/200w.webp", | |
| "webp_size": "122600" | |
| }, | |
| "fixed_width_still": { | |
| "url": "http://media4.giphy.com/media/feqkVgjJpYtjy/200w_s.gif", | |
| "width": "200", | |
| "height": "90" | |
| }, | |
| "fixed_width_downsampled": { | |
| "url": "http://media4.giphy.com/media/feqkVgjJpYtjy/200w_d.gif", | |
| "width": "200", | |
| "height": "90", | |
| "size": "83007", | |
| "webp": "http://media4.giphy.com/media/feqkVgjJpYtjy/200w_d.webp", | |
| "webp_size": "26460" | |
| }, | |
| "fixed_height_small": { | |
| "url": "http://media4.giphy.com/media/feqkVgjJpYtjy/100.gif", | |
| "width": "223", | |
| "height": "100", | |
| "size": "445432", | |
| "mp4": "http://media4.giphy.com/media/feqkVgjJpYtjy/100.mp4", | |
| "mp4_size": "240476", | |
| "webp": "http://media4.giphy.com/media/feqkVgjJpYtjy/100.webp", | |
| "webp_size": "129604" | |
| }, | |
| "fixed_height_small_still": { | |
| "url": "http://media4.giphy.com/media/feqkVgjJpYtjy/100_s.gif", | |
| "width": "223", | |
| "height": "100" | |
| }, | |
| "fixed_width_small": { | |
| "url": "http://media4.giphy.com/media/feqkVgjJpYtjy/100w.gif", | |
| "width": "100", | |
| "height": "45", | |
| "size": "115885", | |
| "mp4": "http://media4.giphy.com/media/feqkVgjJpYtjy/100w.mp4", | |
| "mp4_size": "79783", | |
| "webp": "http://media4.giphy.com/media/feqkVgjJpYtjy/100w.webp", | |
| "webp_size": "41620" | |
| }, | |
| "fixed_width_small_still": { | |
| "url": "http://media4.giphy.com/media/feqkVgjJpYtjy/100w_s.gif", | |
| "width": "100", | |
| "height": "45" | |
| }, | |
| "downsized": { | |
| "url": "http://media4.giphy.com/media/feqkVgjJpYtjy/giphy.gif", | |
| "width": "334", | |
| "height": "150", | |
| "size": "511581" | |
| }, | |
| "downsized_still": { | |
| "url": "http://media4.giphy.com/media/feqkVgjJpYtjy/giphy_s.gif", | |
| "width": "334", | |
| "height": "150" | |
| }, | |
| "downsized_large": { | |
| "url": "http://media4.giphy.com/media/feqkVgjJpYtjy/giphy.gif", | |
| "width": "334", | |
| "height": "150", | |
| "size": "511581" | |
| }, | |
| "downsized_medium": { | |
| "url": "http://media4.giphy.com/media/feqkVgjJpYtjy/giphy.gif", | |
| "width": "334", | |
| "height": "150", | |
| "size": "511581" | |
| }, | |
| "original": { | |
| "url": "http://media4.giphy.com/media/feqkVgjJpYtjy/giphy.gif", | |
| "width": "334", | |
| "height": "150", | |
| "size": "511581", | |
| "frames": "27", | |
| "mp4": "http://media4.giphy.com/media/feqkVgjJpYtjy/giphy.mp4", | |
| "mp4_size": "97841", | |
| "webp": "http://media4.giphy.com/media/feqkVgjJpYtjy/giphy.webp", | |
| "webp_size": "270108" | |
| }, | |
| "original_still": { | |
| "url": "http://media4.giphy.com/media/feqkVgjJpYtjy/giphy_s.gif", | |
| "width": "334", | |
| "height": "150" | |
| }, | |
| "looping": { | |
| "mp4": "http://media.giphy.com/media/feqkVgjJpYtjy/giphy-loop.mp4" | |
| } | |
| } | |
| } | |
| ], | |
| "meta": { | |
| "status": 200, | |
| "msg": "OK" | |
| }, | |
| "pagination": { | |
| "total_count": 2, | |
| "count": 2, | |
| "offset": 0 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "security": [ | |
| { | |
| "api_key": [ | |
| ] | |
| } | |
| ] | |
| } | |
| }, | |
| "/gifs": { | |
| "get": { | |
| "operationId": "GET_gifs", | |
| "summary": "Get GIFs by ID", | |
| "tags": [ | |
| "Gifs" | |
| ], | |
| "description": "<p>A multiget version of the get GIF by ID endpoint. In this case the IDs are feqkVgjJpYtjy and 7rzbxdu0ZEXLy. Note the additional user metadata attached to the document that describes the second GIF in the response, 7rzbxdu0ZEXLy.</p>\n<pre><code>http://api.giphy.com/v1/gifs?api_key=dc6zaTOxFJmzC&ids=feqkVgjJpYtjy,7rzbxdu0ZEXLy\n</code></pre>\n<p><a href=\"http://api.giphy.com/v1/gifs?api_key=dc6zaTOxFJmzC&ids=feqkVgjJpYtjy,7rzbxdu0ZEXLy\" target=\"_blank\">Example</a></p>", | |
| "produces": [ | |
| "application/json" | |
| ], | |
| "parameters": [ | |
| { | |
| "name": "api_key", | |
| "in": "query", | |
| "required": true, | |
| "type": "string", | |
| "default": "dc6zaTOxFJmzC" | |
| }, | |
| { | |
| "name": "ids", | |
| "in": "query", | |
| "required": false, | |
| "type": "string" | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "", | |
| "schema": { | |
| "type": "object", | |
| "properties": { | |
| "data": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string" | |
| }, | |
| "id": { | |
| "type": "string" | |
| }, | |
| "slug": { | |
| "type": "string" | |
| }, | |
| "url": { | |
| "type": "string" | |
| }, | |
| "bitly_gif_url": { | |
| "type": "string" | |
| }, | |
| "bitly_url": { | |
| "type": "string" | |
| }, | |
| "embed_url": { | |
| "type": "string" | |
| }, | |
| "username": { | |
| "type": "string" | |
| }, | |
| "source": { | |
| "type": "string" | |
| }, | |
| "rating": { | |
| "type": "string" | |
| }, | |
| "content_url": { | |
| "type": "string" | |
| }, | |
| "source_tld": { | |
| "type": "string" | |
| }, | |
| "source_post_url": { | |
| "type": "string" | |
| }, | |
| "import_datetime": { | |
| "type": "string" | |
| }, | |
| "trending_datetime": { | |
| "type": "string" | |
| }, | |
| "images": { | |
| "type": "object", | |
| "properties": { | |
| "fixed_height": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_downsampled": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_downsampled": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_small": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_small_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_small": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_small_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized_large": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized_medium": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "original": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "frames": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "original_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "looping": { | |
| "type": "object", | |
| "properties": { | |
| "mp4": { | |
| "type": "string" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "meta": { | |
| "type": "object", | |
| "properties": { | |
| "status": { | |
| "type": "integer" | |
| }, | |
| "msg": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "pagination": { | |
| "type": "object", | |
| "properties": { | |
| "total_count": { | |
| "type": "integer" | |
| }, | |
| "count": { | |
| "type": "integer" | |
| }, | |
| "offset": { | |
| "type": "integer" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "examples": { | |
| "application/json": { | |
| "data": [ | |
| { | |
| "type": "gif", | |
| "id": "feqkVgjJpYtjy", | |
| "slug": "eyes-shocked-bird-feqkVgjJpYtjy", | |
| "url": "http://giphy.com/gifs/eyes-shocked-bird-feqkVgjJpYtjy", | |
| "bitly_gif_url": "http://gph.is/XJ200y", | |
| "bitly_url": "http://gph.is/XJ200y", | |
| "embed_url": "http://giphy.com/embed/feqkVgjJpYtjy", | |
| "username": "", | |
| "source": "http://littleanimalgifs.tumblr.com/post/17994517807", | |
| "rating": "g", | |
| "content_url": "", | |
| "source_tld": "littleanimalgifs.tumblr.com", | |
| "source_post_url": "http://littleanimalgifs.tumblr.com/post/17994517807", | |
| "import_datetime": "2013-03-21 04:03:08", | |
| "trending_datetime": "2014-11-12 06:22:52", | |
| "images": { | |
| "fixed_height": { | |
| "url": "http://media2.giphy.com/media/feqkVgjJpYtjy/200.gif", | |
| "width": "445", | |
| "height": "200", | |
| "size": "445432", | |
| "mp4": "http://media2.giphy.com/media/feqkVgjJpYtjy/200.mp4", | |
| "mp4_size": "27279", | |
| "webp": "http://media2.giphy.com/media/feqkVgjJpYtjy/200.webp", | |
| "webp_size": "420734" | |
| }, | |
| "fixed_height_still": { | |
| "url": "http://media2.giphy.com/media/feqkVgjJpYtjy/200_s.gif", | |
| "width": "445", | |
| "height": "200" | |
| }, | |
| "fixed_height_downsampled": { | |
| "url": "http://media2.giphy.com/media/feqkVgjJpYtjy/200_d.gif", | |
| "width": "445", | |
| "height": "200", | |
| "size": "183225", | |
| "webp": "http://media2.giphy.com/media/feqkVgjJpYtjy/200_d.webp", | |
| "webp_size": "89516" | |
| }, | |
| "fixed_width": { | |
| "url": "http://media2.giphy.com/media/feqkVgjJpYtjy/200w.gif", | |
| "width": "200", | |
| "height": "90", | |
| "size": "115885", | |
| "mp4": "http://media2.giphy.com/media/feqkVgjJpYtjy/200w.mp4", | |
| "mp4_size": "31919", | |
| "webp": "http://media2.giphy.com/media/feqkVgjJpYtjy/200w.webp", | |
| "webp_size": "122600" | |
| }, | |
| "fixed_width_still": { | |
| "url": "http://media2.giphy.com/media/feqkVgjJpYtjy/200w_s.gif", | |
| "width": "200", | |
| "height": "90" | |
| }, | |
| "fixed_width_downsampled": { | |
| "url": "http://media2.giphy.com/media/feqkVgjJpYtjy/200w_d.gif", | |
| "width": "200", | |
| "height": "90", | |
| "size": "83007", | |
| "webp": "http://media2.giphy.com/media/feqkVgjJpYtjy/200w_d.webp", | |
| "webp_size": "26460" | |
| }, | |
| "fixed_height_small": { | |
| "url": "http://media2.giphy.com/media/feqkVgjJpYtjy/100.gif", | |
| "width": "223", | |
| "height": "100", | |
| "size": "445432", | |
| "mp4": "http://media2.giphy.com/media/feqkVgjJpYtjy/100.mp4", | |
| "mp4_size": "240476", | |
| "webp": "http://media2.giphy.com/media/feqkVgjJpYtjy/100.webp", | |
| "webp_size": "129604" | |
| }, | |
| "fixed_height_small_still": { | |
| "url": "http://media2.giphy.com/media/feqkVgjJpYtjy/100_s.gif", | |
| "width": "223", | |
| "height": "100" | |
| }, | |
| "fixed_width_small": { | |
| "url": "http://media2.giphy.com/media/feqkVgjJpYtjy/100w.gif", | |
| "width": "100", | |
| "height": "45", | |
| "size": "115885", | |
| "mp4": "http://media2.giphy.com/media/feqkVgjJpYtjy/100w.mp4", | |
| "mp4_size": "79783", | |
| "webp": "http://media2.giphy.com/media/feqkVgjJpYtjy/100w.webp", | |
| "webp_size": "41620" | |
| }, | |
| "fixed_width_small_still": { | |
| "url": "http://media2.giphy.com/media/feqkVgjJpYtjy/100w_s.gif", | |
| "width": "100", | |
| "height": "45" | |
| }, | |
| "downsized": { | |
| "url": "http://media2.giphy.com/media/feqkVgjJpYtjy/giphy.gif", | |
| "width": "334", | |
| "height": "150", | |
| "size": "511581" | |
| }, | |
| "downsized_still": { | |
| "url": "http://media2.giphy.com/media/feqkVgjJpYtjy/giphy_s.gif", | |
| "width": "334", | |
| "height": "150" | |
| }, | |
| "downsized_large": { | |
| "url": "http://media2.giphy.com/media/feqkVgjJpYtjy/giphy.gif", | |
| "width": "334", | |
| "height": "150", | |
| "size": "511581" | |
| }, | |
| "downsized_medium": { | |
| "url": "http://media2.giphy.com/media/feqkVgjJpYtjy/giphy.gif", | |
| "width": "334", | |
| "height": "150", | |
| "size": "511581" | |
| }, | |
| "original": { | |
| "url": "http://media2.giphy.com/media/feqkVgjJpYtjy/giphy.gif", | |
| "width": "334", | |
| "height": "150", | |
| "size": "511581", | |
| "frames": "27", | |
| "mp4": "http://media2.giphy.com/media/feqkVgjJpYtjy/giphy.mp4", | |
| "mp4_size": "97841", | |
| "webp": "http://media2.giphy.com/media/feqkVgjJpYtjy/giphy.webp", | |
| "webp_size": "270108" | |
| }, | |
| "original_still": { | |
| "url": "http://media2.giphy.com/media/feqkVgjJpYtjy/giphy_s.gif", | |
| "width": "334", | |
| "height": "150" | |
| }, | |
| "looping": { | |
| "mp4": "http://media.giphy.com/media/feqkVgjJpYtjy/giphy-loop.mp4" | |
| } | |
| } | |
| } | |
| ], | |
| "meta": { | |
| "status": 200, | |
| "msg": "OK" | |
| }, | |
| "pagination": { | |
| "total_count": 2, | |
| "count": 2, | |
| "offset": 0 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "security": [ | |
| { | |
| "api_key": [ | |
| ] | |
| } | |
| ] | |
| } | |
| }, | |
| "/gifs/translate": { | |
| "get": { | |
| "operationId": "GET_gifs-translate", | |
| "summary": "Translate", | |
| "tags": [ | |
| "Gifs" | |
| ], | |
| "description": "<p>The translate API draws on search, but uses the Giphy "special sauce" to handle translating from one vocabulary to another. In this case, words and phrases to GIFs. Example implementations of translate can be found in the Giphy <a href=\"http://giphy.com/posts/slack-adds-giphy-to-every-chatroom-wut\" target=\"_blank\">Slack</a>, <a href=\"https://marketplace.atlassian.com/plugins/com.giphy.api.hipchat\" target=\"_blank\">Hipchat</a>, <a href=\"https://wire.com/news/giphy-say-it-with-gif\" target=\"_blank\">Wire</a>, or <a href=\"https://dasher.im/\" target=\"_blank\">Dasher</a> integrations. Use a plus or url encode for phrases.</p>\n<pre><code>http://api.giphy.com/v1/gifs/translate?s=superman&api_key=dc6zaTOxFJmzC\n</code></pre>\n<p><a href=\"http://api.giphy.com/v1/gifs/translate?s=superman&api_key=dc6zaTOxFJmzC\" target=\"_blank\">Example</a></p>", | |
| "produces": [ | |
| "application/json" | |
| ], | |
| "parameters": [ | |
| { | |
| "name": "api_key", | |
| "in": "query", | |
| "required": true, | |
| "type": "string", | |
| "default": "dc6zaTOxFJmzC" | |
| }, | |
| { | |
| "name": "s", | |
| "in": "query", | |
| "required": false, | |
| "type": "string" | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "", | |
| "schema": { | |
| "type": "object", | |
| "properties": { | |
| "data": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string" | |
| }, | |
| "id": { | |
| "type": "string" | |
| }, | |
| "slug": { | |
| "type": "string" | |
| }, | |
| "url": { | |
| "type": "string" | |
| }, | |
| "bitly_gif_url": { | |
| "type": "string" | |
| }, | |
| "bitly_url": { | |
| "type": "string" | |
| }, | |
| "embed_url": { | |
| "type": "string" | |
| }, | |
| "username": { | |
| "type": "string" | |
| }, | |
| "source": { | |
| "type": "string" | |
| }, | |
| "rating": { | |
| "type": "string" | |
| }, | |
| "content_url": { | |
| "type": "string" | |
| }, | |
| "source_tld": { | |
| "type": "string" | |
| }, | |
| "source_post_url": { | |
| "type": "string" | |
| }, | |
| "import_datetime": { | |
| "type": "string" | |
| }, | |
| "trending_datetime": { | |
| "type": "string" | |
| }, | |
| "images": { | |
| "type": "object", | |
| "properties": { | |
| "fixed_height": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_downsampled": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_downsampled": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_small": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_small_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_small": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_small_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized_large": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized_medium": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "original": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "frames": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "original_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "looping": { | |
| "type": "object", | |
| "properties": { | |
| "mp4": { | |
| "type": "string" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "meta": { | |
| "type": "object", | |
| "properties": { | |
| "status": { | |
| "type": "integer" | |
| }, | |
| "msg": { | |
| "type": "string" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "examples": { | |
| "application/json": { | |
| "data": { | |
| "type": "gif", | |
| "id": "10bKPDUM5H7m7u", | |
| "slug": "superman-vintage-cartoon-10bKPDUM5H7m7u", | |
| "url": "http://giphy.com/gifs/superman-vintage-cartoon-10bKPDUM5H7m7u", | |
| "bitly_gif_url": "http://gph.is/YZ4T9u", | |
| "bitly_url": "http://gph.is/YZ4T9u", | |
| "embed_url": "http://giphy.com/embed/10bKPDUM5H7m7u", | |
| "username": "", | |
| "source": "http://gifloop.tumblr.com/post/1181034510/jzamorano-via-skittleguy-via", | |
| "rating": "y", | |
| "content_url": "", | |
| "source_tld": "gifloop.tumblr.com", | |
| "source_post_url": "http://gifloop.tumblr.com/post/1181034510/jzamorano-via-skittleguy-via", | |
| "import_datetime": "2013-03-25 08:14:03", | |
| "trending_datetime": "1970-01-01 00:00:00", | |
| "images": { | |
| "fixed_height": { | |
| "url": "http://media3.giphy.com/media/10bKPDUM5H7m7u/200.gif", | |
| "width": "267", | |
| "height": "200", | |
| "size": "262449", | |
| "mp4": "http://media3.giphy.com/media/10bKPDUM5H7m7u/200.mp4", | |
| "mp4_size": "31262", | |
| "webp": "http://media3.giphy.com/media/10bKPDUM5H7m7u/200.webp", | |
| "webp_size": "98838" | |
| }, | |
| "fixed_height_still": { | |
| "url": "http://media3.giphy.com/media/10bKPDUM5H7m7u/200_s.gif", | |
| "width": "267", | |
| "height": "200" | |
| }, | |
| "fixed_height_downsampled": { | |
| "url": "http://media3.giphy.com/media/10bKPDUM5H7m7u/200_d.gif", | |
| "width": "267", | |
| "height": "200", | |
| "size": "134600", | |
| "webp": "http://media3.giphy.com/media/10bKPDUM5H7m7u/200_d.webp", | |
| "webp_size": "49688" | |
| }, | |
| "fixed_width": { | |
| "url": "http://media3.giphy.com/media/10bKPDUM5H7m7u/200w.gif", | |
| "width": "200", | |
| "height": "150", | |
| "size": "154753", | |
| "mp4": "http://media3.giphy.com/media/10bKPDUM5H7m7u/200w.mp4", | |
| "mp4_size": "20371", | |
| "webp": "http://media3.giphy.com/media/10bKPDUM5H7m7u/200w.webp", | |
| "webp_size": "63274" | |
| }, | |
| "fixed_width_still": { | |
| "url": "http://media3.giphy.com/media/10bKPDUM5H7m7u/200w_s.gif", | |
| "width": "200", | |
| "height": "150" | |
| }, | |
| "fixed_width_downsampled": { | |
| "url": "http://media3.giphy.com/media/10bKPDUM5H7m7u/200w_d.gif", | |
| "width": "200", | |
| "height": "150", | |
| "size": "79064", | |
| "webp": "http://media3.giphy.com/media/10bKPDUM5H7m7u/200w_d.webp", | |
| "webp_size": "31854" | |
| }, | |
| "fixed_height_small": { | |
| "url": "http://media3.giphy.com/media/10bKPDUM5H7m7u/100.gif", | |
| "width": "133", | |
| "height": "100", | |
| "size": "71467", | |
| "mp4": "http://media3.giphy.com/media/10bKPDUM5H7m7u/100.mp4", | |
| "mp4_size": "11089", | |
| "webp": "http://media3.giphy.com/media/10bKPDUM5H7m7u/100.webp", | |
| "webp_size": "33896" | |
| }, | |
| "fixed_height_small_still": { | |
| "url": "http://media3.giphy.com/media/10bKPDUM5H7m7u/100_s.gif", | |
| "width": "133", | |
| "height": "100" | |
| }, | |
| "fixed_width_small": { | |
| "url": "http://media3.giphy.com/media/10bKPDUM5H7m7u/100w.gif", | |
| "width": "100", | |
| "height": "75", | |
| "size": "44229", | |
| "mp4": "http://media3.giphy.com/media/10bKPDUM5H7m7u/100w.mp4", | |
| "mp4_size": "7929", | |
| "webp": "http://media3.giphy.com/media/10bKPDUM5H7m7u/100w.webp", | |
| "webp_size": "22468" | |
| }, | |
| "fixed_width_small_still": { | |
| "url": "http://media3.giphy.com/media/10bKPDUM5H7m7u/100w_s.gif", | |
| "width": "100", | |
| "height": "75" | |
| }, | |
| "downsized": { | |
| "url": "http://media3.giphy.com/media/10bKPDUM5H7m7u/giphy.gif", | |
| "width": "500", | |
| "height": "375", | |
| "size": "497286" | |
| }, | |
| "downsized_still": { | |
| "url": "http://media3.giphy.com/media/10bKPDUM5H7m7u/giphy_s.gif", | |
| "width": "500", | |
| "height": "375" | |
| }, | |
| "downsized_large": { | |
| "url": "http://media3.giphy.com/media/10bKPDUM5H7m7u/giphy.gif", | |
| "width": "500", | |
| "height": "375", | |
| "size": "497286" | |
| }, | |
| "downsized_medium": { | |
| "url": "http://media3.giphy.com/media/10bKPDUM5H7m7u/giphy.gif", | |
| "width": "500", | |
| "height": "375", | |
| "size": "497286" | |
| }, | |
| "original": { | |
| "url": "http://media3.giphy.com/media/10bKPDUM5H7m7u/giphy.gif", | |
| "width": "500", | |
| "height": "375", | |
| "size": "497286", | |
| "frames": "12", | |
| "mp4": "http://media3.giphy.com/media/10bKPDUM5H7m7u/giphy.mp4", | |
| "mp4_size": "106508", | |
| "webp": "http://media3.giphy.com/media/10bKPDUM5H7m7u/giphy.webp", | |
| "webp_size": "308212" | |
| }, | |
| "original_still": { | |
| "url": "http://media3.giphy.com/media/10bKPDUM5H7m7u/giphy_s.gif", | |
| "width": "500", | |
| "height": "375" | |
| }, | |
| "looping": { | |
| "mp4": "http://media.giphy.com/media/10bKPDUM5H7m7u/giphy-loop.mp4" | |
| } | |
| } | |
| }, | |
| "meta": { | |
| "status": 200, | |
| "msg": "OK" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "security": [ | |
| { | |
| "api_key": [ | |
| ] | |
| } | |
| ] | |
| } | |
| }, | |
| "/gifs/random": { | |
| "get": { | |
| "operationId": "GET_gifs-random", | |
| "summary": "Random", | |
| "tags": [ | |
| "Gifs" | |
| ], | |
| "description": "<p>Returns a random GIF, limited by tag. Excluding the tag parameter will return a random GIF from the Giphy catalog.</p>\n<pre><code>http://api.giphy.com/v1/gifs/random?api_key=dc6zaTOxFJmzC&tag=american+psycho\n</code></pre>\n<p><a href=\"http://api.giphy.com/v1/gifs/random?api_key=dc6zaTOxFJmzC&tag=american+psycho\" target=\"_blank\">Example</a></p>", | |
| "produces": [ | |
| "application/json" | |
| ], | |
| "parameters": [ | |
| { | |
| "name": "api_key", | |
| "in": "query", | |
| "required": true, | |
| "type": "string", | |
| "default": "dc6zaTOxFJmzC" | |
| }, | |
| { | |
| "name": "tag", | |
| "in": "query", | |
| "required": false, | |
| "type": "string" | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "", | |
| "schema": { | |
| "type": "object", | |
| "properties": { | |
| "data": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string" | |
| }, | |
| "id": { | |
| "type": "string" | |
| }, | |
| "url": { | |
| "type": "string" | |
| }, | |
| "image_original_url": { | |
| "type": "string" | |
| }, | |
| "image_url": { | |
| "type": "string" | |
| }, | |
| "image_mp4_url": { | |
| "type": "string" | |
| }, | |
| "image_frames": { | |
| "type": "string" | |
| }, | |
| "image_width": { | |
| "type": "string" | |
| }, | |
| "image_height": { | |
| "type": "string" | |
| }, | |
| "fixed_height_downsampled_url": { | |
| "type": "string" | |
| }, | |
| "fixed_height_downsampled_width": { | |
| "type": "string" | |
| }, | |
| "fixed_height_downsampled_height": { | |
| "type": "string" | |
| }, | |
| "fixed_width_downsampled_url": { | |
| "type": "string" | |
| }, | |
| "fixed_width_downsampled_width": { | |
| "type": "string" | |
| }, | |
| "fixed_width_downsampled_height": { | |
| "type": "string" | |
| }, | |
| "fixed_height_small_url": { | |
| "type": "string" | |
| }, | |
| "fixed_height_small_still_url": { | |
| "type": "string" | |
| }, | |
| "fixed_height_small_width": { | |
| "type": "string" | |
| }, | |
| "fixed_height_small_height": { | |
| "type": "string" | |
| }, | |
| "fixed_width_small_url": { | |
| "type": "string" | |
| }, | |
| "fixed_width_small_still_url": { | |
| "type": "string" | |
| }, | |
| "fixed_width_small_width": { | |
| "type": "string" | |
| }, | |
| "fixed_width_small_height": { | |
| "type": "string" | |
| }, | |
| "username": { | |
| "type": "string" | |
| }, | |
| "caption": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "meta": { | |
| "type": "object", | |
| "properties": { | |
| "status": { | |
| "type": "integer" | |
| }, | |
| "msg": { | |
| "type": "string" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "examples": { | |
| "application/json": { | |
| "data": { | |
| "type": "gif", | |
| "id": "Kx9dQ36ajqzug", | |
| "url": "http://giphy.com/gifs/movie-80s-christian-bale-Kx9dQ36ajqzug", | |
| "image_original_url": "http://media3.giphy.com/media/Kx9dQ36ajqzug/giphy.gif", | |
| "image_url": "http://media3.giphy.com/media/Kx9dQ36ajqzug/giphy.gif", | |
| "image_mp4_url": "http://media3.giphy.com/media/Kx9dQ36ajqzug/giphy.mp4", | |
| "image_frames": "16", | |
| "image_width": "500", | |
| "image_height": "200", | |
| "fixed_height_downsampled_url": "http://media3.giphy.com/media/Kx9dQ36ajqzug/200_d.gif", | |
| "fixed_height_downsampled_width": "500", | |
| "fixed_height_downsampled_height": "200", | |
| "fixed_width_downsampled_url": "http://media3.giphy.com/media/Kx9dQ36ajqzug/200w_d.gif", | |
| "fixed_width_downsampled_width": "200", | |
| "fixed_width_downsampled_height": "80", | |
| "fixed_height_small_url": "http://media3.giphy.com/media/Kx9dQ36ajqzug/100.gif", | |
| "fixed_height_small_still_url": "http://media3.giphy.com/media/Kx9dQ36ajqzug/100_s.gif", | |
| "fixed_height_small_width": "250", | |
| "fixed_height_small_height": "100", | |
| "fixed_width_small_url": "http://media3.giphy.com/media/Kx9dQ36ajqzug/100w.gif", | |
| "fixed_width_small_still_url": "http://media3.giphy.com/media/Kx9dQ36ajqzug/100w_s.gif", | |
| "fixed_width_small_width": "100", | |
| "fixed_width_small_height": "40", | |
| "username": "", | |
| "caption": "" | |
| }, | |
| "meta": { | |
| "status": 200, | |
| "msg": "OK" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "security": [ | |
| { | |
| "api_key": [ | |
| ] | |
| } | |
| ] | |
| } | |
| }, | |
| "/gifs/trending": { | |
| "get": { | |
| "operationId": "GET_gifs-trending", | |
| "summary": "Trending GIFs", | |
| "tags": [ | |
| "Gifs" | |
| ], | |
| "description": "<p>Fetch GIFs currently trending online. Hand curated by the Giphy editorial team. The data returned mirrors the GIFs showcased on the <a href=\"\" target=\"_blank\"></a><a target=\"_blank\" href=\"http://giphy.com\" class=\"undefined\">Giphy homepage</a>. Returns 25 results by default.</p>\n<pre><code>http://api.giphy.com/v1/gifs/trending?api_key=dc6zaTOxFJmzC\n</code></pre>\n<p><a href=\"http://api.giphy.com/v1/gifs/trending?api_key=dc6zaTOxFJmzC\" target=\"_blank\">Example</a> trending GIFs query.\n<a href=\"http://api.giphy.com/v1/gifs/trending?api_key=dc6zaTOxFJmzC&limit=5\" target=\"_blank\">Example</a> trending GIFs limited to 5 results.</p>", | |
| "produces": [ | |
| "application/json" | |
| ], | |
| "parameters": [ | |
| { | |
| "name": "api_key", | |
| "in": "query", | |
| "required": true, | |
| "type": "string", | |
| "default": "dc6zaTOxFJmzC" | |
| }, | |
| { | |
| "name": "limit", | |
| "in": "query", | |
| "required": false, | |
| "type": "integer" | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "", | |
| "schema": { | |
| "type": "object", | |
| "properties": { | |
| "data": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string" | |
| }, | |
| "id": { | |
| "type": "string" | |
| }, | |
| "slug": { | |
| "type": "string" | |
| }, | |
| "url": { | |
| "type": "string" | |
| }, | |
| "bitly_gif_url": { | |
| "type": "string" | |
| }, | |
| "bitly_url": { | |
| "type": "string" | |
| }, | |
| "embed_url": { | |
| "type": "string" | |
| }, | |
| "username": { | |
| "type": "string" | |
| }, | |
| "source": { | |
| "type": "string" | |
| }, | |
| "rating": { | |
| "type": "string" | |
| }, | |
| "content_url": { | |
| "type": "string" | |
| }, | |
| "user": { | |
| "type": "object", | |
| "properties": { | |
| "avatar_url": { | |
| "type": "string" | |
| }, | |
| "banner_url": { | |
| "type": "string" | |
| }, | |
| "profile_url": { | |
| "type": "string" | |
| }, | |
| "username": { | |
| "type": "string" | |
| }, | |
| "display_name": { | |
| "type": "string" | |
| }, | |
| "twitter": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "source_tld": { | |
| "type": "string" | |
| }, | |
| "source_post_url": { | |
| "type": "string" | |
| }, | |
| "import_datetime": { | |
| "type": "string" | |
| }, | |
| "trending_datetime": { | |
| "type": "string" | |
| }, | |
| "images": { | |
| "type": "object", | |
| "properties": { | |
| "fixed_height": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_downsampled": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_downsampled": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_small": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_small_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_small": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_small_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized_large": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized_medium": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "original": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "frames": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "original_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "looping": { | |
| "type": "object", | |
| "properties": { | |
| "mp4": { | |
| "type": "string" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "meta": { | |
| "type": "object", | |
| "properties": { | |
| "status": { | |
| "type": "integer" | |
| }, | |
| "msg": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "pagination": { | |
| "type": "object", | |
| "properties": { | |
| "count": { | |
| "type": "integer" | |
| }, | |
| "offset": { | |
| "type": "integer" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "examples": { | |
| "application/json": { | |
| "data": [ | |
| { | |
| "type": "gif", | |
| "id": "3o6gb3hNd7ej5Dlp72", | |
| "slug": "thegrammys-lady-gaga-grammys-2016-david-bowie-tribute-3o6gb3hNd7ej5Dlp72", | |
| "url": "http://giphy.com/gifs/thegrammys-lady-gaga-grammys-2016-david-bowie-tribute-3o6gb3hNd7ej5Dlp72", | |
| "bitly_gif_url": "http://gph.is/1U4K1xl", | |
| "bitly_url": "http://gph.is/1U4K1xl", | |
| "embed_url": "http://giphy.com/embed/3o6gb3hNd7ej5Dlp72", | |
| "username": "thegrammys", | |
| "source": "", | |
| "rating": "pg", | |
| "content_url": "", | |
| "user": { | |
| "avatar_url": "https://media0.giphy.com/avatars/thegrammys/VQeQQc6QH4PZ.gif", | |
| "banner_url": "https://media0.giphy.com/avatars/thegrammys/ERuhizn4iKTf.jpg", | |
| "profile_url": "https://giphy.com/thegrammys/", | |
| "username": "thegrammys", | |
| "display_name": "The GRAMMYs", | |
| "twitter": "@theGRAMMYs" | |
| }, | |
| "source_tld": "", | |
| "source_post_url": "", | |
| "import_datetime": "2016-02-16 03:28:02", | |
| "trending_datetime": "2016-02-16 03:35:29", | |
| "images": { | |
| "fixed_height": { | |
| "url": "http://media4.giphy.com/media/3o6gb3hNd7ej5Dlp72/200.gif", | |
| "width": "369", | |
| "height": "200", | |
| "size": "389791", | |
| "mp4": "http://media4.giphy.com/media/3o6gb3hNd7ej5Dlp72/200.mp4", | |
| "mp4_size": "27942", | |
| "webp": "http://media4.giphy.com/media/3o6gb3hNd7ej5Dlp72/200.webp", | |
| "webp_size": "131082" | |
| }, | |
| "fixed_height_still": { | |
| "url": "http://media4.giphy.com/media/3o6gb3hNd7ej5Dlp72/200_s.gif", | |
| "width": "369", | |
| "height": "200" | |
| }, | |
| "fixed_height_downsampled": { | |
| "url": "http://media4.giphy.com/media/3o6gb3hNd7ej5Dlp72/200_d.gif", | |
| "width": "369", | |
| "height": "200", | |
| "size": "204434", | |
| "webp": "http://media4.giphy.com/media/3o6gb3hNd7ej5Dlp72/200_d.webp", | |
| "webp_size": "66478" | |
| }, | |
| "fixed_width": { | |
| "url": "http://media4.giphy.com/media/3o6gb3hNd7ej5Dlp72/200w.gif", | |
| "width": "200", | |
| "height": "108", | |
| "size": "143349", | |
| "mp4": "http://media4.giphy.com/media/3o6gb3hNd7ej5Dlp72/200w.mp4", | |
| "mp4_size": "12046", | |
| "webp": "http://media4.giphy.com/media/3o6gb3hNd7ej5Dlp72/200w.webp", | |
| "webp_size": "56496" | |
| }, | |
| "fixed_width_still": { | |
| "url": "http://media4.giphy.com/media/3o6gb3hNd7ej5Dlp72/200w_s.gif", | |
| "width": "200", | |
| "height": "108" | |
| }, | |
| "fixed_width_downsampled": { | |
| "url": "http://media4.giphy.com/media/3o6gb3hNd7ej5Dlp72/200w_d.gif", | |
| "width": "200", | |
| "height": "108", | |
| "size": "75268", | |
| "webp": "http://media4.giphy.com/media/3o6gb3hNd7ej5Dlp72/200w_d.webp", | |
| "webp_size": "28420" | |
| }, | |
| "fixed_height_small": { | |
| "url": "http://media4.giphy.com/media/3o6gb3hNd7ej5Dlp72/100.gif", | |
| "width": "185", | |
| "height": "100", | |
| "size": "125942", | |
| "mp4": "http://media4.giphy.com/media/3o6gb3hNd7ej5Dlp72/100.mp4", | |
| "mp4_size": "10782", | |
| "webp": "http://media4.giphy.com/media/3o6gb3hNd7ej5Dlp72/100.webp", | |
| "webp_size": "50598" | |
| }, | |
| "fixed_height_small_still": { | |
| "url": "http://media4.giphy.com/media/3o6gb3hNd7ej5Dlp72/100_s.gif", | |
| "width": "185", | |
| "height": "100" | |
| }, | |
| "fixed_width_small": { | |
| "url": "http://media4.giphy.com/media/3o6gb3hNd7ej5Dlp72/100w.gif", | |
| "width": "100", | |
| "height": "54", | |
| "size": "45849", | |
| "mp4": "http://media4.giphy.com/media/3o6gb3hNd7ej5Dlp72/100w.mp4", | |
| "mp4_size": "5548", | |
| "webp": "http://media4.giphy.com/media/3o6gb3hNd7ej5Dlp72/100w.webp", | |
| "webp_size": "22728" | |
| }, | |
| "fixed_width_small_still": { | |
| "url": "http://media4.giphy.com/media/3o6gb3hNd7ej5Dlp72/100w_s.gif", | |
| "width": "100", | |
| "height": "54" | |
| }, | |
| "downsized": { | |
| "url": "http://media4.giphy.com/media/3o6gb3hNd7ej5Dlp72/giphy.gif", | |
| "width": "500", | |
| "height": "271", | |
| "size": "638473" | |
| }, | |
| "downsized_still": { | |
| "url": "http://media4.giphy.com/media/3o6gb3hNd7ej5Dlp72/giphy_s.gif", | |
| "width": "500", | |
| "height": "271" | |
| }, | |
| "downsized_large": { | |
| "url": "http://media4.giphy.com/media/3o6gb3hNd7ej5Dlp72/giphy.gif", | |
| "width": "500", | |
| "height": "271", | |
| "size": "638473" | |
| }, | |
| "downsized_medium": { | |
| "url": "http://media4.giphy.com/media/3o6gb3hNd7ej5Dlp72/giphy.gif", | |
| "width": "500", | |
| "height": "271", | |
| "size": "638473" | |
| }, | |
| "original": { | |
| "url": "http://media4.giphy.com/media/3o6gb3hNd7ej5Dlp72/giphy.gif", | |
| "width": "500", | |
| "height": "271", | |
| "size": "638473", | |
| "frames": "12", | |
| "mp4": "http://media4.giphy.com/media/3o6gb3hNd7ej5Dlp72/giphy.mp4", | |
| "mp4_size": "48591", | |
| "webp": "http://media4.giphy.com/media/3o6gb3hNd7ej5Dlp72/giphy.webp", | |
| "webp_size": "209076" | |
| }, | |
| "original_still": { | |
| "url": "http://media4.giphy.com/media/3o6gb3hNd7ej5Dlp72/giphy_s.gif", | |
| "width": "500", | |
| "height": "271" | |
| }, | |
| "looping": { | |
| "mp4": "http://media.giphy.com/media/3o6gb3hNd7ej5Dlp72/giphy-loop.mp4" | |
| } | |
| } | |
| } | |
| ], | |
| "meta": { | |
| "status": 200, | |
| "msg": "OK" | |
| }, | |
| "pagination": { | |
| "count": 5, | |
| "offset": 0 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "security": [ | |
| { | |
| "api_key": [ | |
| ] | |
| } | |
| ] | |
| } | |
| }, | |
| "/stickers/search": { | |
| "get": { | |
| "operationId": "GET_stickers-search", | |
| "summary": "Search", | |
| "tags": [ | |
| "Sticker" | |
| ], | |
| "description": "<p>Replicates the functionality and requirements of the classic Giphy search, but returns animated stickers rather than gifs. Example <a href=\"http://api.giphy.com/v1/stickers/search?q=cat&api_key=dc6zaTOxFJmzC\" target=\"_blank\">Cat</a></p>\n<pre><code>http://api.giphy.com/v1/stickers/search?q=cat&api_key=dc6zaTOxFJmzC</code></pre>", | |
| "produces": [ | |
| "application/json" | |
| ], | |
| "parameters": [ | |
| { | |
| "name": "api_key", | |
| "in": "query", | |
| "required": true, | |
| "type": "string", | |
| "default": "dc6zaTOxFJmzC" | |
| }, | |
| { | |
| "name": "q", | |
| "in": "query", | |
| "required": false, | |
| "type": "string" | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "", | |
| "schema": { | |
| "type": "object", | |
| "properties": { | |
| "data": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string" | |
| }, | |
| "id": { | |
| "type": "string" | |
| }, | |
| "slug": { | |
| "type": "string" | |
| }, | |
| "url": { | |
| "type": "string" | |
| }, | |
| "bitly_gif_url": { | |
| "type": "string" | |
| }, | |
| "bitly_url": { | |
| "type": "string" | |
| }, | |
| "embed_url": { | |
| "type": "string" | |
| }, | |
| "username": { | |
| "type": "string" | |
| }, | |
| "source": { | |
| "type": "string" | |
| }, | |
| "rating": { | |
| "type": "string" | |
| }, | |
| "content_url": { | |
| "type": "string" | |
| }, | |
| "source_tld": { | |
| "type": "string" | |
| }, | |
| "source_post_url": { | |
| "type": "string" | |
| }, | |
| "import_datetime": { | |
| "type": "string" | |
| }, | |
| "trending_datetime": { | |
| "type": "string" | |
| }, | |
| "images": { | |
| "type": "object", | |
| "properties": { | |
| "fixed_height": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_downsampled": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_downsampled": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_small": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_small_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_small": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_small_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized_large": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized_medium": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "original": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "frames": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "original_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "looping": { | |
| "type": "object", | |
| "properties": { | |
| "mp4": { | |
| "type": "string" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "meta": { | |
| "type": "object", | |
| "properties": { | |
| "status": { | |
| "type": "integer" | |
| }, | |
| "msg": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "pagination": { | |
| "type": "object", | |
| "properties": { | |
| "total_count": { | |
| "type": "integer" | |
| }, | |
| "count": { | |
| "type": "integer" | |
| }, | |
| "offset": { | |
| "type": "integer" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "examples": { | |
| "application/json": { | |
| "data": [ | |
| { | |
| "type": "gif", | |
| "id": "mKB2CVnHchGhy", | |
| "slug": "dancing-transparent-cat-mKB2CVnHchGhy", | |
| "url": "http://giphy.com/gifs/dancing-transparent-cat-mKB2CVnHchGhy", | |
| "bitly_gif_url": "http://gph.is/1eR7oHA", | |
| "bitly_url": "http://gph.is/1eR7oHA", | |
| "embed_url": "http://giphy.com/embed/mKB2CVnHchGhy", | |
| "username": "", | |
| "source": "http://www.tumblr.com", | |
| "rating": "g", | |
| "content_url": "", | |
| "source_tld": "www.tumblr.com", | |
| "source_post_url": "http://www.tumblr.com", | |
| "import_datetime": "2014-02-13 01:24:01", | |
| "trending_datetime": "2016-01-12 22:38:27", | |
| "images": { | |
| "fixed_height": { | |
| "url": "http://media3.giphy.com/media/mKB2CVnHchGhy/200.gif", | |
| "width": "175", | |
| "height": "200", | |
| "size": "7288", | |
| "mp4": "http://media3.giphy.com/media/mKB2CVnHchGhy/200.mp4", | |
| "mp4_size": "26820", | |
| "webp": "http://media3.giphy.com/media/mKB2CVnHchGhy/200.webp", | |
| "webp_size": "11202" | |
| }, | |
| "fixed_height_still": { | |
| "url": "http://media3.giphy.com/media/mKB2CVnHchGhy/200_s.gif", | |
| "width": "175", | |
| "height": "200" | |
| }, | |
| "fixed_height_downsampled": { | |
| "url": "http://media3.giphy.com/media/mKB2CVnHchGhy/200_d.gif", | |
| "width": "175", | |
| "height": "200", | |
| "size": "24874", | |
| "webp": "http://media3.giphy.com/media/mKB2CVnHchGhy/200_d.webp", | |
| "webp_size": "11202" | |
| }, | |
| "fixed_width": { | |
| "url": "http://media3.giphy.com/media/mKB2CVnHchGhy/200w.gif", | |
| "width": "200", | |
| "height": "229", | |
| "size": "9114", | |
| "mp4": "http://media3.giphy.com/media/mKB2CVnHchGhy/200w.mp4", | |
| "mp4_size": "33785", | |
| "webp": "http://media3.giphy.com/media/mKB2CVnHchGhy/200w.webp", | |
| "webp_size": "13686" | |
| }, | |
| "fixed_width_still": { | |
| "url": "http://media3.giphy.com/media/mKB2CVnHchGhy/200w_s.gif", | |
| "width": "200", | |
| "height": "229" | |
| }, | |
| "fixed_width_downsampled": { | |
| "url": "http://media3.giphy.com/media/mKB2CVnHchGhy/200w_d.gif", | |
| "width": "200", | |
| "height": "229", | |
| "size": "31156", | |
| "webp": "http://media3.giphy.com/media/mKB2CVnHchGhy/200w_d.webp", | |
| "webp_size": "13686" | |
| }, | |
| "fixed_height_small": { | |
| "url": "http://media3.giphy.com/media/mKB2CVnHchGhy/100.gif", | |
| "width": "87", | |
| "height": "100", | |
| "size": "7288", | |
| "mp4": "http://media3.giphy.com/media/mKB2CVnHchGhy/100.mp4", | |
| "mp4_size": "10110", | |
| "webp": "http://media3.giphy.com/media/mKB2CVnHchGhy/100.webp", | |
| "webp_size": "4494" | |
| }, | |
| "fixed_height_small_still": { | |
| "url": "http://media3.giphy.com/media/mKB2CVnHchGhy/100_s.gif", | |
| "width": "87", | |
| "height": "100" | |
| }, | |
| "fixed_width_small": { | |
| "url": "http://media3.giphy.com/media/mKB2CVnHchGhy/100w.gif", | |
| "width": "100", | |
| "height": "114", | |
| "size": "9114", | |
| "mp4": "http://media3.giphy.com/media/mKB2CVnHchGhy/100w.mp4", | |
| "mp4_size": "11891", | |
| "webp": "http://media3.giphy.com/media/mKB2CVnHchGhy/100w.webp", | |
| "webp_size": "5508" | |
| }, | |
| "fixed_width_small_still": { | |
| "url": "http://media3.giphy.com/media/mKB2CVnHchGhy/100w_s.gif", | |
| "width": "100", | |
| "height": "114" | |
| }, | |
| "downsized": { | |
| "url": "http://media3.giphy.com/media/mKB2CVnHchGhy/giphy.gif", | |
| "width": "335", | |
| "height": "383", | |
| "size": "62805" | |
| }, | |
| "downsized_still": { | |
| "url": "http://media3.giphy.com/media/mKB2CVnHchGhy/giphy_s.gif", | |
| "width": "335", | |
| "height": "383" | |
| }, | |
| "downsized_large": { | |
| "url": "http://media3.giphy.com/media/mKB2CVnHchGhy/giphy.gif", | |
| "width": "335", | |
| "height": "383", | |
| "size": "62805" | |
| }, | |
| "downsized_medium": { | |
| "url": "http://media3.giphy.com/media/mKB2CVnHchGhy/giphy.gif", | |
| "width": "335", | |
| "height": "383", | |
| "size": "62805" | |
| }, | |
| "original": { | |
| "url": "http://media3.giphy.com/media/mKB2CVnHchGhy/giphy.gif", | |
| "width": "335", | |
| "height": "383", | |
| "size": "62805", | |
| "frames": "2", | |
| "mp4": "http://media3.giphy.com/media/mKB2CVnHchGhy/giphy.mp4", | |
| "mp4_size": "151817", | |
| "webp": "http://media3.giphy.com/media/mKB2CVnHchGhy/giphy.webp", | |
| "webp_size": "31902" | |
| }, | |
| "original_still": { | |
| "url": "http://media3.giphy.com/media/mKB2CVnHchGhy/giphy_s.gif", | |
| "width": "335", | |
| "height": "383" | |
| }, | |
| "looping": { | |
| "mp4": "http://media.giphy.com/media/mKB2CVnHchGhy/giphy-loop.mp4" | |
| } | |
| } | |
| } | |
| ], | |
| "meta": { | |
| "status": 200, | |
| "msg": "OK" | |
| }, | |
| "pagination": { | |
| "total_count": 905, | |
| "count": 25, | |
| "offset": 0 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "security": [ | |
| { | |
| "api_key": [ | |
| ] | |
| } | |
| ] | |
| } | |
| }, | |
| "/stickers/random": { | |
| "get": { | |
| "operationId": "GET_stickers-random", | |
| "summary": "Random", | |
| "tags": [ | |
| "Sticker" | |
| ], | |
| "description": "<p>Returns a spotaneously selected sticker from Giphy's sticker collection. Optionally limit scope of result to a specific tag. Like the GIF random endpoint, Punctuation will be stripped and ignored. Use a hyphen for phrases. Example <a href=\"http://api.giphy.com/v1/stickers/random?api_key=dc6zaTOxFJmzC&tag=oops\" target=\"_blank\">oops</a>, <a href=\"http://api.giphy.com/v1/stickers/random?api_key=dc6zaTOxFJmzC&tag=birthday\" target=\"_blank\">birthday</a> or <a href=\"http://api.giphy.com/v1/stickers/random?api_key=dc6zaTOxFJmzC&tag=whatever\" target=\"_blank\">thank-you</a>. Search terms should be URL encoded.</p>\n<pre><code>http://api.giphy.com/v1/stickers/random?api_key=dc6zaTOxFJmzC&tag=oops\n</code></pre>\n<p><a href=\"http://api.giphy.com/v1/stickers/random?api_key=dc6zaTOxFJmzC\" target=\"_blank\">Example</a> random query.</p>", | |
| "produces": [ | |
| "application/json" | |
| ], | |
| "parameters": [ | |
| { | |
| "name": "api_key", | |
| "in": "query", | |
| "required": true, | |
| "type": "string", | |
| "default": "dc6zaTOxFJmzC" | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "", | |
| "schema": { | |
| "type": "object", | |
| "properties": { | |
| "data": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string" | |
| }, | |
| "id": { | |
| "type": "string" | |
| }, | |
| "url": { | |
| "type": "string" | |
| }, | |
| "image_original_url": { | |
| "type": "string" | |
| }, | |
| "image_url": { | |
| "type": "string" | |
| }, | |
| "image_mp4_url": { | |
| "type": "string" | |
| }, | |
| "image_frames": { | |
| "type": "string" | |
| }, | |
| "image_width": { | |
| "type": "string" | |
| }, | |
| "image_height": { | |
| "type": "string" | |
| }, | |
| "fixed_height_downsampled_url": { | |
| "type": "string" | |
| }, | |
| "fixed_height_downsampled_width": { | |
| "type": "string" | |
| }, | |
| "fixed_height_downsampled_height": { | |
| "type": "string" | |
| }, | |
| "fixed_width_downsampled_url": { | |
| "type": "string" | |
| }, | |
| "fixed_width_downsampled_width": { | |
| "type": "string" | |
| }, | |
| "fixed_width_downsampled_height": { | |
| "type": "string" | |
| }, | |
| "fixed_height_small_url": { | |
| "type": "string" | |
| }, | |
| "fixed_height_small_still_url": { | |
| "type": "string" | |
| }, | |
| "fixed_height_small_width": { | |
| "type": "string" | |
| }, | |
| "fixed_height_small_height": { | |
| "type": "string" | |
| }, | |
| "fixed_width_small_url": { | |
| "type": "string" | |
| }, | |
| "fixed_width_small_still_url": { | |
| "type": "string" | |
| }, | |
| "fixed_width_small_width": { | |
| "type": "string" | |
| }, | |
| "fixed_width_small_height": { | |
| "type": "string" | |
| }, | |
| "username": { | |
| "type": "string" | |
| }, | |
| "caption": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "meta": { | |
| "type": "object", | |
| "properties": { | |
| "status": { | |
| "type": "integer" | |
| }, | |
| "msg": { | |
| "type": "string" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "examples": { | |
| "application/json": { | |
| "data": { | |
| "type": "gif", | |
| "id": "lqEGEhbHXlmrS", | |
| "url": "http://giphy.com/gifs/lqEGEhbHXlmrS", | |
| "image_original_url": "http://media1.giphy.com/media/lqEGEhbHXlmrS/giphy.gif", | |
| "image_url": "http://media1.giphy.com/media/lqEGEhbHXlmrS/giphy.gif", | |
| "image_mp4_url": "http://media1.giphy.com/media/lqEGEhbHXlmrS/giphy.mp4", | |
| "image_frames": "20", | |
| "image_width": "500", | |
| "image_height": "500", | |
| "fixed_height_downsampled_url": "http://media1.giphy.com/media/lqEGEhbHXlmrS/200_d.gif", | |
| "fixed_height_downsampled_width": "200", | |
| "fixed_height_downsampled_height": "200", | |
| "fixed_width_downsampled_url": "http://media1.giphy.com/media/lqEGEhbHXlmrS/200w_d.gif", | |
| "fixed_width_downsampled_width": "200", | |
| "fixed_width_downsampled_height": "200", | |
| "fixed_height_small_url": "http://media1.giphy.com/media/lqEGEhbHXlmrS/100.gif", | |
| "fixed_height_small_still_url": "http://media1.giphy.com/media/lqEGEhbHXlmrS/100_s.gif", | |
| "fixed_height_small_width": "100", | |
| "fixed_height_small_height": "100", | |
| "fixed_width_small_url": "http://media1.giphy.com/media/lqEGEhbHXlmrS/100w.gif", | |
| "fixed_width_small_still_url": "http://media1.giphy.com/media/lqEGEhbHXlmrS/100w_s.gif", | |
| "fixed_width_small_width": "100", | |
| "fixed_width_small_height": "100", | |
| "username": "", | |
| "caption": "" | |
| }, | |
| "meta": { | |
| "status": 200, | |
| "msg": "OK" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "security": [ | |
| { | |
| "api_key": [ | |
| ] | |
| } | |
| ] | |
| } | |
| }, | |
| "/stickers/trending": { | |
| "get": { | |
| "operationId": "GET_stickers-trending", | |
| "summary": "Trending", | |
| "tags": [ | |
| "Sticker" | |
| ], | |
| "description": "<p>Get the latest stickers trending on Giphy with this endpoint. Hand curated by the Giphy editorial team and refreshed daily.</p>\n<pre><code>http://api.giphy.com/v1/stickers/trending?api_key=dc6zaTOxFJmzC\n</code></pre>\n<p><a href=\"http://api.giphy.com/v1/stickers/trending?api_key=dc6zaTOxFJmzC&limit=4&fmt=html\" target=\"_blank\">Example</a> trending query with html formatted response.</p>\n<p><a href=\"http://api.giphy.com/v1/stickers/trending?api_key=dc6zaTOxFJmzC&limit=4\" target=\"_blank\">Example</a> trending query with default json response.</p>", | |
| "produces": [ | |
| "application/json" | |
| ], | |
| "parameters": [ | |
| { | |
| "name": "api_key", | |
| "in": "query", | |
| "required": true, | |
| "type": "string", | |
| "default": "dc6zaTOxFJmzC" | |
| }, | |
| { | |
| "name": "limit", | |
| "in": "query", | |
| "required": false, | |
| "type": "integer" | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "", | |
| "schema": { | |
| "type": "object", | |
| "properties": { | |
| "data": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string" | |
| }, | |
| "id": { | |
| "type": "string" | |
| }, | |
| "slug": { | |
| "type": "string" | |
| }, | |
| "url": { | |
| "type": "string" | |
| }, | |
| "bitly_gif_url": { | |
| "type": "string" | |
| }, | |
| "bitly_url": { | |
| "type": "string" | |
| }, | |
| "embed_url": { | |
| "type": "string" | |
| }, | |
| "username": { | |
| "type": "string" | |
| }, | |
| "source": { | |
| "type": "string" | |
| }, | |
| "rating": { | |
| "type": "string" | |
| }, | |
| "content_url": { | |
| "type": "string" | |
| }, | |
| "source_tld": { | |
| "type": "string" | |
| }, | |
| "source_post_url": { | |
| "type": "string" | |
| }, | |
| "import_datetime": { | |
| "type": "string" | |
| }, | |
| "trending_datetime": { | |
| "type": "string" | |
| }, | |
| "images": { | |
| "type": "object", | |
| "properties": { | |
| "fixed_height": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_downsampled": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_downsampled": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_small": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_small_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_small": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_small_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized_large": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized_medium": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "original": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "frames": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "original_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "looping": { | |
| "type": "object", | |
| "properties": { | |
| "mp4": { | |
| "type": "string" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "meta": { | |
| "type": "object", | |
| "properties": { | |
| "status": { | |
| "type": "integer" | |
| }, | |
| "msg": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "pagination": { | |
| "type": "object", | |
| "properties": { | |
| "count": { | |
| "type": "integer" | |
| }, | |
| "offset": { | |
| "type": "integer" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "examples": { | |
| "application/json": { | |
| "data": [ | |
| { | |
| "type": "gif", | |
| "id": "BjTZqG3QJAWWs", | |
| "slug": "banana-youre-the-scum-of-earth-yippywhippycom-BjTZqG3QJAWWs", | |
| "url": "http://giphy.com/gifs/banana-youre-the-scum-of-earth-yippywhippycom-BjTZqG3QJAWWs", | |
| "bitly_gif_url": "http://gph.is/1quvs3t", | |
| "bitly_url": "http://gph.is/1quvs3t", | |
| "embed_url": "http://giphy.com/embed/BjTZqG3QJAWWs", | |
| "username": "", | |
| "source": "http://tra-nsparent.tumblr.com/post/52161668475/original-image-from-yippywhippy-com", | |
| "rating": "g", | |
| "content_url": "", | |
| "source_tld": "tra-nsparent.tumblr.com", | |
| "source_post_url": "http://tra-nsparent.tumblr.com/post/52161668475/original-image-from-yippywhippy-com", | |
| "import_datetime": "2013-06-04 20:20:33", | |
| "trending_datetime": "2016-02-11 22:10:06", | |
| "images": { | |
| "fixed_height": { | |
| "url": "http://media0.giphy.com/media/BjTZqG3QJAWWs/200.gif", | |
| "width": "189", | |
| "height": "200", | |
| "size": "23172", | |
| "mp4": "http://media0.giphy.com/media/BjTZqG3QJAWWs/200.mp4", | |
| "mp4_size": "22161", | |
| "webp": "http://media0.giphy.com/media/BjTZqG3QJAWWs/200.webp", | |
| "webp_size": "23302" | |
| }, | |
| "fixed_height_still": { | |
| "url": "http://media0.giphy.com/media/BjTZqG3QJAWWs/200_s.gif", | |
| "width": "189", | |
| "height": "200" | |
| }, | |
| "fixed_height_downsampled": { | |
| "url": "http://media0.giphy.com/media/BjTZqG3QJAWWs/200_d.gif", | |
| "width": "189", | |
| "height": "200", | |
| "size": "34016", | |
| "webp": "http://media0.giphy.com/media/BjTZqG3QJAWWs/200_d.webp", | |
| "webp_size": "23302" | |
| }, | |
| "fixed_width": { | |
| "url": "http://media0.giphy.com/media/BjTZqG3QJAWWs/200w.gif", | |
| "width": "200", | |
| "height": "212", | |
| "size": "23881", | |
| "mp4": "http://media0.giphy.com/media/BjTZqG3QJAWWs/200w.mp4", | |
| "mp4_size": "23186", | |
| "webp": "http://media0.giphy.com/media/BjTZqG3QJAWWs/200w.webp", | |
| "webp_size": "24302" | |
| }, | |
| "fixed_width_still": { | |
| "url": "http://media0.giphy.com/media/BjTZqG3QJAWWs/200w_s.gif", | |
| "width": "200", | |
| "height": "212" | |
| }, | |
| "fixed_width_downsampled": { | |
| "url": "http://media0.giphy.com/media/BjTZqG3QJAWWs/200w_d.gif", | |
| "width": "200", | |
| "height": "212", | |
| "size": "35707", | |
| "webp": "http://media0.giphy.com/media/BjTZqG3QJAWWs/200w_d.webp", | |
| "webp_size": "24302" | |
| }, | |
| "fixed_height_small": { | |
| "url": "http://media0.giphy.com/media/BjTZqG3QJAWWs/100.gif", | |
| "width": "94", | |
| "height": "100", | |
| "size": "23172", | |
| "mp4": "http://media0.giphy.com/media/BjTZqG3QJAWWs/100.mp4", | |
| "mp4_size": "9614", | |
| "webp": "http://media0.giphy.com/media/BjTZqG3QJAWWs/100.webp", | |
| "webp_size": "9250" | |
| }, | |
| "fixed_height_small_still": { | |
| "url": "http://media0.giphy.com/media/BjTZqG3QJAWWs/100_s.gif", | |
| "width": "94", | |
| "height": "100" | |
| }, | |
| "fixed_width_small": { | |
| "url": "http://media0.giphy.com/media/BjTZqG3QJAWWs/100w.gif", | |
| "width": "100", | |
| "height": "106", | |
| "size": "23881", | |
| "mp4": "http://media0.giphy.com/media/BjTZqG3QJAWWs/100w.mp4", | |
| "mp4_size": "10751", | |
| "webp": "http://media0.giphy.com/media/BjTZqG3QJAWWs/100w.webp", | |
| "webp_size": "9388" | |
| }, | |
| "fixed_width_small_still": { | |
| "url": "http://media0.giphy.com/media/BjTZqG3QJAWWs/100w_s.gif", | |
| "width": "100", | |
| "height": "106" | |
| }, | |
| "downsized": { | |
| "url": "http://media0.giphy.com/media/BjTZqG3QJAWWs/giphy.gif", | |
| "width": "425", | |
| "height": "450", | |
| "size": "67536" | |
| }, | |
| "downsized_still": { | |
| "url": "http://media0.giphy.com/media/BjTZqG3QJAWWs/giphy_s.gif", | |
| "width": "425", | |
| "height": "450" | |
| }, | |
| "downsized_large": { | |
| "url": "http://media0.giphy.com/media/BjTZqG3QJAWWs/giphy.gif", | |
| "width": "425", | |
| "height": "450", | |
| "size": "67536" | |
| }, | |
| "downsized_medium": { | |
| "url": "http://media0.giphy.com/media/BjTZqG3QJAWWs/giphy.gif", | |
| "width": "425", | |
| "height": "450", | |
| "size": "67536" | |
| }, | |
| "original": { | |
| "url": "http://media0.giphy.com/media/BjTZqG3QJAWWs/giphy.gif", | |
| "width": "425", | |
| "height": "450", | |
| "size": "67536", | |
| "frames": "4", | |
| "mp4": "http://media0.giphy.com/media/BjTZqG3QJAWWs/giphy.mp4", | |
| "mp4_size": "62856", | |
| "webp": "http://media0.giphy.com/media/BjTZqG3QJAWWs/giphy.webp", | |
| "webp_size": "64200" | |
| }, | |
| "original_still": { | |
| "url": "http://media0.giphy.com/media/BjTZqG3QJAWWs/giphy_s.gif", | |
| "width": "425", | |
| "height": "450" | |
| }, | |
| "looping": { | |
| "mp4": "http://media.giphy.com/media/BjTZqG3QJAWWs/giphy-loop.mp4" | |
| } | |
| } | |
| } | |
| ], | |
| "meta": { | |
| "status": 200, | |
| "msg": "OK" | |
| }, | |
| "pagination": { | |
| "count": 4, | |
| "offset": 0 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "security": [ | |
| { | |
| "api_key": [ | |
| ] | |
| } | |
| ] | |
| } | |
| }, | |
| "/stickers/translate": { | |
| "get": { | |
| "operationId": "GET_stickers-translate", | |
| "summary": "Translate", | |
| "tags": [ | |
| "Sticker" | |
| ], | |
| "description": "<p>Using the same alogirithm as the GIF translate endpoint, the sticker translate endpoint turns words into stickers.</p>\n<pre><code>http://api.giphy.com/v1/stickers/translate?s=hungry&api_key=dc6zaTOxFJmzC\n</code></pre>\n<p><a href=\"http://api.giphy.com/v1/stickers/translate?s=hungry&api_key=dc6zaTOxFJmzC\" target=\"_blank\">Example</a> translate query.</p>", | |
| "produces": [ | |
| "application/json" | |
| ], | |
| "parameters": [ | |
| { | |
| "name": "api_key", | |
| "in": "query", | |
| "required": true, | |
| "type": "string", | |
| "default": "dc6zaTOxFJmzC" | |
| }, | |
| { | |
| "name": "s", | |
| "in": "query", | |
| "required": false, | |
| "type": "string" | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "description": "", | |
| "schema": { | |
| "type": "object", | |
| "properties": { | |
| "data": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string" | |
| }, | |
| "id": { | |
| "type": "string" | |
| }, | |
| "slug": { | |
| "type": "string" | |
| }, | |
| "url": { | |
| "type": "string" | |
| }, | |
| "bitly_gif_url": { | |
| "type": "string" | |
| }, | |
| "bitly_url": { | |
| "type": "string" | |
| }, | |
| "embed_url": { | |
| "type": "string" | |
| }, | |
| "username": { | |
| "type": "string" | |
| }, | |
| "source": { | |
| "type": "string" | |
| }, | |
| "rating": { | |
| "type": "string" | |
| }, | |
| "content_url": { | |
| "type": "string" | |
| }, | |
| "source_tld": { | |
| "type": "string" | |
| }, | |
| "source_post_url": { | |
| "type": "string" | |
| }, | |
| "import_datetime": { | |
| "type": "string" | |
| }, | |
| "trending_datetime": { | |
| "type": "string" | |
| }, | |
| "images": { | |
| "type": "object", | |
| "properties": { | |
| "fixed_height": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_downsampled": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_downsampled": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_small": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_height_small_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_small": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "fixed_width_small_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized_large": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "downsized_medium": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "original": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| }, | |
| "size": { | |
| "type": "string" | |
| }, | |
| "frames": { | |
| "type": "string" | |
| }, | |
| "mp4": { | |
| "type": "string" | |
| }, | |
| "mp4_size": { | |
| "type": "string" | |
| }, | |
| "webp": { | |
| "type": "string" | |
| }, | |
| "webp_size": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "original_still": { | |
| "type": "object", | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "width": { | |
| "type": "string" | |
| }, | |
| "height": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "looping": { | |
| "type": "object", | |
| "properties": { | |
| "mp4": { | |
| "type": "string" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "meta": { | |
| "type": "object", | |
| "properties": { | |
| "status": { | |
| "type": "integer" | |
| }, | |
| "msg": { | |
| "type": "string" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "examples": { | |
| "application/json": { | |
| "data": { | |
| "type": "gif", | |
| "id": "9nQVkXlVT06fS", | |
| "slug": "transparent-sushi-9nQVkXlVT06fS", | |
| "url": "http://giphy.com/gifs/transparent-sushi-9nQVkXlVT06fS", | |
| "bitly_gif_url": "http://gph.is/1luxiFF", | |
| "bitly_url": "http://gph.is/1luxiFF", | |
| "embed_url": "http://giphy.com/embed/9nQVkXlVT06fS", | |
| "username": "", | |
| "source": "http://imgarcade.com/1/transparent-sushi-tumblr/", | |
| "rating": "g", | |
| "content_url": "", | |
| "source_tld": "imgarcade.com", | |
| "source_post_url": "http://imgarcade.com/1/transparent-sushi-tumblr/", | |
| "import_datetime": "2014-08-26 20:34:49", | |
| "trending_datetime": "1970-01-01 00:00:00", | |
| "images": { | |
| "fixed_height": { | |
| "url": "http://media1.giphy.com/media/9nQVkXlVT06fS/200.gif", | |
| "width": "200", | |
| "height": "200", | |
| "size": "11480", | |
| "mp4": "http://media1.giphy.com/media/9nQVkXlVT06fS/200.mp4", | |
| "mp4_size": "13655", | |
| "webp": "http://media1.giphy.com/media/9nQVkXlVT06fS/200.webp", | |
| "webp_size": "17970" | |
| }, | |
| "fixed_height_still": { | |
| "url": "http://media1.giphy.com/media/9nQVkXlVT06fS/200_s.gif", | |
| "width": "200", | |
| "height": "200" | |
| }, | |
| "fixed_height_downsampled": { | |
| "url": "http://media1.giphy.com/media/9nQVkXlVT06fS/200_d.gif", | |
| "width": "200", | |
| "height": "200", | |
| "size": "18341", | |
| "webp": "http://media1.giphy.com/media/9nQVkXlVT06fS/200_d.webp", | |
| "webp_size": "17970" | |
| }, | |
| "fixed_width": { | |
| "url": "http://media1.giphy.com/media/9nQVkXlVT06fS/200w.gif", | |
| "width": "200", | |
| "height": "200", | |
| "size": "11480", | |
| "mp4": "http://media1.giphy.com/media/9nQVkXlVT06fS/200w.mp4", | |
| "mp4_size": "13655", | |
| "webp": "http://media1.giphy.com/media/9nQVkXlVT06fS/200w.webp", | |
| "webp_size": "17970" | |
| }, | |
| "fixed_width_still": { | |
| "url": "http://media1.giphy.com/media/9nQVkXlVT06fS/200w_s.gif", | |
| "width": "200", | |
| "height": "200" | |
| }, | |
| "fixed_width_downsampled": { | |
| "url": "http://media1.giphy.com/media/9nQVkXlVT06fS/200w_d.gif", | |
| "width": "200", | |
| "height": "200", | |
| "size": "18341", | |
| "webp": "http://media1.giphy.com/media/9nQVkXlVT06fS/200w_d.webp", | |
| "webp_size": "17970" | |
| }, | |
| "fixed_height_small": { | |
| "url": "http://media1.giphy.com/media/9nQVkXlVT06fS/100.gif", | |
| "width": "100", | |
| "height": "100", | |
| "size": "11480", | |
| "mp4": "http://media1.giphy.com/media/9nQVkXlVT06fS/100.mp4", | |
| "mp4_size": "8052", | |
| "webp": "http://media1.giphy.com/media/9nQVkXlVT06fS/100.webp", | |
| "webp_size": "6736" | |
| }, | |
| "fixed_height_small_still": { | |
| "url": "http://media1.giphy.com/media/9nQVkXlVT06fS/100_s.gif", | |
| "width": "100", | |
| "height": "100" | |
| }, | |
| "fixed_width_small": { | |
| "url": "http://media1.giphy.com/media/9nQVkXlVT06fS/100w.gif", | |
| "width": "100", | |
| "height": "100", | |
| "size": "11480", | |
| "mp4": "http://media1.giphy.com/media/9nQVkXlVT06fS/100w.mp4", | |
| "mp4_size": "8052", | |
| "webp": "http://media1.giphy.com/media/9nQVkXlVT06fS/100w.webp", | |
| "webp_size": "6736" | |
| }, | |
| "fixed_width_small_still": { | |
| "url": "http://media1.giphy.com/media/9nQVkXlVT06fS/100w_s.gif", | |
| "width": "100", | |
| "height": "100" | |
| }, | |
| "downsized": { | |
| "url": "http://media1.giphy.com/media/9nQVkXlVT06fS/giphy.gif", | |
| "width": "500", | |
| "height": "500", | |
| "size": "50438" | |
| }, | |
| "downsized_still": { | |
| "url": "http://media1.giphy.com/media/9nQVkXlVT06fS/giphy_s.gif", | |
| "width": "500", | |
| "height": "500" | |
| }, | |
| "downsized_large": { | |
| "url": "http://media1.giphy.com/media/9nQVkXlVT06fS/giphy.gif", | |
| "width": "500", | |
| "height": "500", | |
| "size": "50438" | |
| }, | |
| "downsized_medium": { | |
| "url": "http://media1.giphy.com/media/9nQVkXlVT06fS/giphy.gif", | |
| "width": "500", | |
| "height": "500", | |
| "size": "50438" | |
| }, | |
| "original": { | |
| "url": "http://media1.giphy.com/media/9nQVkXlVT06fS/giphy.gif", | |
| "width": "500", | |
| "height": "500", | |
| "size": "50438", | |
| "frames": "4", | |
| "mp4": "http://media1.giphy.com/media/9nQVkXlVT06fS/giphy.mp4", | |
| "mp4_size": "27992", | |
| "webp": "http://media1.giphy.com/media/9nQVkXlVT06fS/giphy.webp", | |
| "webp_size": "50234" | |
| }, | |
| "original_still": { | |
| "url": "http://media1.giphy.com/media/9nQVkXlVT06fS/giphy_s.gif", | |
| "width": "500", | |
| "height": "500" | |
| }, | |
| "looping": { | |
| "mp4": "http://media.giphy.com/media/9nQVkXlVT06fS/giphy-loop.mp4" | |
| } | |
| } | |
| }, | |
| "meta": { | |
| "status": 200, | |
| "msg": "OK" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "security": [ | |
| { | |
| "api_key": [ | |
| ] | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| "responses": { | |
| "trait:standardErrors:401": { | |
| "description": "", | |
| "schema": { | |
| "type": "object" | |
| } | |
| }, | |
| "trait:standardErrors:404": { | |
| "description": "", | |
| "schema": { | |
| "type": "object", | |
| "properties": { | |
| "foo": { | |
| "type": "string" | |
| }, | |
| "bar": { | |
| "type": "string" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "definitions": { | |
| "shared-user": { | |
| "title": "Shared User", | |
| "type": "object", | |
| "properties": { | |
| "username": { | |
| "type": "string" | |
| }, | |
| "": { | |
| "type": "string" | |
| } | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment