v1

latestOpenAPI 3.0.02026-07-267316.2 KB
Project

Retrieve the list of styles defined for the project (scope: styles.read)

get/workspace/{workspace-id}/project/{project-id}/styles

Path parameters

workspace-idstring required

The identifier for the workspace

project-idstring required

The identifier for the project in the workspace

Response

The list of styles was retrieved successfully

workspacestring required

The workspace id (matches the workspace-id sent with the request)

projectstring required

The project id (matches the project-id sent with the request)

Example response

{
  "workspace": "z3plqkvf52r",
  "project": "3e95a13e7f1",
  "colors": [
    {
      "id": "strong-blue",
      "name": "Strong Blue",
      "rgb": "0,102,204",
      "cmyk": "100,50,0,20",
      "hex": "#0066CC",
      "pms": "300 C",
      "pms2": "2935 U"
    }
  ],
  "types": [
    {
      "id": "body-small",
      "name": "Body Small",
      "family": "font-sohne-buch",
      "size": 14,
      "leading": 20,
      "casing": "none",
      "responsive": true
    }
  ]
}