{ "opencollection": "1.0.0", "info": { "name": "Zeplin Authorization Colors API", "version": "1.38.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Colors", "type": "folder" }, "items": [ { "info": { "name": "Get project colors", "type": "http" }, "http": { "method": "GET", "url": "https://api.zeplin.dev/v1/projects/:project_id/colors", "params": [ { "name": "project_id", "value": "", "type": "path", "description": "Project id" }, { "name": "limit", "value": "", "type": "query", "description": "Pagination limit" }, { "name": "offset", "value": "", "type": "query", "description": "Pagination offset" }, { "name": "include_linked_styleguides", "value": "", "type": "query", "description": "Whether to include linked styleguides or not" } ] }, "docs": "This endpoint returns all of the colors in a project.\n\nYou need to be a member of the project or a member of the organization that owns the project. Returns `Not Found` response otherwise.\n" }, { "info": { "name": "Create project color", "type": "http" }, "http": { "method": "POST", "url": "https://api.zeplin.dev/v1/projects/:project_id/colors", "params": [ { "name": "project_id", "value": "", "type": "path", "description": "Project id" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a color in the project's local styleguide" }, { "info": { "name": "Update project color", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.zeplin.dev/v1/projects/:project_id/colors:color_id", "params": [ { "name": "project_id", "value": "", "type": "path", "description": "Project id" }, { "name": "color_id", "value": "", "type": "path", "description": "Color id" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a color in the project's local styleguide" }, { "info": { "name": "Get styleguide colors", "type": "http" }, "http": { "method": "GET", "url": "https://api.zeplin.dev/v1/styleguides/:styleguide_id/colors", "params": [ { "name": "styleguide_id", "value": "", "type": "path", "description": "Styleguide id" }, { "name": "limit", "value": "", "type": "query", "description": "Pagination limit" }, { "name": "offset", "value": "", "type": "query", "description": "Pagination offset" }, { "name": "linked_project", "value": "", "type": "query", "description": "Reference project id" }, { "name": "linked_styleguide", "value": "", "type": "query", "description": "Reference styleguide id" }, { "name": "include_linked_styleguides", "value": "", "type": "query", "description": "Whether to include linked styleguides or not" } ] }, "docs": "Returns colors in a styleguide that user has access.\n\nSee [Styleguide docs](#getstyleguide) for more details about how `linked_project` and `linked_styleguide` parameters can be used to retrieve resources from styleguides that user is eligible to access.\n" }, { "info": { "name": "Create styleguide color", "type": "http" }, "http": { "method": "POST", "url": "https://api.zeplin.dev/v1/styleguides/:styleguide_id/colors", "params": [ { "name": "styleguide_id", "value": "", "type": "path", "description": "Styleguide id" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a color in the styleguide's local styleguide" }, { "info": { "name": "Update styleguide color", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.zeplin.dev/v1/styleguides/:styleguide_id/colors/:color_id", "params": [ { "name": "styleguide_id", "value": "", "type": "path", "description": "Styleguide id" }, { "name": "color_id", "value": "", "type": "path", "description": "Color id" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a color in the styleguide" } ] } ], "bundled": true }