Module: group_headers
Copyright 2020 Parsable, Inc
API address: /api/group_headers
Data structures
Struct: EquipmentIcon
Key | Field | Type | Description | Requiredness | Default value |
1 | id | string | unique identifier for the icon
| default | |
2 | iconDocument | document.Document | | default | |
3 | descrip | string | | default | |
200 | latestChange | diff.Change | | optional | |
An equipment icon for a tool/PPE needed
Struct: NoticeIcon
Key | Field | Type | Description | Requiredness | Default value |
1 | id | string | unique identifier for the icon
| default | |
2 | iconDocument | document.Document | | default | |
3 | descrip | string | | default | |
Icon for notice header
Struct: IconDiff
Key | Field | Type | Description | Requiredness | Default value |
1 | latestChange | diff.Change | | default | |
10 | otherIcon | NoticeIcon | | optional | |
Key | Field | Type | Description | Requiredness | Default value |
1 | id | string | unique identifier for this notice including description
| default | |
2 | icon | NoticeIcon | | default | |
3 | descrip | string | deprecated, use descripWrapper
| default | |
4 | descripWrapper | reference.StringWrapper | | optional | |
100 | descriptionDiff | diff.StringDiff | | optional | |
101 | iconDiff | IconDiff | | optional | |
200 | latestChange | diff.Change | | optional | |
A notice represents a message at the top of a step group containing a standard icon
and a description.
Struct: StepGroupCategory
Key | Field | Type | Description | Requiredness | Default value |
1 | id | string | | default | |
2 | name | string | | default | |
3 | color | string | 6-digit hex RGB value w/ '#', e.g. #ff5599
| default | |
4 | archivedAt | i64 | | default | |
A step group category contains a color and name
Struct: StepGroupCategoryParams
Key | Field | Type | Description | Requiredness | Default value |
1 | name | string | | optional | |
2 | color | string | 6-digit hex RGB value w/ '#', e.g. #ff5599
| optional | |
Step group header contains the set of headers for a step group
Services
list<EquipmentIcon
>
indexEquipment(string
teamId)
Get a list of all valid equipment icons for a team
list<NoticeIcon
>
indexNoticeIcons(string
teamId)
Get a list of all valid notice icons for a team
list<StepGroupCategory
>
indexCategories(string
teamId)
Get a list of all valid categories for a team
void
archiveCategory(string
teamId,
string
categoryId)
throws common.SystemException
Archive a step group category
void
unarchiveCategory(string
teamId,
string
categoryId)
throws common.SystemException
Unarchive a step group category