GET/crew/types/{typeId}
Returns one crew type with its sections in order and each section's attributes: the definition and options, and whether the attribute is required, visible to
the crew member and editable by them. typeId comes from Crew_GetCrewTypes. Needs CrewDatabase.Read.
Path Parameters
| Field | Type | Required | Description |
|---|
| typeId | uuid | Required | |
Response
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| icon | string| null | |
| color | string| null | |
| isArchived | boolean | |
| index | integer | |
| sections | GetCrewTypeResponseSectionInfo[]| null | |
GetCrewTypeResponseSectionInfo
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| index | integer | |
| attributes | GetCrewTypeResponseAttributeAssignmentInfo[]| null | |
GetCrewTypeResponseAttributeAssignmentInfo
| Field | Type | Description |
|---|
| crewAttributeId | uuid | |
| name | string| null | |
| type | string| null | |
| options | GetCrewTypeResponseOptionInfo[]| null | |
| isRequired | boolean | |
| isCrewVisible | boolean | |
| isCrewEditable | boolean | |
| index | integer | |
GetCrewTypeResponseOptionInfo
| Field | Type | Description |
|---|
| id | uuid | |
| label | string| null | |
| type | string| null | |
| value | string| null | |