IssuesIssue schemas
List issue schemas
GET
In the order they were created, with their fields and categories. Deleted schemas that deleted issues still use are included, with deletedAt set.
Who may call it: Anyone on the project. API keys: yes, given issue.read for this project.
cookie
gamma.session_token<token>The session cookie a sign-in sets. Over HTTPS its name carries the __Secure- prefix. Browsers send it on their own; other clients keep it from the sign-in response.
projectId*stringThe project's id.
OK.
application/json- response
schemas*array<>Example Request
curl -X GET 'http://localhost:3000/api/projects/string/issue-schemas'Example Response
{ "schemas": [ { "id": "string", "projectId": "string", "name": "string", "description": "string", "fields": [ { "id": "string", "schemaId": "string", "label": "string", "type": "text", "options": [ "string" ], "statuses": [ { "name": "string", "colorHex": "string", "completion": "notStarted" } ], "choices": null, "multiple": true, "scope": "members", "role": "status", "position": -9007199254740991 } ], "categories": [ { "id": "string", "schemaId": "string", "parentId": "string", "name": "string", "requiredFieldIds": [ "string" ] } ], "issueCount": -9007199254740991, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "deletedAt": "2019-08-24T14:15:22Z" } ]}