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

Post gifts

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

All groups

Send

POST/post-gifts

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

Send a catalog gift on a post (NEW row every time).

Parameters

NameTypeDescription
Idempotency-Keystring, headerOptional client-generated key (8-128 chars, [A-Za-z0-9_-]). A retry with the same key and body replays the first response (Idempotent-Replayed: true); 409 while the first is in flight; 422 if the body differs.

Request body application/json

FieldTypeDescription
post_idrequirednumberMinimum 1.
gift_idrequirednumberMinimum 1.

Response

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

Get one

GET/post-gifts/{id}

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

One transaction (sender or recipient).

Parameters

NameTypeDescription
idrequirednumber, path

Response

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

List by post

GET/post-gifts/post/{postId}

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

All gifts sent on a post (detailed, each with catalog detail).

Parameters

NameTypeDescription
postIdrequirednumber, path
pagenumber, queryMinimum 1.
limitnumber, queryMinimum 1.

Response

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

Post summary

GET/post-gifts/post/{postId}/summary

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

A post's gift total and count (the feed bridge; no rows embedded).

Parameters

NameTypeDescription
postIdrequirednumber, path

Response

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

Received

GET/post-gifts/received

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

Gifts I received (+ total received).

Parameters

NameTypeDescription
pagenumber, queryMinimum 1.
limitnumber, queryMinimum 1.

Response

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

Sent

GET/post-gifts/sent

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

Gifts I sent.

Parameters

NameTypeDescription
pagenumber, queryMinimum 1.
limitnumber, queryMinimum 1.

Response

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