Preview. This site is still being built. Features, prices and terms may change, and nothing here is a binding offer. Read the preview notice

Preview. Still being built; nothing here is a binding offer. Details

GIFs

5 routes. Paths are relative to https://api.intersink.com/v1.

All groups

The channel's GIF settings (the API key is never returned, only whether it is set)

GET/gifs/channels/{channelId}/settings

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
channelIdrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

Set the channel's Giphy key, on/off and ratings ("" clears)

PUT/gifs/channels/{channelId}/settings

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
channelIdrequiredstring, path

Request body application/json

FieldTypeDescription
giphy_api_keystringThe channel's Giphy API key (write-only; "" removes it) At most 128 characters.
enabledbooleanTurn GIFs on or off for the channel (default on)
ratingstringDefault rating (default pg-13; "" resets) One of: "g", "pg", "pg-13", "r", "".
max_ratingstringHighest rating any request may get (default pg-13; "" resets) One of: "g", "pg", "pg-13", "r", "".
hourly_quotanumberProvider calls per rolling hour before answers come only from cache (default 80; null resets) Minimum 1, maximum 1000000.

Response

200. The payload in data is not described in the spec yet.

A GIF or MP4 from a proxy_media link (signed for one channel, expires)

GET/gifs/media/{id}/{file}

Public: no sign-in needed.

Supports one byte range (Range: bytes=a-b), answered 206 with Content-Range, so video players can seek.

Parameters

NameTypeDescription
idrequiredstring, path
filerequiredstring, path
crequiredstring, queryChannel the link was made for, as given in the link Checked by the server against /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.
erequiredstring, queryExpiry (unix seconds), as given in the link
srequiredstring, querySignature, as given in the link

Response

200. The payload in data is not described in the spec yet.