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

Groups

11 routes. Paths are relative to https://api.intersink.com/v1. This group belongs to a feature in beta.

All groups

Groups of the channel (?q=, ?mine=1, ?invited=1 for your open invitations, ?page=)

GET/groups

Public: no sign-in needed.

Parameters

NameTypeDescription
x-refstring, header

Response

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

Create a group: { title, description?, privacy: public|private, place? }

POST/groups

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

Parameters

NameTypeDescription
x-refstring, header

Response

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

A group, with your membership

GET/groups/{id}

Public: no sign-in needed.

Parameters

NameTypeDescription
idrequiredstring, path
active_profile_idrequiredstring, query
x-refstring, header

Response

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

Edit a group (owner or admins)

PATCH/groups/{id}

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

Parameters

NameTypeDescription
idrequiredstring, path
x-refstring, header

Response

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

Delete a group (owner; archived, posts kept)

DELETE/groups/{id}

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

Parameters

NameTypeDescription
idrequiredstring, path
active_profile_idrequiredstring, query
x-refstring, header

Response

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

Invite a profile of this channel: { profile_id } (members of a public group; admins of a private one)

POST/groups/{id}/invites

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

Parameters

NameTypeDescription
idrequiredstring, path
x-refstring, header

Response

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

Join (public: at once; private: asks the admins) or accept an invitation

POST/groups/{id}/join

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

Parameters

NameTypeDescription
idrequiredstring, path
active_profile_idrequiredstring, query
x-refstring, header

Response

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

Members (admins may ask ?status=pending|banned|invited)

GET/groups/{id}/members

Public: no sign-in needed.

Parameters

NameTypeDescription
idrequiredstring, path
x-refstring, header

Response

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

Approve, ban or unban ({status}); make admin or member, or hand over ownership ({role})

PATCH/groups/{id}/members/{profileId}

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

Parameters

NameTypeDescription
idrequiredstring, path
profileIdrequiredstring, path
x-refstring, header

Response

200. The payload in data is of type object.

Leave a group, cancel a join request or decline an invitation

DELETE/groups/{id}/members/me

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

Parameters

NameTypeDescription
idrequiredstring, path
active_profile_idrequiredstring, query
x-refstring, header

Response

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

The group's posts, newest first (members only for private groups)

GET/groups/{id}/posts

Public: no sign-in needed.

Parameters

NameTypeDescription
idrequiredstring, path
x-refstring, header

Response

200. data is object[].