Library

Add a fringe group to a project

Add a workspace Fringe Group to a project. Adding it again keeps project edits. Use reset=true to restore workspace values.

post/projects/{projectId}/library/fringe-groups

Request

  • Base URL: https://next-api.saturation.io/v1
  • URL: https://next-api.saturation.io/v1/projects/{projectId}/library/fringe-groups
  • Auth: HTTP bearer

Path parameters

projectIdstring required

Project ID or slug.

Query parameters

resetboolean

Restore workspace values and replace project edits.

Request body

sourceIdstring required

A stable resource ID, such as prj_…, txn_…, or doc_….

Example request

{
  "sourceId": "txn_8f2a1c9e"
}

Response

The existing project Fringe Group.

idstring required

A stable resource ID, such as prj_…, txn_…, or doc_….

namestring required
color'slate' | 'gray' | 'zinc' | 'red' | 'orange' | 'amber' | 'yellow' | 'lime' | 'green' | 'emerald' | 'teal' | 'cyan' | 'sky' | 'blue' | 'indigo' | 'violet' | 'purple' | 'pink' | 'rose' | 'null' nullable

Display color for a tag, or null for the default color.

sourceType'workspace' | 'saturation' required

Where the project Library item came from.

sourceIdstring

A stable resource ID, such as prj_…, txn_…, or doc_….

Example response

{
  "id": "txn_8f2a1c9e",
  "sourceId": "txn_8f2a1c9e",
  "source": {
    "id": "txn_8f2a1c9e"
  }
}

Changes

No recorded changes to this operation across all 4 revisions of this API.