Endpoints
Links
Operations around Links management.
Endpoints
GET /api/links#
Returns all user links.
Parameters
| Parameter | Type | Description |
|---|---|---|
search | string | (optional) Search text. |
page | number | (optional, default 1) Determines page. |
pageSize | number | (optional) Determines how many results to return. |
Sample response
POST /api/links#
Creates a link.
Parameters
| Parameter | Type | Description |
|---|---|---|
name | string | The link's name. |
url | string | The link's destination URL. |
slug | string | The link's URL slug (minimum 8 characters). |
teamId | string | (optional) The ID of the team the link will be created under. |
Request body
Sample response
GET /api/links/:linkId#
Gets a link by ID.
Sample response
POST /api/links/:linkId#
Updates a link.
Parameters
| Parameter | Type | Description |
|---|---|---|
name | string | (optional) The link's name. |
url | string | (optional) The link's destination URL. |
slug | string | (optional) The link's URL slug (minimum 8 characters). |
Request body
Sample response
DELETE /api/links/:linkId#
Deletes a link.
Sample response