GET/organizations/{orgId}/crew/attributes
Lists the organization's crew attribute library: each attribute's name, type and options. Archived attributes are left out unless includeArchived is true.
Use it for the attribute ids that type sections and crew values take. Needs Crew.View at the organization.
Path Parameters
| Field | Type | Required | Description |
|---|
| orgId | uuid | Required | |
Query Parameters
| Field | Type | Required | Description |
|---|
| includeArchived | boolean | Optional | |
Response
Type: GetCrewAttributesResponse[]
GetCrewAttributesResponse
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| fieldClassId | uuid| null | |
| type | string| null | |
| isArchived | boolean | |
| useCases | string[]| null | |
| hasExpiration | boolean | |
| options | GetCrewAttributesResponseAttributeOptionInfo[]| null | |
| availability | GetCrewAttributesResponseAvailabilityInfo | |
| aiFill | GetEventAttributeAiFillResponse | |
GetCrewAttributesResponseAttributeOptionInfo
| Field | Type | Description |
|---|
| id | uuid | |
| label | string| null | |
| isArchived | boolean | |
| type | string| null | |
| value | string| null | |
| color | string| null | |
| icon | string| null | |
GetCrewAttributesResponseAvailabilityInfo
| Field | Type | Description |
|---|
| recordIds | uuid[]| null | |
GetEventAttributeAiFillResponse
| Field | Type | Description |
|---|
| instructions | string| null | |
| tags | GetEventAttributeAiFillResponseTag[]| null | |
| triggers | GetEventAttributeAiFillResponseTrigger[]| null | |
GetEventAttributeAiFillResponseTag
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
GetEventAttributeAiFillResponseTrigger
| Field | Type | Description |
|---|
| kind | string| null | |
| attributeId | uuid| null | |
| corePath | string| null | |