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

Apps

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

All groups

List published apps. Query: ?q=&page=&limit= (max 100)

GET/apps

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

Parameters

NameTypeDescription
qstring, queryAt most 100 characters.
pagenumber, queryMinimum 1.
limitnumber, queryMinimum 1, maximum 100.

Response

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

Get an app by id

GET/apps/{id}

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

Parameters

NameTypeDescription
idrequiredstring, path

Response

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

An app's reviews, newest first, with its average rating

GET/apps/{id}/reviews

Public: no sign-in needed.

Parameters

NameTypeDescription
idrequiredstring, path
pagerequiredstring, query
limitrequiredstring, query

Response

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

Rate and review an app (1–5). Only managers of a channel that runs it; one review per person, replaced on repeat

POST/apps/{id}/reviews

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

Parameters

NameTypeDescription
idrequiredstring, path

Request body application/json

FieldTypeDescription
ratingrequirednumberMinimum 1, maximum 5.
titlestringAt most 120 characters.
textstringAt most 2000 characters.

Response

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

Delete your review of an app

DELETE/apps/{id}/reviews

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

Parameters

NameTypeDescription
idrequiredstring, path

Response

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

List apps installed on a channel: ?channel_id=, else x-ref, else your token's channel. Only a channel you can read: a live channel, or one you manage

GET/apps/channel

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

Parameters

NameTypeDescription
channel_idstring, queryThe channel to read (UUID)
x-refstring, header

Response

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

Install an app into a channel you manage (body channel_id, else your token's channel)

POST/apps/channel

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

Request body application/json

FieldTypeDescription
app_idrequiredstringId of the app to link to the channel
channel_idstringChannel to install into. Defaults to the channel in your token; you must manage it.
plan_idstringPlan to buy (GET /billing/plans). Required for apps sold on plans; billed daily to the channel's business.

Response

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

Uninstall an app from a channel (link archived, not deleted)

DELETE/apps/channel/{channelId}/{appId}

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

Parameters

NameTypeDescription
channelIdrequiredstring, path
appIdrequiredstring, path

Response

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

Which channel roles can use an installed app

GET/apps/channel/{channelId}/{appId}/access

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

Parameters

NameTypeDescription
appIdrequiredstring, path

Response

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

Set the channel roles that can use an installed app (others lose access)

PUT/apps/channel/{channelId}/{appId}/access

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

Parameters

NameTypeDescription
appIdrequiredstring, path

Request body application/json

FieldTypeDescription
role_idsrequiredstring[]Channel roles that may use the app. Roles not listed lose access.

Response

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