openapi: 3.2.0 info: title: Mitti Investigations API version: v1.349.8 contact: name: Mitti Support url: https://help.mitti.com email: support@mitti.com servers: - url: https://api.mitti.com security: - BearerAuthentication: [] tags: - name: Investigations paths: /incidents/v1/categories: get: summary: List Categories operationId: InvestigationsService_ListCategories responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.ListCategoriesResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' tags: - Investigations post: summary: Create Category operationId: InvestigationsService_CreateCategory responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.CreateCategoryResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' requestBody: content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.CreateCategoryRequest' required: true tags: - Investigations /incidents/v1/categories/{category_id}: delete: summary: Delete Category operationId: InvestigationsService_DeleteCategory responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.DeleteCategoryResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' parameters: - name: category_id description: required. Category ID to delete in: path required: true schema: type: string tags: - Investigations put: summary: Update Category operationId: InvestigationsService_UpdateCategory responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.UpdateCategoryResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' parameters: - name: category_id description: required. the category to edit in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.InvestigationsService.UpdateCategoryBody' required: true tags: - Investigations /incidents/v1/categories/{category_id}/clone: post: summary: Clone Category operationId: InvestigationsService_CloneCategory responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.CloneCategoryResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' parameters: - name: category_id description: optional. the category ID to clone in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.InvestigationsService.CloneCategoryBody' required: true tags: - Investigations /incidents/v1/categories/{category_id}/detail-fields: get: summary: List Category Detail Fields operationId: InvestigationsService_ListCategoryDetailFields responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.ListCategoryDetailFieldsResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' parameters: - name: category_id description: the category id in: path required: true schema: type: string tags: - Investigations put: summary: Set Category Detail Fields operationId: InvestigationsService_SetCategoryDetailFields responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.SetCategoryDetailFieldsResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' parameters: - name: category_id description: the category id in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.InvestigationsService.SetCategoryDetailFieldsBody' required: true tags: - Investigations /incidents/v1/detail-fields: post: summary: Create Detail Field operationId: InvestigationsService_CreateDetailField responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.CreateDetailFieldResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' requestBody: content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.CreateDetailFieldRequest' required: true tags: - Investigations /incidents/v1/detail-fields/{field_id}: delete: summary: Delete Detail Field operationId: InvestigationsService_DeleteDetailField responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.DeleteDetailFieldResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' parameters: - name: field_id description: the detail field id in: path required: true schema: type: string tags: - Investigations put: summary: Rename Detail Field operationId: InvestigationsService_RenameDetailField responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.RenameDetailFieldResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' parameters: - name: field_id description: the detail field id in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.InvestigationsService.RenameDetailFieldBody' required: true tags: - Investigations /incidents/v1/detail-fields/{field_id}/options: put: summary: Set Detail Field Options operationId: InvestigationsService_SetDetailFieldOptions responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.SetDetailFieldOptionsResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' parameters: - name: field_id description: the detail field id in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.InvestigationsService.SetDetailFieldOptionsBody' required: true tags: - Investigations /incidents/v1/field-library: get: summary: List Detail Field Library operationId: InvestigationsService_ListDetailFieldLibrary responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.ListDetailFieldLibraryResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' parameters: - name: criteria.filter.search description: Search on a field's name in: query required: false schema: type: string - name: criteria.filter.category description: "Search on a field's category\n\n - FIELD_CATEGORY_UNSPECIFIED: Field category Unspecified.\n - FIELD_CATEGORY_SYSTEM_FIELD: Field category pre-defined.\n - FIELD_CATEGORY_CUSTOM_FIELD: Field category custom." in: query required: false schema: type: string enum: - FIELD_CATEGORY_UNSPECIFIED - FIELD_CATEGORY_SYSTEM_FIELD - FIELD_CATEGORY_CUSTOM_FIELD default: FIELD_CATEGORY_UNSPECIFIED - name: criteria.filter.field_ids description: Search on a field's ids in: query required: false explode: true schema: type: array items: type: string - name: criteria.filter.created_by description: Filter by creator user IDs in: query required: false explode: true schema: type: array items: type: string - name: criteria.filter.field_types description: "Filter by field value types\n\n - FIELD_VALUE_TYPE_UNSPECIFIED: Field value type unspecified.\n - FIELD_VALUE_TYPE_STRING: Field value type string.\n - FIELD_VALUE_TYPE_MONEY: Field value type money.\n - FIELD_VALUE_TYPE_TIMESTAMP: Field value type timestamp.\n - FIELD_VALUE_TYPE_USER_ID: Field value type user ID.\n - FIELD_VALUE_TYPE_SELECT: Field value type select\n - FIELD_VALUE_TYPE_TEMPLATE_ID: Field value type template ID.\n - FIELD_VALUE_TYPE_MULTI_SELECT: Field value type multi-select\n - FIELD_VALUE_TYPE_SITE: Field value type site\n - FIELD_VALUE_TYPE_MULTI_SITE: Field value type multi-site\n - FIELD_VALUE_TYPE_INTEGER: Field value type integer\n - FIELD_VALUE_TYPE_ADDRESS: Field value type address.\n - FIELD_VALUE_TYPE_TIMEZONE: Field value type timezone\n - FIELD_VALUE_TYPE_CONTACT_DETAILS: Field value type contact details" in: query required: false explode: true schema: type: array items: type: string enum: - FIELD_VALUE_TYPE_UNSPECIFIED - FIELD_VALUE_TYPE_STRING - FIELD_VALUE_TYPE_MONEY - FIELD_VALUE_TYPE_TIMESTAMP - FIELD_VALUE_TYPE_USER_ID - FIELD_VALUE_TYPE_SELECT - FIELD_VALUE_TYPE_TEMPLATE_ID - FIELD_VALUE_TYPE_MULTI_SELECT - FIELD_VALUE_TYPE_SITE - FIELD_VALUE_TYPE_MULTI_SITE - FIELD_VALUE_TYPE_INTEGER - FIELD_VALUE_TYPE_ADDRESS - FIELD_VALUE_TYPE_TIMEZONE - FIELD_VALUE_TYPE_CONTACT_DETAILS - name: criteria.filter.applies_to description: Filter by targets that the field applies to in: query required: false explode: true schema: type: array items: type: string - name: criteria.filter.state description: "Optional. Filter by field state. When not set, defaults to FIELD_STATE_UNSPECIFIED.\n\n - FIELD_STATE_UNSPECIFIED: Field state unspecified.\n - FIELD_STATE_ACTIVE: Field is active.\n - FIELD_STATE_DELETED: Field is deleted.\n - FIELD_STATE_ARCHIVED: Field is archived and no longer active, but not deleted. Cannot be applied to system fields." in: query required: false schema: type: string enum: - FIELD_STATE_UNSPECIFIED - FIELD_STATE_ACTIVE - FIELD_STATE_DELETED - FIELD_STATE_ARCHIVED default: FIELD_STATE_UNSPECIFIED - name: criteria.filter.mapping_metadata[string] description: This is a request variable of the map type. The query format is "map_name[key]=value", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age["bob"]=18 in: query required: false schema: type: string - name: criteria.option_sort description: "Optional. Defines sorting for field option labels on returned field objects.\n\n - FIELD_OPTION_SORT_UNSPECIFIED: Unspecified sort order.\n - FIELD_OPTION_SORT_ALPHABETICAL: Alphabetical sort order (default).\n - FIELD_OPTION_SORT_CUSTOM: Custom sort order (as defined by the user)." in: query required: false schema: type: string enum: - FIELD_OPTION_SORT_UNSPECIFIED - FIELD_OPTION_SORT_ALPHABETICAL - FIELD_OPTION_SORT_CUSTOM default: FIELD_OPTION_SORT_UNSPECIFIED - name: criteria.sort_field description: "Optional. The field to use for sorting.\n\n - SORT_FIELD_UNSPECIFIED: `SORT_FIELD_UNSPECIFIED` returns the default sort order.\n - SORT_FIELD_NAME: `SORT_FIELD_NAME` sorts fields by name.\n - SORT_FIELD_CREATED_AT: `SORT_FIELD_CREATED_AT` sorts fields by creation time." in: query required: false schema: type: string enum: - SORT_FIELD_UNSPECIFIED - SORT_FIELD_NAME - SORT_FIELD_CREATED_AT default: SORT_FIELD_UNSPECIFIED - name: criteria.sort_direction description: Optional. The direction to sort fields in. in: query required: false schema: type: string enum: - SORT_DIRECTION_UNSPECIFIED - SORT_DIRECTION_ASC - SORT_DIRECTION_DESC default: SORT_DIRECTION_UNSPECIFIED tags: - Investigations /incidents/v1/fields: get: summary: List Fields operationId: InvestigationsService_ListFields responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.ListFieldsResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' parameters: - name: category_id description: required. The category to list fields for in: query required: false schema: type: string tags: - Investigations put: summary: Update Fields operationId: InvestigationsService_UpdateFields responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.UpdateFieldsResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' requestBody: content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.UpdateFieldsRequest' required: true tags: - Investigations /incidents/v1/investigations: post: summary: Create Investigation operationId: InvestigationsService_CreateInvestigation responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.CreateInvestigationResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' requestBody: content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.CreateInvestigationRequest' required: true tags: - Investigations get: summary: List Investigations operationId: InvestigationsService_ListInvestigations responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.ListInvestigationsResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' parameters: - name: search description: optional. a string to match results against in: query required: false schema: type: string - name: filters.investigation_ids.values description: list of values that should match in: query required: false explode: true schema: type: array items: type: string - name: filters.status_ids.values description: list of values that should match in: query required: false explode: true schema: type: array items: type: string - name: filters.site_ids.values description: list of values that should match in: query required: false explode: true schema: type: array items: type: string - name: filters.title.term description: The term to search for in: query required: false schema: type: string - name: filters.title.match_behaviour description: "Optional. The matching behaviour of this term\n\n - MatchBehaviourPartial: Partially match the term\n - MatchBehaviourExact: Exactly match the term" in: query required: false schema: type: string enum: - MatchBehaviourPartial - MatchBehaviourExact default: MatchBehaviourUnknown - name: filters.description.term description: The term to search for in: query required: false schema: type: string - name: filters.description.match_behaviour description: "Optional. The matching behaviour of this term\n\n - MatchBehaviourPartial: Partially match the term\n - MatchBehaviourExact: Exactly match the term" in: query required: false schema: type: string enum: - MatchBehaviourPartial - MatchBehaviourExact default: MatchBehaviourUnknown - name: filters.created_at.from description: 'Optional. The start point for the filter. if not specified, the from component of the range will not apply' in: query required: false schema: type: string format: date-time - name: filters.created_at.to description: 'Optional. The end point for the filter. if not specified, the to component of the range will not apply' in: query required: false schema: type: string format: date-time - name: filters.modified_at.from description: 'Optional. The start point for the filter. if not specified, the from component of the range will not apply' in: query required: false schema: type: string format: date-time - name: filters.modified_at.to description: 'Optional. The end point for the filter. if not specified, the to component of the range will not apply' in: query required: false schema: type: string format: date-time - name: filters.created_by.values description: list of values that should match in: query required: false explode: true schema: type: array items: type: string - name: filters.owned_by.values description: list of values that should match in: query required: false explode: true schema: type: array items: type: string - name: filters.linked_issue_ids.values description: list of values that should match in: query required: false explode: true schema: type: array items: type: string - name: filters.linked_action_ids.values description: list of values that should match in: query required: false explode: true schema: type: array items: type: string - name: filters.linked_inspection_ids.values description: list of values that should match in: query required: false explode: true schema: type: array items: type: string - name: filters.category_ids.values description: list of values that should match in: query required: false explode: true schema: type: array items: type: string - name: sort.field description: "optional. the field to sort by\n\n - InvestigationsSortFieldCreatedAt: created sort field\n - InvestigationsSortFieldModifiedAt: modified at sort field\n - InvestigationsSortFieldTitle: title sort field\n - InvestigationsSortFieldStatus: status sort field\n - InvestigationsSortFieldUniqueID: unique ID sort field\n - InvestigationsSortFieldCategoryName: category name sort field" in: query required: false schema: type: string enum: - InvestigationsSortFieldCreatedAt - InvestigationsSortFieldModifiedAt - InvestigationsSortFieldTitle - InvestigationsSortFieldStatus - InvestigationsSortFieldUniqueID - InvestigationsSortFieldCategoryName default: InvestigationsSortFieldUnknown - name: sort.order description: "optional. the order to sort results\n\n - InvestigationsSortOrderAsc: ascending sort order\n - InvestigationsSortOrderDesc: descending sort order" in: query required: false schema: type: string enum: - InvestigationsSortOrderAsc - InvestigationsSortOrderDesc default: InvestigationsSortOrderUnknown - name: page_size description: required. The number of results to return in: query required: true schema: type: integer format: int32 - name: page_token description: optional. next page token from a previous response to continue fetching further results in: query required: false schema: type: string tags: - Investigations put: summary: Update Investigations (bulk) operationId: InvestigationsService_UpdateInvestigations responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.UpdateInvestigationsResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' requestBody: content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.UpdateInvestigationsRequest' required: true tags: - Investigations /incidents/v1/investigations/count: get: summary: Get Investigations Count operationId: InvestigationsService_GetInvestigationsCount responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.GetInvestigationsCountResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' parameters: - name: search description: optional. a string to match results against in: query required: false schema: type: string - name: filters.investigation_ids.values description: list of values that should match in: query required: false explode: true schema: type: array items: type: string - name: filters.status_ids.values description: list of values that should match in: query required: false explode: true schema: type: array items: type: string - name: filters.site_ids.values description: list of values that should match in: query required: false explode: true schema: type: array items: type: string - name: filters.title.term description: The term to search for in: query required: false schema: type: string - name: filters.title.match_behaviour description: "Optional. The matching behaviour of this term\n\n - MatchBehaviourPartial: Partially match the term\n - MatchBehaviourExact: Exactly match the term" in: query required: false schema: type: string enum: - MatchBehaviourPartial - MatchBehaviourExact default: MatchBehaviourUnknown - name: filters.description.term description: The term to search for in: query required: false schema: type: string - name: filters.description.match_behaviour description: "Optional. The matching behaviour of this term\n\n - MatchBehaviourPartial: Partially match the term\n - MatchBehaviourExact: Exactly match the term" in: query required: false schema: type: string enum: - MatchBehaviourPartial - MatchBehaviourExact default: MatchBehaviourUnknown - name: filters.created_at.from description: 'Optional. The start point for the filter. if not specified, the from component of the range will not apply' in: query required: false schema: type: string format: date-time - name: filters.created_at.to description: 'Optional. The end point for the filter. if not specified, the to component of the range will not apply' in: query required: false schema: type: string format: date-time - name: filters.modified_at.from description: 'Optional. The start point for the filter. if not specified, the from component of the range will not apply' in: query required: false schema: type: string format: date-time - name: filters.modified_at.to description: 'Optional. The end point for the filter. if not specified, the to component of the range will not apply' in: query required: false schema: type: string format: date-time - name: filters.created_by.values description: list of values that should match in: query required: false explode: true schema: type: array items: type: string - name: filters.owned_by.values description: list of values that should match in: query required: false explode: true schema: type: array items: type: string - name: filters.linked_issue_ids.values description: list of values that should match in: query required: false explode: true schema: type: array items: type: string - name: filters.linked_action_ids.values description: list of values that should match in: query required: false explode: true schema: type: array items: type: string - name: filters.linked_inspection_ids.values description: list of values that should match in: query required: false explode: true schema: type: array items: type: string - name: filters.category_ids.values description: list of values that should match in: query required: false explode: true schema: type: array items: type: string tags: - Investigations /incidents/v1/investigations/{investigation_id}: delete: summary: Delete Investigation operationId: InvestigationsService_DeleteInvestigation responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.DeleteInvestigationResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' parameters: - name: investigation_id description: required. the ID of the investigation to delete in: path required: true schema: type: string tags: - Investigations get: summary: Get Investigation operationId: InvestigationsService_GetInvestigation responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.GetInvestigationResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' parameters: - name: investigation_id description: optional (if sequence_id is set). Investigation UUID to get in: path required: true schema: type: string - name: sequence_id description: optional (if investigation_id is set). Investigation sequence ID to fetch in: query required: false schema: type: string tags: - Investigations put: summary: Update Investigation operationId: InvestigationsService_UpdateInvestigation responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.UpdateInvestigationResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' parameters: - name: investigation_id description: required. the ID of the investigation to update in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.InvestigationsService.UpdateInvestigationBody' required: true tags: - Investigations /incidents/v1/investigations/{investigation_id}/access: get: summary: Get Investigation Access operationId: InvestigationsService_GetInvestigationAccess responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.GetInvestigationAccessResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' parameters: - name: investigation_id description: optional (if sequence_id is set). Investigation UUID to get in: path required: true schema: type: string - name: sequence_id description: optional (if investigation_id is set). Investigation sequence ID to fetch in: query required: false schema: type: string tags: - Investigations put: summary: Update Investigation Access operationId: InvestigationsService_UpdateInvestigationAccess responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.UpdateInvestigationAccessResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' parameters: - name: investigation_id description: required. the ID of the investigation to update in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.InvestigationsService.UpdateInvestigationAccessBody' required: true tags: - Investigations /incidents/v1/investigations/{investigation_id}/actions: get: summary: List Investigation Actions operationId: InvestigationsService_ListInvestigationActions responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.ListInvestigationActionsResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' parameters: - name: investigation_id description: optional (if sequence_id is set). Investigation UUID to get in: path required: true schema: type: string - name: sequence_id description: optional (if investigation_id is set). Investigation sequence ID to fetch in: query required: false schema: type: string - name: page_size description: required. The number of results to return in: query required: true schema: type: integer format: int32 - name: page_token description: optional. next page token from a previous response to continue fetching further results in: query required: false schema: type: string - name: list_mode description: "optional. the mode to use for linked actions listing.\n\n - InvestigationLinkListModeAll: all links mode. default.\n - InvestigationLinkListModeDirectOnly: direct links only mode." in: query required: false schema: type: string enum: - InvestigationLinkListModeAll - InvestigationLinkListModeDirectOnly default: InvestigationLinkListModeUnknown tags: - Investigations /incidents/v1/investigations/{investigation_id}/actions/count: get: summary: Get Investigation Actions operationId: InvestigationsService_GetInvestigationActionCount responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.GetInvestigationActionCountResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' parameters: - name: investigation_id description: optional (if sequence_id is set). Investigation UUID to get in: path required: true schema: type: string - name: sequence_id description: optional (if investigation_id is set). Investigation sequence ID to fetch in: query required: false schema: type: string - name: search description: optional. a string to match results against in: query required: false schema: type: string tags: - Investigations /incidents/v1/investigations/{investigation_id}/courses: get: summary: List Investigation Courses operationId: InvestigationsService_ListInvestigationCourses responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.ListInvestigationCoursesResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' parameters: - name: investigation_id description: optional (if sequence_id is set). Investigation UUID to get in: path required: true schema: type: string - name: sequence_id description: optional (if investigation_id is set). Investigation sequence ID to fetch in: query required: false schema: type: string - name: page_size description: required. The number of results to return in: query required: true schema: type: integer format: int32 - name: page_token description: optional. next page token from a previous response to continue fetching further results in: query required: false schema: type: string tags: - Investigations /incidents/v1/investigations/{investigation_id}/courses/count: get: summary: Get Investigation Course Count operationId: InvestigationsService_GetInvestigationCourseCount responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.GetInvestigationCourseCountResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' parameters: - name: investigation_id description: optional (if sequence_id is set). Investigation UUID to get in: path required: true schema: type: string - name: sequence_id description: optional (if investigation_id is set). Investigation sequence ID to fetch in: query required: false schema: type: string tags: - Investigations /incidents/v1/investigations/{investigation_id}/inspections: get: summary: List Investigation Inspections operationId: InvestigationsService_ListInvestigationInspections responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.ListInvestigationInspectionsResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' parameters: - name: investigation_id description: optional (if sequence_id is set). Investigation UUID to get in: path required: true schema: type: string - name: sequence_id description: optional (if investigation_id is set). Investigation sequence ID to fetch in: query required: false schema: type: string - name: page_size description: required. The number of results to return in: query required: true schema: type: integer format: int32 - name: page_token description: optional. next page token from a previous response to continue fetching further results in: query required: false schema: type: string - name: list_mode description: "optional. the mode to use for linked actions listing.\n\n - InvestigationLinkListModeAll: all links mode. default.\n - InvestigationLinkListModeDirectOnly: direct links only mode." in: query required: false schema: type: string enum: - InvestigationLinkListModeAll - InvestigationLinkListModeDirectOnly default: InvestigationLinkListModeUnknown tags: - Investigations /incidents/v1/investigations/{investigation_id}/inspections/count: get: summary: Get Investigation Inspection Count operationId: InvestigationsService_GetInvestigationInspectionCount responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.GetInvestigationInspectionCountResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' parameters: - name: investigation_id description: optional (if sequence_id is set). Investigation UUID to get in: path required: true schema: type: string - name: sequence_id description: optional (if investigation_id is set). Investigation sequence ID to fetch in: query required: false schema: type: string - name: search description: optional. a string to match results against in: query required: false schema: type: string tags: - Investigations /incidents/v1/investigations/{investigation_id}/issues: get: summary: List Investigation Issues operationId: InvestigationsService_ListInvestigationIssues responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.ListInvestigationIssuesResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' parameters: - name: investigation_id description: optional (if sequence_id is set). Investigation UUID to get in: path required: true schema: type: string - name: sequence_id description: optional (if investigation_id is set). Investigation sequence ID to fetch in: query required: false schema: type: string - name: page_size description: required. The number of results to return in: query required: true schema: type: integer format: int32 - name: page_token description: optional. next page token from a previous response to continue fetching further results in: query required: false schema: type: string - name: list_mode description: "optional. the mode to use for linked actions listing.\n\n - InvestigationLinkListModeAll: all links mode. default.\n - InvestigationLinkListModeDirectOnly: direct links only mode." in: query required: false schema: type: string enum: - InvestigationLinkListModeAll - InvestigationLinkListModeDirectOnly default: InvestigationLinkListModeUnknown tags: - Investigations /incidents/v1/investigations/{investigation_id}/issues/count: get: summary: Get Investigation Issue Count operationId: InvestigationsService_GetInvestigationIssueCount responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.GetInvestigationIssueCountResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' parameters: - name: investigation_id description: optional (if sequence_id is set). Investigation UUID to get in: path required: true schema: type: string - name: sequence_id description: optional (if investigation_id is set). Investigation sequence ID to fetch in: query required: false schema: type: string - name: search description: optional. a string to match results against in: query required: false schema: type: string tags: - Investigations /incidents/v1/investigations/{investigation_id}/log: get: summary: List Investigation Activity operationId: InvestigationsService_ListInvestigationLog responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.ListInvestigationLogResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' parameters: - name: investigation_id description: optional (if sequence_id is set). Investigation UUID to get in: path required: true schema: type: string - name: sequence_id description: optional (if investigation_id is set). Investigation sequence ID to fetch in: query required: false schema: type: string - name: page_size description: required. the number of results to return in: query required: true schema: type: integer format: int32 - name: page_token description: optional. next page token from a previous response to continue fetching further results in: query required: false schema: type: string tags: - Investigations /incidents/v1/investigations/{investigation_id}/media: get: summary: List Investigation Media operationId: InvestigationsService_ListInvestigationMedia responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.ListInvestigationMediaResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' parameters: - name: investigation_id description: optional (if sequence_id is set). Investigation UUID to get in: path required: true schema: type: string - name: sequence_id description: optional (if investigation_id is set). Investigation sequence ID to fetch in: query required: false schema: type: string - name: page_size description: required. The number of results to return in: query required: true schema: type: integer format: int32 - name: page_token description: optional. next page token from a previous response to continue fetching further results in: query required: false schema: type: string - name: search description: optional. a string to match results against in: query required: false schema: type: string - name: list_mode description: "optional. the mode to use for linked actions listing.\n\n - InvestigationLinkListModeAll: all links mode. default.\n - InvestigationLinkListModeDirectOnly: direct links only mode." in: query required: false schema: type: string enum: - InvestigationLinkListModeAll - InvestigationLinkListModeDirectOnly default: InvestigationLinkListModeUnknown tags: - Investigations /incidents/v1/investigations/{investigation_id}/media/count: get: summary: Get Investigation Media Count operationId: InvestigationsService_GetInvestigationMediaCount responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.GetInvestigationMediaCountResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' parameters: - name: investigation_id description: optional (if sequence_id is set). Investigation UUID to get in: path required: true schema: type: string - name: sequence_id description: optional (if investigation_id is set). Investigation sequence ID to fetch in: query required: false schema: type: string - name: search description: optional. a string to match results against in: query required: false schema: type: string tags: - Investigations /incidents/v1/investigations/{investigation_id}/pdf: get: summary: Get Investigation PDF Report operationId: InvestigationsService_GetInvestigationPDFReport responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.GetInvestigationPDFReportResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' parameters: - name: investigation_id description: optional (if sequence_id is set). Investigation UUID to get in: path required: true schema: type: string - name: sequence_id description: optional (if investigation_id is set). Investigation sequence ID to fetch in: query required: false schema: type: string tags: - Investigations /incidents/v1/log: get: summary: List Settings Log Events operationId: InvestigationsService_ListSettingsLog responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.ListSettingsLogResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' parameters: - name: page_size description: required. the number of results to return in: query required: true schema: type: integer format: int32 - name: page_token description: optional. next page token from a previous response to continue fetching further results in: query required: false schema: type: string tags: - Investigations /incidents/v1/statuses: get: summary: List Statuses operationId: InvestigationsService_ListStatuses responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.ListStatusesResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' tags: - Investigations put: summary: Update Statuses operationId: InvestigationsService_UpdateStatuses responses: '200': description: A successful response. content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.UpdateStatusesResponse' default: description: An unexpected error response. content: application/json: schema: $ref: '#/components/schemas/google.rpc.Status' requestBody: content: application/json: schema: $ref: '#/components/schemas/s12.incidents.v1.UpdateStatusesRequest' required: true tags: - Investigations components: schemas: s12.incidents.v1.CategoryMetaData: type: object properties: category_id: type: string description: the unique identifier of the category title: type: string description: the title of the category description: type: string description: the description of the category title: Partial category information for embedding in other messages s12.incidents.v1.InvestigationAccessItem: type: object properties: user: allOf: - $ref: '#/components/schemas/s12.incidents.v1.UserMeta' description: The user granted access level: allOf: - $ref: '#/components/schemas/s12.incidents.v1.AccessLevel' description: The level of access granted title: Investigation access entry s12.incidents.v1.GetInvestigationActionCountResponse: type: object properties: count: type: integer format: int32 description: the count of actions linked to the investigation title: Response to GetInvestigationActionCount s12.incidents.v1.SetDescriptionOperation: type: object properties: description: type: string description: required. the updated description of the investigation title: Parameters to the set description operation s12.inspections.v1.GetInspectionsResponse.InspectionsListItem.Template: type: object properties: id: type: string description: corresponding template id name: type: string description: corresponding template name s12.incidents.v1.InvestigationIssue: type: object properties: linked_at: type: string format: date-time description: The time that the issue was linked at issue: allOf: - $ref: '#/components/schemas/s12.tasks.v1.Incident' description: The issue that is linked is_access_denied: type: boolean description: Flag to indicate that the requester does not have access to the linked issue is_deleted: type: boolean description: Flag to indicate that the linked issue has been deleted originates_from: allOf: - $ref: '#/components/schemas/s12.incidents.v1.LinkOriginatesFrom' description: If present, represents the resource that this is originally linked to title: Wrapper message for any issues which are linked to an investigation s12.incidents.v1.InvestigationDetailFieldChangedDetails: type: object properties: field_id: type: string title: type: string field_type: type: string description: 'Type of the detail field being changed "single_select", "multi_select", etc.' from_display_values: type: array items: type: string description: 'Human-readable previous value(s) single_select will have at most one value in the list' to_display_values: type: array items: type: string description: 'Human-readable new value(s) single_select will have at most one value in the list' s12.incidents.v1.SetTitleOperation: type: object properties: title: type: string description: optional. the updated title of the investigation title: Parameters to the set title operation s12.inspections.v1.InspectionApprovalState: type: string enum: - INSPECTION_APPROVAL_STATE_UNSPECIFIED - INSPECTION_APPROVAL_STATE_NOT_REQUESTED - INSPECTION_APPROVAL_STATE_REQUESTED - INSPECTION_APPROVAL_STATE_APPROVED default: INSPECTION_APPROVAL_STATE_UNSPECIFIED description: "- INSPECTION_APPROVAL_STATE_UNSPECIFIED: Inspection has no approval pages\n - INSPECTION_APPROVAL_STATE_NOT_REQUESTED: Inspection has at least one approval page, and approval hasn't been requested yet\n - INSPECTION_APPROVAL_STATE_REQUESTED: Approval has been requested for one of the pages - inspection is awaiting approval\n - INSPECTION_APPROVAL_STATE_APPROVED: All approval pages in the inspection has been approved" title: Approval state for the inspection filter s12.incidents.v1.UpdateInvestigationsResponse: type: object title: Response to UpdateInvestigations s12.incidents.v1.CreateInvestigationResponse: type: object properties: result: allOf: - $ref: '#/components/schemas/s12.incidents.v1.Investigation' description: the created investigation title: Response to CreateInvestigation s12.incidents.v1.LinkCounts: type: object properties: total_actions: type: integer format: int32 description: total count of linked actions open_actions: type: integer format: int32 description: count of linked actions which are open closed_actions: type: integer format: int32 description: count of linked actions which are closed title: Counts of different types of linked resources s12.tasks.v1.Category: type: object properties: id: type: string description: The UUID of a category. key: type: string description: 'The name of a category. This can be a default name or one that is customized in your organization.' label: type: string description: 'The name of a category. This field''s value is the same as the value for `key`.' description: type: string description: The description of a category. display_order: type: integer format: int32 description: 'The sorting order of a list of categories. This is unused, and is hardcoded as `0`.' is_visible: type: boolean description: 'The indicator for whether a category is visible or not for an organization on the web app and the mobile app.' use_category_access_whitelist: type: boolean description: 'The indicator for whether a category''s issues can be accessed by anyone in your organization or not. If this is `false` for a category, then that category''s issues can only be accessed by creators and assignees.' items: type: array items: type: object $ref: '#/components/schemas/s12.tasks.v1.Item' description: List of all items to be used in the category notification_detail: description: The level of detail for category notifications. allOf: - $ref: '#/components/schemas/s12.tasks.v1.CategoryNotificationDetail' linked_template_ids: type: array items: type: string description: The list of template ids linked to this category. visibility_summary: allOf: - $ref: '#/components/schemas/s12.tasks.v1.CategoryVisibilitySummary' description: Summary of the number of entities that the category is visible to user_access_as_reporter: allOf: - $ref: '#/components/schemas/s12.tasks.v1.CategoryUserAccessAsReporter' description: The rule for whether the current user will gain access to issues they raise description: 'A category is used to classify an issue. For example, you can filter issues by category for analytics, or give users or groups access to issues from a category.' s12.tasks.v1.Task.SliderAnswer: type: object properties: answer: type: number format: double description: number of sliderAnswer max: type: number format: double description: 'A double representing the maximum value allowed for this item. Negatives are allowed.' min: type: number format: double description: 'A double representing the minimum value allowed for this item. Negatives are allowed.' title: Answer returned for SliderItem s12.tasks.v1.CategoryVisibilitySummary: type: object properties: users: type: integer format: int32 description: The number of users that are the category is directly visible to groups: type: integer format: int32 description: The number of groups that the category is directly visible to sites: type: integer format: int32 description: The number of sites that the category is directly visible to title: CategoryVisibilitySummary represents a summary of the number of entities that the category is visible for s12.incidents.v1.LocalisedStringSet: type: object properties: strings: type: object additionalProperties: type: string description: The map of BCP47 language codes to string content order: type: array items: type: string description: 'The ordered list of BCP47 language codes. 0th index acts as the default if no languages could be matched' title: A set of strings which can be used for user localisation s12.incidents.v1.UpdateFieldsRequest: type: object properties: fields: type: array items: type: object $ref: '#/components/schemas/s12.incidents.v1.UpsertableField' description: The set of fields to set for the organisation category_id: type: string description: required. The category to update fields for title: Request parameters to UpdateFields s12.tasks.v1.Task.RangeComparison: type: object properties: lower: type: number format: double description: Represents the lower value of the range. upper: type: number format: double description: Represents the upper value of the range. description: Used to compare values within a range. s12.incidents.v1.ListCategoryDetailFieldsResponse: type: object properties: fields: type: array items: type: object $ref: '#/components/schemas/s12.typefield.v1.Field' description: the detail fields associated with the category title: Response to ListCategoryDetailFields s12.tasks.v1.Item.ItemType: type: string enum: - ITEM_TYPE_UNSPECIFIED - ITEM_TYPE_TITLE - ITEM_TYPE_DESCRIPTION - ITEM_TYPE_SITE - ITEM_TYPE_MEDIA - ITEM_TYPE_LOCATION - ITEM_TYPE_QUESTION - ITEM_TYPE_OCCURRED_AT - ITEM_TYPE_ASSET default: ITEM_TYPE_UNSPECIFIED description: '- ITEM_TYPE_UNSPECIFIED: The item type is unspecified' title: The types of items s12.incidents.v1.UpdateFieldsResponse: type: object properties: results: type: array items: type: object $ref: '#/components/schemas/s12.incidents.v1.FieldListItem' description: The updated field list title: Response to UpdateFields s12.tasks.v1.TaskType: type: string enum: - TASK_TYPE_ACTION - TASK_TYPE_CUSTOM description: "- TASK_TYPE_ACTION: Indicates this task is of type Action.\n - TASK_TYPE_CUSTOM: Indicates this task is of a custom type." title: Type is the type of the current task s12.incidents.v1.InvestigationIssueUnlinkedDetails: type: object properties: issue: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationIssue' description: THe issue which has been unlinked title: details related to investigation issue being unlinked s12.incidents.v1.OriginatingResource: type: object properties: issue_id: type: string description: issue resource title: OriginatingResource a resource which can create investigations s12.incidents.v1.DateTimeDetailFieldContent: type: object properties: datetime: type: string format: date-time description: the datetime content title: Field content for a datetime field s12.incidents.v1.CategorySectionContentChangedDetails: type: object properties: from: type: string description: the previous content of the section to: type: string description: the new content of the section title: details pertaining to a category section content being changed s12.tasks.v1.Item: type: object properties: id: type: string description: The UUID of the item. name: type: string description: Name of the item is_mandatory: type: boolean description: Whether or not the item must be filled before submission type: allOf: - $ref: '#/components/schemas/s12.tasks.v1.Item.ItemType' description: Type of item question_data: $ref: '#/components/schemas/s12.tasks.v1.Question' is_disabled: type: boolean description: Whether or not the item is disabled and hidden from submission title: Item for a given category/incident s12.inspections.v1.GetInspectionsResponse.InspectionsListItem.AccessLevel: type: string enum: - ACCESS_LEVEL_UNKNOWN - ACCESS_LEVEL_VIEW - ACCESS_LEVEL_EDIT - ACCESS_LEVEL_DELETE default: ACCESS_LEVEL_UNKNOWN s12.incidents.v1.DetailFieldOptionOrderChangedDetails: type: object properties: option: type: string description: the option that was changed from: type: integer format: int32 description: the previous index of the field option to: type: integer format: int32 description: the new index of the field option title: details pertaining to detail field options being reordered s12.incidents.v1.ListFieldsResponse: type: object properties: result: type: array items: type: object $ref: '#/components/schemas/s12.incidents.v1.FieldListItem' description: The organisations field list title: Response to ListFields s12.tasks.v1.CollaboratorRole: type: string enum: - ASSIGNEE - CREATOR default: COLLABORATOR_ROLE_NOT_SET description: "- ASSIGNEE: The collaborator has been assigned to a task.\n - CREATOR: The collaborator has created the task." title: The role of the collaborator in relation to a task s12.incidents.v1.UpdateInvestigationsRequest: type: object properties: ops: type: array items: type: object $ref: '#/components/schemas/s12.incidents.v1.UpdateInvestigationRequest' description: required. the set of operations to apply title: Request parameters to UpdateInvestigations s12.common.Color: type: object properties: red: type: number format: float description: The amount of red in the color as a value in the interval [0, 255]. green: type: number format: float description: The amount of green in the color as a value in the interval [0, 255]. blue: type: number format: float description: The amount of blue in the color as a value in the interval [0, 255]. title: 'Color represents a color representation of given option and is decimal representation of RGB' s12.tasks.v1.Task.SensorAlertContext: type: object properties: sensor_alert_id: type: string description: ID of sensor alert context associated with the action level: description: The level of the alert event. allOf: - $ref: '#/components/schemas/s12.tasks.v1.AlertEventLevel' created_at: type: string format: date-time description: The time the alert event was created/updated. detected_at: type: string format: date-time description: The time the first alert event was detected. sensor_id: type: string description: Sensor asset ID for which the event happened site_name: type: string description: Name of the site at a time of event metric_type: allOf: - $ref: '#/components/schemas/s12.tasks.v1.MetricType' description: Metric type of an alert event sensor_name: type: string description: Name of the sensor at a time of event reading_type: type: string description: Sensor reading type reading_name: type: string description: Sensor reading name title: context of sensor alert associated with the action s12.incidents.v1.InvestigationActionUnlinkedDetails: type: object properties: action: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationAction' description: The action which has been unlinked title: details related to investigation actions being unlinked s12.incidents.v1.StatusColorChangedDetails: type: object properties: from: allOf: - $ref: '#/components/schemas/s12.incidents.v1.StatusBadgeColor' description: the previous color to: allOf: - $ref: '#/components/schemas/s12.incidents.v1.StatusBadgeColor' description: the new color title: details pertaining to a status color being changed s12.typefield.v1.FieldValue: type: object properties: field_id: type: string description: A global unique identifier for a field. string_value: type: string description: The string value of a field. money_value: description: The money value of a field. allOf: - $ref: '#/components/schemas/s12.common.Money' timestamp_value: type: string format: date-time description: The timestamp value of a field. integer_value: type: string format: int64 description: The integer value of a field. Signed, 64-bit integer. address_location_value: description: The address location value of a field. allOf: - $ref: '#/components/schemas/s12.typefield.v1.AddressLocation' contact_details_value: description: The contact details value of a field. allOf: - $ref: '#/components/schemas/s12.typefield.v1.ContactDetails' multi_select_value: description: The multi-select value of a field. Contains one or more selected option UUIDs. allOf: - $ref: '#/components/schemas/s12.typefield.v1.MultiSelectValue' description: Individual field value definition. s12.tasks.v1.Task.TextAnswer: type: object properties: answer: type: string description: Text answer content unit_symbol: allOf: - $ref: '#/components/schemas/s12.common.MeasurementUnitSymbol' description: Unit symbol for number questions that has units assigned to them format: allOf: - $ref: '#/components/schemas/s12.tasks.v1.TextAnswerFormat' description: Determines what is the format of the answer title: Answer returned for TextItem, TextSingleItem, ScannerItem type s12.typefield.v1.FieldCategory: type: string enum: - FIELD_CATEGORY_UNSPECIFIED - FIELD_CATEGORY_SYSTEM_FIELD - FIELD_CATEGORY_CUSTOM_FIELD default: FIELD_CATEGORY_UNSPECIFIED description: "- FIELD_CATEGORY_UNSPECIFIED: Field category Unspecified.\n - FIELD_CATEGORY_SYSTEM_FIELD: Field category pre-defined.\n - FIELD_CATEGORY_CUSTOM_FIELD: Field category custom." title: Category of Field s12.common.v1.AiMarking: type: object properties: ai_edited: type: boolean description: 'True when something non deterministic, in practice an LLM, produced or changed this content. False when no AI did, which includes content a person wrote and content a deterministic path produced. Absent when the origin was not recorded. Do not report false in place of absent.' human_edited: type: boolean description: 'True when a person authored or changed this content. False when no person did, which includes content a model generated and content a deterministic path produced. Absent when the origin was not recorded. Do not report false in place of absent.' description: "AiMarking carries the AI marking fact on an API representation, so a machine\ncan read whether AI and whether a person produced or changed the content.\nIt is the read side of the express path: one shared message with standard\nproperty names, rather than every domain inventing its own field for the\nsame fact.\n\nBoth fields are presence tracked. The three states each carry a different\nmeaning and must not be collapsed:\n\n true The actor named by the field produced or changed this content.\n false The actor named by the field is known not to have produced or\n changed this content. It is a claim about that actor only.\n absent We did not record the origin.\n\nfalse is not evidence that a deterministic path produced the content. Known\nhuman only content can read ai_edited false, and known AI only content can\nread human_edited false. Set a field to false only when you know it is false.\nLeave it absent when you do not, so a consumer relying on the API for their\nown obligation can tell \"not true\" from \"not recorded\". EU AI Act Article\n50(2), engineering approach page." s12.tasks.v1.Task.CheckboxAnswer: type: object properties: answer: type: boolean description: answer content for CheckboxAnswer title: Answer returned for CheckboxItem s12.incidents.v1.InvestigationsService.CloneCategoryBody: type: object properties: title: type: string description: optional. the title of the category description: type: string description: optional. the description of the category. title: Request parameters to CloneCategory s12.incidents.v1.CloneCategoryResponse: type: object properties: category: allOf: - $ref: '#/components/schemas/s12.incidents.v1.Category' description: Category that was cloned title: Response to CloneCategory s12.incidents.v1.InvestigationInspectionLinkedDetails: type: object properties: inspection: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationInspection' description: The inspection which has been linked title: details related to investigation inspections being linked s12.tasks.v1.TaskCustomFieldAndValue: type: object properties: field: $ref: '#/components/schemas/s12.typefield.v1.Field' field_value: $ref: '#/components/schemas/s12.typefield.v1.FieldValue' description: 'TaskCustomFieldAndValue is a composite message containing the Field and FieldValue type from the typefield service Field contains information about the field itself (e.g. name) while FieldValue contains the value that was inputted into the instance of the Action this message is attached to.' s12.incidents.v1.InvestigationTitleChangedDetails: type: object properties: from: type: string description: the previous title to: type: string description: the new title title: details related to investigation title changing s12.incidents.v1.ListInvestigationActionsResponse: type: object properties: actions: type: array items: type: object $ref: '#/components/schemas/s12.incidents.v1.InvestigationAction' description: the list of actions next_page_token: type: string description: A token which can be used to fetch further results title: Response to ListInvestigationActions s12.incidents.v1.InvestigationOwnerChangedDetails: type: object properties: from: allOf: - $ref: '#/components/schemas/s12.incidents.v1.UserMeta' description: The user who previously owned the investigation to: allOf: - $ref: '#/components/schemas/s12.incidents.v1.UserMeta' description: The user who now owns the investigation title: details related to investigation owner changing s12.incidents.v1.AccessLevel: type: string enum: - AccessLevelNone - AccessLevelView - AccessLevelEdit - AccessLevelOwner default: AccessLevelUnknown description: "- AccessLevelNone: Access level is 'none'\n - AccessLevelView: Access level is 'view'\n - AccessLevelEdit: Access level is 'edit'\n - AccessLevelOwner: Access level is 'owner'" title: The possible access levels s12.incidents.v1.CategoryDeletedDetails: type: object properties: deleted: allOf: - $ref: '#/components/schemas/s12.incidents.v1.CategoryMetaData' description: the details of the category which has been deleted title: details pertaining to a category being deleted s12.incidents.v1.UpdateInvestigationRequest: type: object properties: investigation_id: type: string description: required. the ID of the investigation to update operation: allOf: - $ref: '#/components/schemas/s12.incidents.v1.UpdateInvestigationOperation' description: required. The operation to be performed updated_at: type: string format: date-time description: optional. The time that the update has occurred at. title: Request parameters to UpdateInvestigation s12.incidents.v1.InvestigationMediaAddedDetails: type: object properties: media: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationMedia' description: The media which has been added title: details related to investigation media being added s12.incidents.v1.InvestigationFieldChangedDetails: type: object properties: title: type: string description: the title of the field which has been changed from: type: string description: the previous content of the field to: type: string description: the new content of the field title: details related to investigation field being changed s12.typefield.v1.FieldOption: type: object properties: id: type: string description: The id of a field select option. label: type: string description: The label of a field select option. order: type: integer format: int32 description: 'The display order of this option, 0-indexed. Options should be displayed in ascending order of this field, matching the order they were defined in the field settings.' s12.incidents.v1.CategoryDetailFieldAddedDetails: type: object properties: field: allOf: - $ref: '#/components/schemas/s12.incidents.v1.DetailFieldMetaData' description: the field that was added title: details pertaining to a category field being added s12.tasks.v1.MetricType: type: string enum: - TEMPERATURE - HUMIDITY - BATTERY - SIGNAL - AIR_QUALITY_PM25 - AIR_QUALITY_PM10 - TEMPERATURE_2 - DIFFERENTIAL_AIR_PRESSURE - CO - DOOR_OPEN_CLOSED - BATTERY_VOLTAGE - WEATHER - WIND_SPEED - WIND_DIRECTION - WIND_GUST - CO2 default: UNKNOWN_TYPE description: "- TEMPERATURE: Temperature metric\n - HUMIDITY: Humidity metric\n - BATTERY: Battery level. Percentage based i.e. 0 - 100\n - SIGNAL: Signal strength metric\n - AIR_QUALITY_PM25: Air quality for particulate matter less than 2.5 microns\n - AIR_QUALITY_PM10: Air quality for particulate matter less than 10 microns\n - TEMPERATURE_2: Alternative temperature (Some hardware i.e. Avem Quirks do have 2 probes\nand are sending 2 temperatures)\n - DIFFERENTIAL_AIR_PRESSURE: Differential air pressure\n - CO: Carbon monoxide\n - DOOR_OPEN_CLOSED: Door open/closed boolean metric\n - BATTERY_VOLTAGE: Battery voltage metric\n - WEATHER: Weather (e.g. sunny, thunderstorms)\n - WIND_SPEED: Wind speed\n - WIND_DIRECTION: Wind direction\n - WIND_GUST: Wind gust\n - CO2: Carbon dioxide" title: Metric type represents a type of received metric s12.tasks.v1.Question.QuestionType: type: string enum: - QUESTION_TYPE_UNSPECIFIED - QUESTION_TYPE_TEXT - QUESTION_TYPE_MULTIPLE_CHOICE default: QUESTION_TYPE_UNSPECIFIED description: "- QUESTION_TYPE_UNSPECIFIED: The question type is unspecified. This generally should not happen.\n - QUESTION_TYPE_TEXT: The question is text type. This question accepts freetext answers.\n - QUESTION_TYPE_MULTIPLE_CHOICE: The question is multiple choice. This question provides a list of options to choose from." title: The types of questions s12.tasks.v1.Task.Collaborator: type: object properties: collaborator_id: type: string description: A UUID uniquely identifying this collaborator. collaborator_type: description: The type of the collaborator i.e. group or user. allOf: - $ref: '#/components/schemas/s12.tasks.v1.CollaboratorType' assigned_role: description: The role of the collaborator in this task. allOf: - $ref: '#/components/schemas/s12.tasks.v1.CollaboratorRole' user: description: Collaborator details for an authenticated user. allOf: - $ref: '#/components/schemas/s12.tasks.v1.Task.User' group: description: Collaborator details for a group. allOf: - $ref: '#/components/schemas/s12.tasks.v1.Task.Group' external_user: description: Collaborator details for an external user. allOf: - $ref: '#/components/schemas/s12.tasks.v1.Task.ExternalUser' contributor: description: Collaborator details for a contributor. allOf: - $ref: '#/components/schemas/s12.tasks.v1.Task.Contributor' description: 'A collaborator is somebody who is involved with the task. They have either created the task, or are assigned to it.' s12.incidents.v1.DetailFieldOptionAddedDetails: type: object properties: option: type: string description: the option that was added title: details pertaining to a detail field option being added s12.tasks.v1.Incident: type: object properties: task: description: The task associated with the issue. allOf: - $ref: '#/components/schemas/s12.tasks.v1.Task' category_id: type: string description: '@deprecated. Use category instead. The category id associated with the issue.' category: description: The current category of the issue. allOf: - $ref: '#/components/schemas/s12.tasks.v1.Category' media: type: array items: type: object $ref: '#/components/schemas/s12.common.Media' description: Any media associated with this issue. location: description: The location that the issue occurred at. allOf: - $ref: '#/components/schemas/s12.tasks.v1.Task.AddressLocation' inspections: type: array items: type: object $ref: '#/components/schemas/s12.tasks.v1.Inspection' description: The inspections that are linked to this issue. items: type: array items: type: object $ref: '#/components/schemas/s12.tasks.v1.Item' description: A snapshot of the category items, at the time of creation. question_answers: type: array items: type: object $ref: '#/components/schemas/s12.tasks.v1.QuestionAnswers' description: The answers to the snapshot category items ai_generated: type: boolean description: 'Use `ai_marking`. True when this issue was created via an AI-assisted flow. A plain boolean, so it cannot tell absent from false.' ai_marking: description: 'The AI marking for the issue, per EU AI Act Article 50(2) and the engineering approach. `ai_edited` and `human_edited` are presence tracked, so absent stays distinct from false. Carried on the response and accepted on the create and submit requests under the write rules.' allOf: - $ref: '#/components/schemas/s12.common.v1.AiMarking' description: 'An Incident represents the details of an issue. This can include the category, any attached media, the location, any linked inspections and the task associated with the issue.' s12.tasks.v1.Task.AddressAnswer: type: object properties: location_text: type: string description: Location text location: allOf: - $ref: '#/components/schemas/s12.tasks.v1.Task.AddressLocation' description: 'Location info generated only when location is added using a location picker' title: Answer returned for AddressItem s12.tasks.v1.Question: type: object properties: id: type: string description: The UUID of the question. text: type: string description: 'The text of the question being asked (e.g. "How many eggs are in a dozen?"). This does not use the new `validator.string` option as question processing logic fails when symbols are substituted for similar-looking symbols.' type: description: The type of the question. See `enum QuestionType` for more details. allOf: - $ref: '#/components/schemas/s12.tasks.v1.Question.QuestionType' is_mandatory: type: boolean description: Whether the question is mandatory or not multiple_choice_options: $ref: '#/components/schemas/s12.tasks.v1.MultipleChoiceOptions' description: Question represents the question structure for a custom question. s12.incidents.v1.DeleteCategoryResponse: type: object title: Response to DeleteCategory s12.tasks.v1.Task.User: type: object properties: user_id: type: string description: The UUID of this user. firstname: type: string description: The first name of the user. lastname: type: string description: The last name of the user. description: The user associated to the task. They could be a creator or assignee. s12.tasks.v1.TextAnswerFormat: type: string enum: - TEXT - NUMBER default: UNKNOWN_FORMAT description: "- TEXT: Normal textsingle item\n - NUMBER: Textsingle item with number format" title: Represents the format of a Textsingle item for the inspection context s12.tasks.v1.Task.InspectionContext: type: object properties: inspection_id: type: string description: ID of the inspection associated with the action inspection_name: type: string description: name of the inspection associated with the action inspection_item_id: type: string description: ID of the inspectionItem associated with the action inspection_item_name: type: string description: name of the inspectionItem associated with the action inspection_item_type: type: string description: '@deprecated The type of the inspectionItem associated with the action' inspection_item_path: type: array items: type: string description: The path(breadcrumbs) of the inspectionItem associated with the action inspection_item_attachments: allOf: - $ref: '#/components/schemas/s12.tasks.v1.Task.Attachments' description: Attachments of the inspectionItem associated with the action list_answer: $ref: '#/components/schemas/s12.tasks.v1.Task.ListAnswer' text_answer: $ref: '#/components/schemas/s12.tasks.v1.Task.TextAnswer' checkbox_answer: $ref: '#/components/schemas/s12.tasks.v1.Task.CheckboxAnswer' media_answer: $ref: '#/components/schemas/s12.tasks.v1.Task.MediaAnswer' signature_answer: $ref: '#/components/schemas/s12.tasks.v1.Task.SignatureAnswer' drawing_answer: $ref: '#/components/schemas/s12.tasks.v1.Task.DrawingAnswer' slider_answer: $ref: '#/components/schemas/s12.tasks.v1.Task.SliderAnswer' datetime_answer: $ref: '#/components/schemas/s12.tasks.v1.Task.DateTimeAnswer' address_answer: $ref: '#/components/schemas/s12.tasks.v1.Task.AddressAnswer' switch_answer: $ref: '#/components/schemas/s12.tasks.v1.Task.SwitchAnswer' temperature_answer: $ref: '#/components/schemas/s12.tasks.v1.Task.TemperatureAnswer' inspection_deleted: type: boolean description: Flag indicated whether the inspection has been deleted is_complete: type: boolean description: Flag to indicate the inspection is marked as complete. is_access_denied: type: boolean description: Flag to indicate the access for the inspection is denied. completed_at: type: string format: date-time description: The date the inspection was completed. title: context of inspection associated with the action s12.incidents.v1.UpdateInvestigationAccessResponse: type: object title: Response to UpdateInvestigationAccess s12.tasks.v1.Task.TemperatureAnswer: type: object properties: temperature: type: number format: double description: '@deprecated. Use answer instead' display_unit: allOf: - $ref: '#/components/schemas/s12.common.TemperatureUnit' description: Represents the temperature unit type between: $ref: '#/components/schemas/s12.tasks.v1.Task.RangeComparison' above: $ref: '#/components/schemas/s12.tasks.v1.Task.NumberComparison' below: $ref: '#/components/schemas/s12.tasks.v1.Task.NumberComparison' answer: type: number format: double description: answer of TemperatureAnswer title: Answer returned for temperatureItem s12.tasks.v1.ActionLabel: type: object properties: label_id: type: string description: '(Required) The UUID of the action label. For example, "73361b5d-407a-424e-b20e-c932bc41706c".' label_name: type: string description: (Required) The name of the action label. description: ActionLabel is the label that's selected for an action. s12.tasks.v1.ReferenceType: type: string enum: - SENSOR - SENSOR_ALERT - INSPECTION - INCIDENT - SCHEDULE - ACTION - LINKED_INSPECTION - ASSET_MAINTENANCE_PLAN default: REFERENCE_TYPE_NOT_SET description: 'Reference type. The idea here is to list all the "external" types that would be used as a reference when creating actions.' s12.tasks.v1.Task.LinkedInspectionContext: type: object properties: inspection_id: type: string description: ID of the inspection associated with the action. template_id: type: string description: ID of the template this inspection was created from. inspection_name: type: string description: Name of the inspection linked to the action. is_complete: type: boolean description: Flag to indicate the inspection is marked as complete. is_access_denied: type: boolean description: Flag to indicate the access for the inspection is denied. is_deleted: type: boolean description: Flag to indicate whether the inspection is deleted or not. created_at: type: string format: date-time description: The date the inspection was created. completed_at: type: string format: date-time description: The date the inspection was completed. template_name: type: string description: Name of the template this inspection was created from. description: Context of an inspection started from a template associated with the action. s12.typefield.v1.Field: type: object properties: id: type: string description: A global unique identifier for a field. name: type: string description: Name of the field. description: type: string description: Description of the field. field_category: description: Category of field. Cannot be updated. readOnly: true allOf: - $ref: '#/components/schemas/s12.typefield.v1.FieldCategory' value_type: description: Type of field value. allOf: - $ref: '#/components/schemas/s12.typefield.v1.FieldValueType' domain: description: The domain of field. Cannot be updated. readOnly: true allOf: - $ref: '#/components/schemas/s12.typefield.v1.Domain' field_state: description: The state of the field. readOnly: true allOf: - $ref: '#/components/schemas/s12.typefield.v1.FieldState' select_options: type: array items: type: object $ref: '#/components/schemas/s12.typefield.v1.FieldOption' description: The options of a field select. created_by: type: string readOnly: true description: CreatorID belonging to the field description: Describes the values of a field. s12.incidents.v1.DeleteFieldOperation: type: object properties: field_id: type: string description: required. the ID of the field to delete title: Parameters to the delete field operation s12.common.Money: type: object properties: currency_code: type: string description: The 3-letter currency code defined in ISO 4217. units: type: string format: int64 description: 'The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.' nanos: type: integer format: int32 description: 'Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example £-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.' description: Represents an amount of money with its currency type. s12.incidents.v1.InvestigationsService.UpdateCategoryBody: type: object properties: title: type: string description: optional. the title of the category description: type: string description: optional. the description of the category. title: Request parameters to UpdateCategory s12.incidents.v1.InvestigationActionLinkedDetails: type: object properties: action: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationAction' description: The action which has been linked title: details related to investigation actions being linked s12.incidents.v1.LinkCoursesOperation: type: object properties: course_ids: type: array items: type: string description: 'required. The IDs of the training courses to link to the investigation. Training courses use MongoDB ObjectIDs (24-char hex strings), not UUIDs. len min is 24 to enforce the ObjectID length; the validator requires min < max so max is 100.' title: Parameters to the link courses operation s12.incidents.v1.ListSettingsLogResponse: type: object properties: result: type: array items: type: object $ref: '#/components/schemas/s12.incidents.v1.SettingsLogEvent' description: The log events next_page_token: type: string description: a token which can be used to fetch further results title: Response to ListSettingsLog s12.incidents.v1.DetailFieldCreatedDetails: type: object title: details pertaining to a detail field being created s12.incidents.v1.SetFieldOperation: type: object properties: content: allOf: - $ref: '#/components/schemas/s12.incidents.v1.FieldContent' description: required. the updated field content title: Parameters to the set field operation s12.incidents.v1.UserMeta: type: object properties: user_id: type: string description: unique identifier for the user display_name: type: string description: name of the user profile_image: allOf: - $ref: '#/components/schemas/s12.common.Media' description: profile image of the user email: type: string description: email address of the user seat_type: allOf: - $ref: '#/components/schemas/s12.common.SubscriptionSeatTypes' description: the seat type the user occupies status: allOf: - $ref: '#/components/schemas/s12.common.UserActiveStatus' description: the active status of the user timezone: type: string description: the timezone of the user title: Partial user information for embedding in other messages s12.incidents.v1.InvestigationFieldDeletedDetails: type: object properties: title: type: string description: the title of the field which has been deleted title: details related to investigation field being deleted s12.tasks.v1.Task.ListResponse: type: object properties: label: type: string description: Label for the response color: allOf: - $ref: '#/components/schemas/s12.common.Color' description: Color represents a color representation of given option title: Response of List type InspectionItem s12.incidents.v1.InvestigationDescriptionChangedDetails: type: object properties: from: type: string description: the previous description to: type: string description: the new description title: details related to investigation description changing s12.incidents.v1.SetDetailFieldOperation: type: object properties: content: allOf: - $ref: '#/components/schemas/s12.incidents.v1.DetailFieldContent' description: required. the updated field content title: Parameters to the set detail field operation s12.incidents.v1.SettingsLogEvent: type: object properties: at: type: string format: date-time description: timestamp for the log event resource: allOf: - $ref: '#/components/schemas/s12.incidents.v1.SettingsLogEventResource' description: resource for the event performed_by: allOf: - $ref: '#/components/schemas/s12.incidents.v1.UserMeta' description: the user who performed the event details: allOf: - $ref: '#/components/schemas/s12.incidents.v1.SettingsLogEventDetails' description: the additional details of the event correlation_id: type: string description: 'a unique identifier for use in correlating events that occurred as part of one operation' title: Settings log event entry s12.tasks.v1.MultipleChoiceOptions: type: object properties: options: type: array items: type: object $ref: '#/components/schemas/s12.tasks.v1.MultipleChoiceOption' description: MultipleChoiceOptions is an explicit message for a set of MultipleChoiceOption's to use in a oneof field below. s12.tasks.v1.Task.ExternalUser: type: object properties: id: type: string description: The UUID uniquely identifying this external user. email: type: string description: The email address of the external user. description: The external user that is assigned to a task. s12.incidents.v1.CategorySectionTitleChangedDetails: type: object properties: from: type: string description: the previous title of the section to: type: string description: the new title of the section title: details pertaining to a category section title being changed s12.tasks.v1.Task.AssetMaintenancePlan.AssetMaintenancePlanState: type: string enum: - ASSET_MAINTENANCE_PLAN_STATE_UNSPECIFIED - ASSET_MAINTENANCE_PLAN_STATE_ACTIVE - ASSET_MAINTENANCE_PLAN_STATE_DELETED default: ASSET_MAINTENANCE_PLAN_STATE_UNSPECIFIED description: " - ASSET_MAINTENANCE_PLAN_STATE_UNSPECIFIED: ASSET_MAINTENANCE_PLAN_STATE_UNSPECIFIED is an unknown maintenance plan state.\n - ASSET_MAINTENANCE_PLAN_STATE_ACTIVE: ASSET_MAINTENANCE_PLAN_STATE_ACTIVE is a maintenance plan state that is active.\n - ASSET_MAINTENANCE_PLAN_STATE_DELETED: ASSET_MAINTENANCE_PLAN_STATE_DELETED is a maintenance plan state that is deleted." s12.incidents.v1.GetInvestigationMediaCountResponse: type: object properties: count: type: integer format: int32 description: the count of media linked to the investigation title: Response to GetInvestigationMediaCount s12.typefield.v1.AddressLocation: type: object properties: name: type: string description: The name of the location. thoroughfare: type: string description: The thoroughfare of the location. sub_thoroughfare: type: string description: The sub-thoroughfare of the location. locality: type: string description: The locality of the location. sub_locality: type: string description: The sub-locality of the location. administrative_area: type: string description: The administrative area of the location. sub_administrative_area: type: string description: The sub-administrative area of the location. postal_code: type: string description: The postal code of the location. country: type: string description: The country of the location. iso_country_code: type: string description: The ISO country code of the location. geo_position: description: The geographic position of the location. allOf: - $ref: '#/components/schemas/s12.common.GeoPosition' description: Address and location details for a structure. s12.incidents.v1.InvestigationMediaRemovedDetails: type: object properties: media: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationMedia' description: The media which has been removed title: details related to investigation media being removed s12.tasks.v1.Task: type: object properties: task_id: type: string description: 'An ID uniquely identifying this task message. For example: ''aa70d8a6-af37-44f4-8768d8899fe274c5''' creator: allOf: - $ref: '#/components/schemas/s12.tasks.v1.Task.User' description: Creator is user that created this task title: type: string description: Title of this task description: type: string description: Description of this task created_at: type: string format: date-time description: Date/time this task was created due_at: type: string format: date-time description: Date/time this task is due priority_id: type: string description: Priority ID of this task status_id: type: string description: 'Status ID of this task @deprecated. For task type of action use status instead. In use by task type of incident.' collaborators: type: array items: type: object $ref: '#/components/schemas/s12.tasks.v1.Task.Collaborator' description: Collaborators of this task template_id: type: string description: Template ID of the inspection the action belongs to inspection: allOf: - $ref: '#/components/schemas/s12.tasks.v1.Task.Inspection' description: Inspection details of the task inspection_item: allOf: - $ref: '#/components/schemas/s12.tasks.v1.Task.InspectionItem' description: Inspection Item details of the task site: allOf: - $ref: '#/components/schemas/s12.tasks.v1.Task.Site' description: Site ID of this task modified_at: type: string format: date-time description: Date/time this task was last modified references: type: array items: type: object $ref: '#/components/schemas/s12.tasks.v1.Task.Reference' description: References on this task. completed_at: type: string format: date-time description: Date/time this task was completed at template_name: type: string description: Template name of the inspection the action belongs to status: allOf: - $ref: '#/components/schemas/s12.tasks.v1.Task.Status' description: Status object of this task asset_id: type: string description: '@deprecated Asset ID of this task' asset: allOf: - $ref: '#/components/schemas/s12.tasks.v1.Task.Asset' description: Asset of this task action_label: type: array items: type: object $ref: '#/components/schemas/s12.tasks.v1.ActionLabel' description: Label of a task unique_id: type: string description: The human readable unique ID of the task type: allOf: - $ref: '#/components/schemas/s12.tasks.v1.TaskType' description: The type of the current task occurred_at: type: string format: date-time description: Date/time this task occurred at task_templates: type: array items: type: object $ref: '#/components/schemas/s12.tasks.v1.TaskTemplate' description: The list of templates linked to the action. title: Task represents a stand-alone task that has been created s12.incidents.v1.InvestigationsService.UpdateInvestigationAccessBody: type: object properties: operations: type: array items: type: object $ref: '#/components/schemas/s12.incidents.v1.SetInvestigationAccessLevelOperation' description: required. The operation to be performed updated_at: type: string format: date-time description: optional. The time that the update has occurred at. title: Request parameters to UpdateInvestigationAccess s12.tasks.v1.AlertEventLevel: type: string enum: - OK - INFO - WARN - CRITICAL default: UNKNOWN_LEVEL description: "- OK: `OK` level indicates that device metric became healthy\n - INFO: `INFO` level indicates that the first alert event sent\n - WARN: `WARN` level indicates that the second alert event sent\n - CRITICAL: `CRITICAL` level indicates that the third alert event sent" title: Alert event level represents a level of importance of the alert event s12.incidents.v1.InvestigationCreatedDetails: type: object title: details pertaining to an investigation being created s12.incidents.v1.ListInvestigationInspectionsResponse: type: object properties: inspections: type: array items: type: object $ref: '#/components/schemas/s12.incidents.v1.InvestigationInspection' description: the list of inspections next_page_token: type: string description: A token which can be used to fetch further results title: Response to ListInvestigationInspections s12.incidents.v1.InvestigationsService.SetDetailFieldOptionsBody: type: object properties: select_options: type: array items: type: object $ref: '#/components/schemas/s12.typefield.v1.FieldOption' description: 'the new options to use Optional. The options of a field select.' title: Request parameters to SetDetailFieldOptions s12.incidents.v1.ListInvestigationsResponse: type: object properties: results: type: array items: type: object $ref: '#/components/schemas/s12.incidents.v1.InvestigationListItem' description: the list of results next_page_token: type: string description: a token which can be used to fetch further results title: Response to ListInvestigations s12.incidents.v1.UnlinkIssuesOperation: type: object properties: issue_ids: type: array items: type: string description: required. The IDs of the issues to unlink from the investigation title: Parameters to the unlink actions operation s12.incidents.v1.StatusOrderChangedDetails: type: object properties: from: type: integer format: int32 description: the previous index for the status to: type: integer format: int32 description: the new index for the status title: details pertaining to a status order being changed s12.incidents.v1.GetInvestigationPDFReportResponse: type: object properties: url: type: string description: Download URL for the PDF report title: Response to GetInvestigationAccess s12.tasks.v1.TaskTemplate: type: object properties: template_id: type: string description: The unique identifier of the template. name: type: string description: Custom defined template name. is_deleted: type: boolean is_archived: type: boolean is_access_denied: type: boolean owner_id: type: string description: The id of the owner of the template description: Metadata related to the template associated with this action. s12.incidents.v1.StatusListItem: type: object properties: status_id: type: string description: unique identifier for the status created_at: type: string format: date-time description: created timestamp for the status modified_at: type: string format: date-time description: last modified timestamp for the status title: type: string description: 'Deprecated. use title_localised instead. title of the status' badge_color: allOf: - $ref: '#/components/schemas/s12.incidents.v1.StatusBadgeColor' description: color of the status badge has_investigation_associated: type: boolean description: Whether this investigations has any associated title_localised: allOf: - $ref: '#/components/schemas/s12.incidents.v1.LocalisedString' description: localised title of the status title: List response for status s12.incidents.v1.LinkActionsOperation: type: object properties: action_ids: type: array items: type: string description: required. The IDs of the actions to link to the investigation title: Parameters to the link actions operation s12.incidents.v1.InvestigationUserActions: type: object properties: set_title: type: boolean description: user can set the title set_description: type: boolean description: user can set the description set_status: type: boolean description: user can set the status list_access: type: boolean description: user can list users with access update_access: type: boolean description: user can update access change_owner: type: boolean description: user can change owner list_actions: type: boolean description: user can list actions count_actions: type: boolean description: user can count actions link_action: type: boolean description: user can link action unlink_action: type: boolean description: user can unlink action list_issues: type: boolean description: user can list issues count_issues: type: boolean description: user can count issues link_issue: type: boolean description: user can link issues unlink_issue: type: boolean description: user can unlink issues list_media: type: boolean description: user can list media count_media: type: boolean description: user can count media add_media: type: boolean description: user can add media remove_media: type: boolean description: user can remove media list_inspections: type: boolean description: user can list inspections count_inspections: type: boolean description: user can count inspections link_inspection: type: boolean description: user can link inspections unlink_inspection: type: boolean description: user can unlink inspections generate_pdf_report: type: boolean description: user can generate a PDF report can_delete: type: boolean description: user can delete the investigation edit_field: type: boolean description: user can edit a field on the investigation delete_field: type: boolean description: user can delete a field on the investigation description: Updates against core fields title: Container for the actions which can be guarded in an investigation s12.tasks.v1.QuestionAnswers: type: object properties: question_id: type: string description: The ID of the question answer_set: type: array items: type: object $ref: '#/components/schemas/s12.tasks.v1.Answer' description: The set of answers that is associated with the question. s12.tasks.v1.Task.AssetMaintenancePlanContext: type: object properties: maintenance_plan: description: The maintenance plan associated with the action. allOf: - $ref: '#/components/schemas/s12.tasks.v1.Task.AssetMaintenancePlan' maintenance_program: description: The maintenance program where the maintenance plan belongs. allOf: - $ref: '#/components/schemas/s12.tasks.v1.Task.AssetMaintenanceProgram' title: 'AssetMaintenancePlanContext is the context of the maintenance plan associated with the action' s12.incidents.v1.SettingsLogEventResource: type: object properties: status: allOf: - $ref: '#/components/schemas/s12.incidents.v1.StatusMeta' description: resource is a status category: allOf: - $ref: '#/components/schemas/s12.incidents.v1.CategoryMetaData' description: resource is a category section: allOf: - $ref: '#/components/schemas/s12.incidents.v1.FieldMetaData' description: resource is a category section detail_field: allOf: - $ref: '#/components/schemas/s12.incidents.v1.DetailFieldMetaData' description: resource is a detail field title: A wrapper message for the resource on a settings log event s12.tasks.v1.Task.ActionContext: type: object properties: title: type: string description: Title of the action description: type: string description: Description of the action creator: allOf: - $ref: '#/components/schemas/s12.tasks.v1.Task.User' description: User that created the action status: allOf: - $ref: '#/components/schemas/s12.tasks.v1.Task.Status' description: Status ID of the action due_at: type: string format: date-time description: Date/time the action is due priority_id: type: string description: Priority ID of the action unique_id: type: string description: The human readable unique ID of the action collaborators: type: array items: type: object $ref: '#/components/schemas/s12.tasks.v1.Task.Collaborator' description: The collaborators of the action inspection: allOf: - $ref: '#/components/schemas/s12.tasks.v1.Task.Inspection' description: The inspection of the related action (if relevant) type: allOf: - $ref: '#/components/schemas/s12.tasks.v1.Type' description: The type id and label associated with the action title: context of an action associated with the incident s12.tasks.v1.CategoryNotificationDetail: type: string enum: - CATEGORY_NOTIFICATION_DETAIL_UNSPECIFIED - CATEGORY_NOTIFICATION_DETAIL_PRIVATE - CATEGORY_NOTIFICATION_DETAIL_SUMMARY - CATEGORY_NOTIFICATION_DETAIL_FULL default: CATEGORY_NOTIFICATION_DETAIL_UNSPECIFIED description: "CategoryNotificationDetail represents the different level of detail for category notifications.\n\n - CATEGORY_NOTIFICATION_DETAIL_UNSPECIFIED: CATEGORY_NOTIFICATION_DETAIL_UNSPECIFIED is the default value and should not be used.\n - CATEGORY_NOTIFICATION_DETAIL_PRIVATE: CATEGORY_NOTIFICATION_DETAIL_PRIVATE notifications will be restricted to public metadata.\n - CATEGORY_NOTIFICATION_DETAIL_SUMMARY: CATEGORY_NOTIFICATION_DETAIL_SUMMARY notifications will include public and private metadata.\n - CATEGORY_NOTIFICATION_DETAIL_FULL: CATEGORY_NOTIFICATION_DETAIL_FULL will include all metadata and detailed responses." s12.incidents.v1.ListInvestigationLogResponse: type: object properties: result: type: array items: type: object $ref: '#/components/schemas/s12.incidents.v1.InvestigationLogEvent' description: The log events next_page_token: type: string description: a token which can be used to fetch further results title: Response to ListInvestigationLog s12.tasks.v1.Task.Group: type: object properties: group_id: type: string description: The UUID of this group. name: type: string description: The name of the group description: The group that is assigned to a task. s12.common.SubscriptionSeatTypes: type: string enum: - SUBSCRIPTION_SEAT_TYPE_UNSPECIFIED - SUBSCRIPTION_SEAT_TYPE_PREMIUM - SUBSCRIPTION_SEAT_TYPE_COLLABORATOR - SUBSCRIPTION_SEAT_TYPE_LITE - SUBSCRIPTION_SEAT_TYPE_SERVICE_USER - SUBSCRIPTION_SEAT_TYPE_SUPPORT default: SUBSCRIPTION_SEAT_TYPE_UNSPECIFIED title: SubscriptionSeatTypes is a list of potential subscription seat types s12.incidents.v1.StatusBadgeColor: type: string enum: - StatusBadgeColorAccent - StatusBadgeColorInfo - StatusBadgeColorNegative - StatusBadgeColorPositive - StatusBadgeColorWarning - StatusBadgeColorSurface default: StatusBadgeColorUnknown description: "- StatusBadgeColorAccent: Color is accent\n - StatusBadgeColorInfo: Color is info\n - StatusBadgeColorNegative: Color is negative\n - StatusBadgeColorPositive: Color is positive\n - StatusBadgeColorWarning: Color is warning\n - StatusBadgeColorSurface: Color is surface" title: The possible colors of status badges s12.tasks.v1.Type: type: object properties: type: description: 'The type associated with an action. We currently only support one type: `Action`.' allOf: - $ref: '#/components/schemas/s12.tasks.v1.TaskType' id: type: string description: The unique identifier of a type. name: type: string description: The name of a type. description: The type associated with an action. s12.incidents.v1.InvestigationsService.SetCategoryDetailFieldsBody: type: object properties: field_ids: type: array items: type: string description: 'the set of fields to have associated with the category if ids are current associated, and not present in this list they will be dissociated. List is order-sensitive.' title: Request parameters to SetCategoryDetailFields s12.incidents.v1.FieldListItem: type: object properties: field_id: type: string description: unique identifier for the field created_at: type: string format: date-time description: created timestamp for the field modified_at: type: string format: date-time description: last modified timestamp for the field title: type: string description: title of the field category_id: type: string description: the category this field is associated with text: allOf: - $ref: '#/components/schemas/s12.incidents.v1.TextFieldSpec' description: field is a text field title: List response for field s12.tasks.v1.Task.AssetMaintenanceProgram.AssetMaintenanceProgramState: type: string enum: - ASSET_MAINTENANCE_PROGRAM_STATE_UNSPECIFIED - ASSET_MAINTENANCE_PROGRAM_STATE_ACTIVE - ASSET_MAINTENANCE_PROGRAM_STATE_DELETED default: ASSET_MAINTENANCE_PROGRAM_STATE_UNSPECIFIED description: " - ASSET_MAINTENANCE_PROGRAM_STATE_UNSPECIFIED: ASSET_MAINTENANCE_PROGRAM_STATE_UNSPECIFIED is an unknown maintenance program state.\n - ASSET_MAINTENANCE_PROGRAM_STATE_ACTIVE: ASSET_MAINTENANCE_PROGRAM_STATE_ACTIVE is a maintenance program state that is active.\n - ASSET_MAINTENANCE_PROGRAM_STATE_DELETED: ASSET_MAINTENANCE_PROGRAM_STATE_DELETED is a maintenance program state that is deleted." s12.incidents.v1.UpsertableField: type: object properties: field_id: type: string description: optional. the field id to update. a new field will be created if unset title: type: string description: required. the title to display for the field text: allOf: - $ref: '#/components/schemas/s12.incidents.v1.TextFieldSpec' description: field is a text field title: An individual field to be upserted s12.incidents.v1.CreateCategoryResponse: type: object properties: category: allOf: - $ref: '#/components/schemas/s12.incidents.v1.Category' description: Category that was created title: Response to CreateCategory s12.inspections.v1.GetInspectionsResponse.InspectionsListItem: type: object properties: id: type: string description: inspections id name: type: string description: title of the inspection completed: type: boolean description: if the inspection is completed or not archived: type: boolean description: if inspection is archived or not score_percentage: type: number format: double description: score percentage score: type: number format: double description: score of the inspection total_score: type: number format: double description: total score of the inspection duration: type: string format: int64 description: total duration of the inspection document_number: type: string description: document number of the inspection date_started: type: string format: date-time description: date the inspection started date_modified: type: string format: date-time description: date the inspection was last modified date_completed: type: string format: date-time description: 'date the inspection was completed. can be a zero date for incomplete inspections' date_conducted: type: string format: date-time description: date the inspection was conducted revision_key: type: string description: revision key of the inspection metadata_image: allOf: - $ref: '#/components/schemas/s12.common.Media' description: metadata image of the inspection template: allOf: - $ref: '#/components/schemas/s12.inspections.v1.GetInspectionsResponse.InspectionsListItem.Template' description: corresponding template data location: allOf: - $ref: '#/components/schemas/s12.inspections.v1.GetInspectionsResponse.InspectionsListItem.Location' description: location data for inspection author: allOf: - $ref: '#/components/schemas/s12.inspections.v1.GetInspectionsResponse.InspectionsListItem.Author' description: inspection author details owner: allOf: - $ref: '#/components/schemas/s12.inspections.v1.GetInspectionsResponse.InspectionsListItem.Owner' description: inspection owner details access_level: allOf: - $ref: '#/components/schemas/s12.inspections.v1.GetInspectionsResponse.InspectionsListItem.AccessLevel' description: Returns the access (highest permission) the user has to this inspection inspection_approval_state: allOf: - $ref: '#/components/schemas/s12.inspections.v1.InspectionApprovalState' description: inspection's approval state date_approved: type: string format: date-time description: date the inspection was last approved last_approver: allOf: - $ref: '#/components/schemas/s12.inspections.v1.GetInspectionsResponse.InspectionsListItem.Approver' description: inspection's last approver details s12.incidents.v1.DeleteInvestigationResponse: type: object title: Response to DeleteInvestigation s12.incidents.v1.SiteDetailFieldContent: type: object properties: uuid: type: string description: the uuid content name: type: string readOnly: true description: the human-readable name of the site title: Field content for a site field s12.incidents.v1.CategoryDescriptionChangedDetails: type: object properties: from: type: string description: the previous description to: type: string description: the new description title: details pertaining to a category description being changed s12.incidents.v1.RemoveMediaOperation: type: object properties: media_ids: type: array items: type: string description: required. The IDs of the media to remove from the investigation title: Parameters to the remove media operation s12.incidents.v1.ListInvestigationMediaResponse: type: object properties: media: type: array items: type: object $ref: '#/components/schemas/s12.incidents.v1.InvestigationMedia' description: the list of media next_page_token: type: string description: A token which can be used to fetch further results title: Response to ListInvestigationMedia google.rpc.Status: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object $ref: '#/components/schemas/google.protobuf.Any' s12.incidents.v1.SetDetailFieldOptionsResponse: type: object title: Response to SetDetailFieldOptions s12.tasks.v1.Task.Reference: type: object properties: type: description: Required. Reference Type. allOf: - $ref: '#/components/schemas/s12.tasks.v1.ReferenceType' id: type: string description: Required. Reference ID. inspection_context: $ref: '#/components/schemas/s12.tasks.v1.Task.InspectionContext' sensor_alert_context: $ref: '#/components/schemas/s12.tasks.v1.Task.SensorAlertContext' sensor_context: $ref: '#/components/schemas/s12.tasks.v1.Task.SensorContext' incident_context: $ref: '#/components/schemas/s12.tasks.v1.Task.IncidentContext' action_context: $ref: '#/components/schemas/s12.tasks.v1.Task.ActionContext' linked_inspection_context: $ref: '#/components/schemas/s12.tasks.v1.Task.LinkedInspectionContext' asset_maintenance_plan_context: $ref: '#/components/schemas/s12.tasks.v1.Task.AssetMaintenancePlanContext' title: 'Reference is a type/id pair defined as:' s12.tasks.v1.Task.SwitchAnswer: type: object properties: answer: type: boolean description: Answer content for SwitchItem description: 'Answer returned for SwitchItem, exists in old inspections Users can’t change answer to them & can’t attach actions to them either.' s12.tasks.v1.Task.DateTimeAnswer: type: object properties: answer: type: string format: date-time description: answer content for DateTimeItem enable_date: type: boolean description: Enable date turns on input for date values enable_time: type: boolean description: Enable date turns on input for time values title: Answer returned for DateTimeItem s12.tasks.v1.Task.DrawingAnswer: type: object properties: media: allOf: - $ref: '#/components/schemas/s12.common.Media' description: media field contains media ID and token to download the media content title: Answer returned for DrawingItem s12.incidents.v1.MultiSiteDetailFieldContent: type: object properties: uuid: type: array items: type: string description: the uuid content names: type: object additionalProperties: type: string readOnly: true description: the human-readable names of the sites title: Field content for a multi-select site field s12.inspections.v1.GetInspectionsResponse.InspectionsListItem.Location: type: object properties: location_text: type: string description: inspection location description location: allOf: - $ref: '#/components/schemas/s12.common.GeoPosition' description: geopositional data related to where the inspection was conducted s12.incidents.v1.InvestigationCourse: type: object properties: linked_at: type: string format: date-time description: The time that the course was linked at course: allOf: - $ref: '#/components/schemas/s12.incidents.v1.CourseItem' description: The course that is linked is_unavailable: type: boolean description: Flag to indicate that the linked course has been deleted or is no longer available title: Wrapper message for any training courses which are linked to an investigation s12.incidents.v1.MediaMetadata: type: object properties: media_id: type: string description: The ID of the media. Must be generated by the caller filename: type: string description: The filename of the media (including extension) media_type: allOf: - $ref: '#/components/schemas/s12.common.MediaType' description: The type of media being uploaded title: An individual media item being uploaded s12.incidents.v1.TextFieldSpec: type: object properties: default_text: type: string description: The default text to set as the content when instances of this field are created title: Field specification for a text field s12.incidents.v1.StatusNameChangedDetails: type: object properties: from: type: string description: the previous name to: type: string description: the new name title: details pertaining to a status name being changed s12.incidents.v1.InvestigationListItem: type: object properties: investigation_id: type: string description: unique identifier for the investigation created_at: type: string format: date-time description: created timestamp for the investigation modified_at: type: string format: date-time description: last modified timestamp for the investigation title: type: string description: title of the investigation description: type: string description: description of the investigation status: allOf: - $ref: '#/components/schemas/s12.incidents.v1.StatusMeta' description: status data from the investigation identifier: allOf: - $ref: '#/components/schemas/s12.incidents.v1.Identifier' description: sequence identifier information for the investigation creator: allOf: - $ref: '#/components/schemas/s12.incidents.v1.UserMeta' description: creator data for the investigation owner: allOf: - $ref: '#/components/schemas/s12.incidents.v1.UserMeta' description: owner data for the investigation link_counts: allOf: - $ref: '#/components/schemas/s12.incidents.v1.LinkCounts' description: number of resources linked to the investigation user_actions: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationUserActions' description: the actions this user is permitted to do modified_by: allOf: - $ref: '#/components/schemas/s12.incidents.v1.UserMeta' description: the user who last modified the investigation user_flags: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationUserFlags' description: the flags for this user category: allOf: - $ref: '#/components/schemas/s12.incidents.v1.CategoryMetaData' description: category data for the investigation detail_fields: type: array items: type: object $ref: '#/components/schemas/s12.incidents.v1.DetailFieldContent' description: detail fields for the investigation category_title_at_creation: type: string description: original category title at creation time title: List response for investigations s12.incidents.v1.GetInvestigationResponse: type: object properties: investigation: allOf: - $ref: '#/components/schemas/s12.incidents.v1.Investigation' description: the investigation resource actions: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationUserActions' description: the actions this user is permitted to do flags: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationUserFlags' description: the flags for this user title: Response to GetInvestigations s12.tasks.v1.Task.SignatureAnswer: type: object properties: media: allOf: - $ref: '#/components/schemas/s12.common.Media' description: media field contains media ID and token to download the media content name: type: string description: name on the signature signed_at: type: string format: date-time description: Timestamp for when the signature answer was last updated title: Signature item stores user name and an image with signature s12.incidents.v1.MultiSelectDetailFieldContent: type: object properties: selected: type: array items: type: string description: the selected options options: type: array items: type: string description: the repeated list of string options available title: Field content for a multi select field s12.incidents.v1.AddMediaOperation: type: object properties: media: type: array items: type: object $ref: '#/components/schemas/s12.incidents.v1.MediaMetadata' description: required. The the media objects to add to the investigation title: Parameters to the add media operation s12.incidents.v1.CreateInvestigationRequest: type: object properties: investigation_id: type: string description: optional. the investigation ID to use for the created resource title: type: string description: optional. the title for the investigation initial_status_id: type: string description: 'optional. the status to create this investigation in initially if not set, the default status for the organisation will be used' originated_from: type: array items: type: object $ref: '#/components/schemas/s12.incidents.v1.OriginatingResource' description: 'optional. the resource(s) that this investigation was originated from. This originating resource(s) will be linked to the investigation.' category_id: type: string description: required. The category to create investigation from title: Request parameters to CreateInvestigation s12.incidents.v1.DetailFieldContent: type: object properties: field_id: type: string description: unique identifier for the detail field title: type: string description: title of the detail field data_type: allOf: - $ref: '#/components/schemas/s12.typefield.v1.FieldValueType' description: the type of the detail field single_select: allOf: - $ref: '#/components/schemas/s12.incidents.v1.SingleSelectDetailFieldContent' description: field has single select content multi_select: allOf: - $ref: '#/components/schemas/s12.incidents.v1.MultiSelectDetailFieldContent' description: field has multi select content date_time: allOf: - $ref: '#/components/schemas/s12.incidents.v1.DateTimeDetailFieldContent' description: field has datetime content site: allOf: - $ref: '#/components/schemas/s12.incidents.v1.SiteDetailFieldContent' description: field has site content multi_site: allOf: - $ref: '#/components/schemas/s12.incidents.v1.MultiSiteDetailFieldContent' description: field has multi-site content title: Per-investigation detail field content s12.incidents.v1.CategorySectionDeletedDetails: type: object title: details pertaining to a category section being deleted s12.inspections.v1.GetInspectionsResponse.InspectionsListItem.Approver: type: object properties: id: type: string description: user id of the approver name: type: string description: name of the approver s12.tasks.v1.Task.AssetMaintenancePlan: type: object properties: id: type: string description: The ID of the maintenance plan. name: type: string description: The name of the maintenance plan. state: description: The state of the maintenance plan. allOf: - $ref: '#/components/schemas/s12.tasks.v1.Task.AssetMaintenancePlan.AssetMaintenancePlanState' description: 'AssetMaintenancePlan represents the maintenance plan associated with the action.' s12.incidents.v1.UpdateStatusesResponse: type: object properties: result: type: array items: type: object $ref: '#/components/schemas/s12.incidents.v1.StatusListItem' description: The updated statuses title: Response to UpdateStatuses s12.common.UserActiveStatus: type: string enum: - USER_ACTIVE_STATUS_UNSPECIFIED - USER_ACTIVE_STATUS_ACTIVE - USER_ACTIVE_STATUS_DEACTIVATED default: USER_ACTIVE_STATUS_UNSPECIFIED description: "- USER_ACTIVE_STATUS_UNSPECIFIED: Status is unknown or not specified\n - USER_ACTIVE_STATUS_ACTIVE: User is active\n - USER_ACTIVE_STATUS_DEACTIVATED: User has been deactivated" title: UserActiveStatus enumerates possible states of 'status' a user may be in s12.incidents.v1.StatusDeletedDetails: type: object title: details pertaining to a status being deleted s12.typefield.v1.FieldValueType: type: string enum: - FIELD_VALUE_TYPE_UNSPECIFIED - FIELD_VALUE_TYPE_STRING - FIELD_VALUE_TYPE_MONEY - FIELD_VALUE_TYPE_TIMESTAMP - FIELD_VALUE_TYPE_USER_ID - FIELD_VALUE_TYPE_SELECT - FIELD_VALUE_TYPE_TEMPLATE_ID - FIELD_VALUE_TYPE_MULTI_SELECT - FIELD_VALUE_TYPE_SITE - FIELD_VALUE_TYPE_MULTI_SITE - FIELD_VALUE_TYPE_INTEGER - FIELD_VALUE_TYPE_ADDRESS - FIELD_VALUE_TYPE_TIMEZONE - FIELD_VALUE_TYPE_CONTACT_DETAILS default: FIELD_VALUE_TYPE_UNSPECIFIED description: "Type of FieldValue.\nDefaults to type String.\n\n - FIELD_VALUE_TYPE_UNSPECIFIED: Field value type unspecified.\n - FIELD_VALUE_TYPE_STRING: Field value type string.\n - FIELD_VALUE_TYPE_MONEY: Field value type money.\n - FIELD_VALUE_TYPE_TIMESTAMP: Field value type timestamp.\n - FIELD_VALUE_TYPE_USER_ID: Field value type user ID.\n - FIELD_VALUE_TYPE_SELECT: Field value type select\n - FIELD_VALUE_TYPE_TEMPLATE_ID: Field value type template ID.\n - FIELD_VALUE_TYPE_MULTI_SELECT: Field value type multi-select\n - FIELD_VALUE_TYPE_SITE: Field value type site\n - FIELD_VALUE_TYPE_MULTI_SITE: Field value type multi-site\n - FIELD_VALUE_TYPE_INTEGER: Field value type integer\n - FIELD_VALUE_TYPE_ADDRESS: Field value type address.\n - FIELD_VALUE_TYPE_TIMEZONE: Field value type timezone\n - FIELD_VALUE_TYPE_CONTACT_DETAILS: Field value type contact details" s12.incidents.v1.InvestigationInspectionUnlinkedDetails: type: object properties: inspection: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationInspection' description: The inspection which has been unlinked title: details related to investigation inspections being unlinked s12.tasks.v1.Task.MediaAnswer: type: object properties: media: type: array items: type: object $ref: '#/components/schemas/s12.common.Media' description: answer content of MediaItem title: Answer returned for MediaItem s12.incidents.v1.ListStatusesResponse: type: object properties: results: type: array items: type: object $ref: '#/components/schemas/s12.incidents.v1.StatusListItem' description: The status results title: Response to ListStatuses s12.incidents.v1.DetailFieldTitleChangedDetails: type: object properties: from: type: string description: the previous title to: type: string description: the new title title: details pertaining to a detail field title being changed s12.incidents.v1.UpdateInvestigationOperation: type: object properties: set_title: allOf: - $ref: '#/components/schemas/s12.incidents.v1.SetTitleOperation' description: Set title field set_description: allOf: - $ref: '#/components/schemas/s12.incidents.v1.SetDescriptionOperation' description: Set description field set_status: allOf: - $ref: '#/components/schemas/s12.incidents.v1.SetStatusOperation' description: Set status field link_actions: allOf: - $ref: '#/components/schemas/s12.incidents.v1.LinkActionsOperation' description: Add actions to the linked actions list unlink_actions: allOf: - $ref: '#/components/schemas/s12.incidents.v1.UnlinkActionsOperation' description: Remove actions from the linked actions list link_issues: allOf: - $ref: '#/components/schemas/s12.incidents.v1.LinkIssuesOperation' description: Add issues to the linked issues list unlink_issues: allOf: - $ref: '#/components/schemas/s12.incidents.v1.UnlinkIssuesOperation' description: Remove issues from the linked issues list link_inspections: allOf: - $ref: '#/components/schemas/s12.incidents.v1.LinkInspectionsOperation' description: Add inspections to the linked inspections list unlink_inspections: allOf: - $ref: '#/components/schemas/s12.incidents.v1.UnlinkInspectionsOperation' description: Remove inspections from the linked inspections list add_media: allOf: - $ref: '#/components/schemas/s12.incidents.v1.AddMediaOperation' description: Add media to the associated media list remove_media: allOf: - $ref: '#/components/schemas/s12.incidents.v1.RemoveMediaOperation' description: Remove media from the associated media list set_field: allOf: - $ref: '#/components/schemas/s12.incidents.v1.SetFieldOperation' description: Set a specific field delete_field: allOf: - $ref: '#/components/schemas/s12.incidents.v1.DeleteFieldOperation' description: Delete a specific field set_detail_field: allOf: - $ref: '#/components/schemas/s12.incidents.v1.SetDetailFieldOperation' description: Set a specific detail field link_courses: allOf: - $ref: '#/components/schemas/s12.incidents.v1.LinkCoursesOperation' description: Add training courses to the linked courses list unlink_courses: allOf: - $ref: '#/components/schemas/s12.incidents.v1.UnlinkCoursesOperation' description: Remove training courses from the linked courses list title: Wrapper for an update operation against an investigation s12.incidents.v1.UnlinkCoursesOperation: type: object properties: course_ids: type: array items: type: string description: 'required. The IDs of the training courses to unlink from the investigation. Training courses use MongoDB ObjectIDs (24-char hex strings), not UUIDs. len min is 24 to enforce the ObjectID length; the validator requires min < max so max is 100.' title: Parameters to the unlink courses operation s12.tasks.v1.Task.Asset: type: object properties: id: type: string description: The UUID of the asset associated with this task. code: type: string description: The code of the asset associated with this task. type_id: type: string description: The id of the asset type associated with this task. s12.incidents.v1.TextFieldContent: type: object properties: text: type: string description: The text content for this field instance title: Field content for a text field s12.incidents.v1.CategoryDetailFieldOrderChangedDetails: type: object properties: from: type: integer format: int32 description: the previous index of the detail field to: type: integer format: int32 description: the next index of the detail field field: allOf: - $ref: '#/components/schemas/s12.incidents.v1.DetailFieldMetaData' description: the field that was reordered title: details pertaining to a category field being re-ordered s12.incidents.v1.LocalisedString: type: object properties: value: type: string description: The string value that has been matched lang: type: string description: The matched language which has been used to provided the value alternatives: allOf: - $ref: '#/components/schemas/s12.incidents.v1.LocalisedStringSet' description: The underlying L10nStringSet which was used to match strings title: A string which has been localised for the end user s12.tasks.v1.MultipleChoiceOption: type: object properties: id: type: string description: The UUID of the multiple choice option. text: type: string description: 'The text of the multiple choice option. This does not use the new `validator.string` option as question processing logic fails when symbols are substituted for similar-looking symbols.' description: MultipleChoiceOption represents a possible answer for a multiple choice question. s12.common.MediaType: type: string enum: - MEDIA_TYPE_IMAGE - MEDIA_TYPE_VIDEO - MEDIA_TYPE_PDF - MEDIA_TYPE_DOCX - MEDIA_TYPE_XLSX - MEDIA_TYPE_PPTX - MEDIA_TYPE_CSV description: " - MEDIA_TYPE_IMAGE: An image file (GIF, JPG, PNG, WEBP).\n - MEDIA_TYPE_VIDEO: A video file (MP4, MOV).\n - MEDIA_TYPE_PDF: A PDF document.\n - MEDIA_TYPE_DOCX: A Microsoft Word document (DOCX, DOC).\n - MEDIA_TYPE_XLSX: A Microsoft Excel spreadsheet (XLSX, XLS).\n - MEDIA_TYPE_PPTX: A Microsoft PowerPoint presentation (PPTX, PPT).\n - MEDIA_TYPE_CSV: A CSV file." s12.incidents.v1.InvestigationStatusChangedDetails: type: object properties: from: allOf: - $ref: '#/components/schemas/s12.incidents.v1.StatusMeta' description: the previous status to: allOf: - $ref: '#/components/schemas/s12.incidents.v1.StatusMeta' description: the new status title: details related to investigation status changing s12.incidents.v1.GetInvestigationCourseCountResponse: type: object properties: count: type: integer format: int32 description: the count of training courses linked to the investigation title: Response to GetInvestigationCourseCount google.protobuf.Any: type: object properties: '@type': type: string description: "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." additionalProperties: {} description: "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" s12.incidents.v1.CreateDetailFieldRequest: type: object properties: attributes: allOf: - $ref: '#/components/schemas/s12.typefield.v1.CreateFieldAttributes' description: Typefield attributes to use for creating field library items title: Request parameters to CreateDetailField s12.tasks.v1.Inspection.InspectionStatus: type: string enum: - INSPECTION_STATUS_UNSPECIFIED - INSPECTION_STATUS_IN_PROGRESS - INSPECTION_STATUS_COMPLETED - INSPECTION_STATUS_DELETED default: INSPECTION_STATUS_UNSPECIFIED description: "- INSPECTION_STATUS_UNSPECIFIED: The status of the inspection is unspecified\n - INSPECTION_STATUS_IN_PROGRESS: The status of the inspection is 'In Progress'\n - INSPECTION_STATUS_COMPLETED: The status of the inspection is 'Completed'\n - INSPECTION_STATUS_DELETED: The status of the inspection is 'Deleted'" title: The status of the linked inspection s12.incidents.v1.UpdateCategoryResponse: type: object properties: category: allOf: - $ref: '#/components/schemas/s12.incidents.v1.Category' description: Category that was upserted title: Response to UpdateCategory s12.tasks.v1.Task.InspectionItem: type: object properties: inspection_item_id: type: string description: ID of the item in the inspection associated with the action inspection_item_name: type: string description: The name of the item in the inspection associated with the action inspection_item_type: type: string description: The type of the item in the inspection associated with the action inspection_item_response_values: type: array items: type: string description: The labels of the responses title: The inspection item data of this task s12.tasks.v1.Inspection: type: object properties: id: type: string description: 'The ID of the linked inspection. This may or may not be a UUID, so we don''t validate it here.' created_at: type: string format: date-time description: The date the inspection was created. status: allOf: - $ref: '#/components/schemas/s12.tasks.v1.Inspection.InspectionStatus' description: The status of the inspection title: type: string description: The title of the inspection template_title: type: string description: The title of the template that this inspection was created from title: Inspection represents an inspection that is linked to an issue s12.tasks.v1.Task.AssetMaintenanceProgram: type: object properties: id: type: string description: The ID of the maintenance program. name: type: string description: The name of the maintenance program. state: description: The state of the maintenance program. allOf: - $ref: '#/components/schemas/s12.tasks.v1.Task.AssetMaintenanceProgram.AssetMaintenanceProgramState' description: 'AssetMaintenanceProgram represents the maintenance program where the maintenance plan belongs.' s12.incidents.v1.Category: type: object properties: category_id: type: string description: unique identifier for the category created_at: type: string format: date-time description: created timestamp for the category modified_at: type: string format: date-time description: modified at timestamp for the category title: type: string description: title of the category description: type: string description: description of the category title: Complete category response s12.incidents.v1.InvestigationsService.UpdateInvestigationBody: type: object properties: operation: allOf: - $ref: '#/components/schemas/s12.incidents.v1.UpdateInvestigationOperation' description: required. The operation to be performed updated_at: type: string format: date-time description: optional. The time that the update has occurred at. title: Request parameters to UpdateInvestigation s12.incidents.v1.LinkIssuesOperation: type: object properties: issue_ids: type: array items: type: string description: required. The IDs of the issues to link to the investigation title: Parameters to the link issues operation s12.common.TemperatureUnit: type: string enum: - KELVIN - CELSIUS - FAHRENHEIT default: UNKNOWN_TEMPERATURE_UNIT description: "- KELVIN: Represents Kelvin temperature unit\n - CELSIUS: Represents Celsius temperature unit\n - FAHRENHEIT: Represents Fahrenheit temperature unit" title: Represents different units to measure temperature s12.incidents.v1.CategorySectionOrderChangedDetails: type: object properties: from: type: integer format: int32 description: the previous index of the section to: type: integer format: int32 description: the new index of for the section title: details pertaining to a category section order being changed s12.incidents.v1.CategoryClonedDetails: type: object properties: cloned_from: type: string description: the current name of the category that this category was cloned from title: details pertaining to a category being cloned s12.incidents.v1.UpdateStatusesRequest: type: object properties: statuses: type: array items: type: object $ref: '#/components/schemas/s12.incidents.v1.UpdatableStatus' description: The set of statuses to set for the organisation status_id_to_assign: type: string description: The status ID to assign existing status references to title: Request parameters to UpdateStatuses s12.common.GeoPosition: type: object properties: longitude: type: number format: double description: The geographical longitude latitude: type: number format: double description: The geographical latitude accuracy: type: integer format: int32 description: The accuracy in meters description: A position is the fundamental geographical geometry construct. s12.tasks.v1.Task.SensorContext: type: object title: context of sensor associated with the action s12.incidents.v1.InvestigationAction: type: object properties: linked_at: type: string format: date-time description: The time that the action was linked at action: allOf: - $ref: '#/components/schemas/s12.tasks.v1.Action' description: The action that is linked is_access_denied: type: boolean description: Flag to indicate that the requester does not have access to the linked action is_deleted: type: boolean description: Flag to indicate that the linked action has been deleted originates_from: allOf: - $ref: '#/components/schemas/s12.incidents.v1.LinkOriginatesFrom' description: If present, represents the resource that this is originally linked to title: Wrapper message for any actions which are linked to an investigation s12.incidents.v1.InvestigationInspection: type: object properties: linked_at: type: string format: date-time description: The time that the inspection was linked at inspection: allOf: - $ref: '#/components/schemas/s12.inspections.v1.GetInspectionsResponse.InspectionsListItem' description: The inspection that is linked is_access_denied: type: boolean description: Flag to indicate that the requester does not have access to the linked inspection is_deleted: type: boolean description: Flag to indicate that the linked inspection has been deleted originates_from: allOf: - $ref: '#/components/schemas/s12.incidents.v1.LinkOriginatesFrom' description: If present, represents the resource that this is originally linked to title: Wrapper message for any inspections which are linked to an investigation s12.tasks.v1.Task.ListAnswer: type: object properties: responses: type: array items: type: object $ref: '#/components/schemas/s12.tasks.v1.Task.ListResponse' description: Responses of inspection item title: Answer returned for ListItem s12.tasks.v1.Task.AddressLocation: type: object properties: name: type: string description: The name of the task's location. thoroughfare: type: string description: The thoroughfare of the location. sub_thoroughfare: type: string description: The sub_thoroughfare of the location, locality: type: string description: The locality of the location sub_locality: type: string description: The sub_locality of the location administrative_area: type: string description: The administrative_area of the location sub_administrative_area: type: string description: The sub_administrative_area of the location postal_code: type: string description: The postal_code of the location country: type: string description: The country of the location iso_country_code: type: string description: The iso_country_code of the location geo_position: allOf: - $ref: '#/components/schemas/s12.common.GeoPosition' description: The geometry of the location description: 'The location of the task. The latitude and longitude in the `geo_position` object are required. All other fields are optional, but add extra context to the location on platform.' s12.incidents.v1.GetInvestigationInspectionCountResponse: type: object properties: count: type: integer format: int32 description: the count of inspections linked to the investigation matching the request title: Response to GetInvestigationInspectionCount s12.incidents.v1.SetStatusOperation: type: object properties: status_id: type: string description: required. The ID of the status to set for the investigation title: Parameters to the set status operation s12.tasks.v1.CategoryUserAccessAsReporter: type: string enum: - CATEGORY_USER_ACCESS_AS_REPORTER_UNSPECIFIED - CATEGORY_USER_ACCESS_AS_REPORTER_ALWAYS - CATEGORY_USER_ACCESS_AS_REPORTER_NEVER - CATEGORY_USER_ACCESS_AS_REPORTER_WHEN_SITE_MEMBER default: CATEGORY_USER_ACCESS_AS_REPORTER_UNSPECIFIED title: "- CATEGORY_USER_ACCESS_AS_REPORTER_UNSPECIFIED: CATEGORY_USER_ACCESS_AS_REPORTER_UNSPECIFIED is the default value and should not be used\n - CATEGORY_USER_ACCESS_AS_REPORTER_ALWAYS: CATEGORY_USER_ACCESS_AS_REPORTER_ALWAYS the user will always gain access to issues they report\n - CATEGORY_USER_ACCESS_AS_REPORTER_NEVER: CATEGORY_USER_ACCESS_AS_REPORTER_NEVER the user will never gain access to issues they report\n - CATEGORY_USER_ACCESS_AS_REPORTER_WHEN_SITE_MEMBER: CATEGORY_USER_ACCESS_AS_REPORTER_WHEN_SITE_MEMBER the user will gain access to issues they report\nwhen they have membership to the site that the issue has been raised at" s12.tasks.v1.Task.Inspection: type: object properties: inspection_id: type: string description: ID of the inspection the action belongs to inspection_name: type: string description: The name of the inspection the action belongs to title: The inspection data of this task s12.incidents.v1.SingleSelectDetailFieldContent: type: object properties: selected: type: string description: the selected option options: type: array items: type: string description: the repeated list of string options available title: Field content for a single select field s12.incidents.v1.FieldMetaData: type: object properties: field_id: type: string description: unique identifier for the field category_id: type: string description: unique identifier for the category title: type: string description: title of the field category_title: type: string description: title of the category title: Metadata about a field s12.tasks.v1.Task.Attachments: type: object properties: note: type: string description: Note inside Attachments of inspectionItem Answer media: type: array items: type: object $ref: '#/components/schemas/s12.common.Media' description: images or pdf inside Attachments of inspectionItem Answer title: Attachments of inspectionItem Answer s12.incidents.v1.FieldContent: type: object properties: field_id: type: string description: unique identifier for the field title: type: string description: title of the field text: allOf: - $ref: '#/components/schemas/s12.incidents.v1.TextFieldContent' description: field has text field content title: Per-investigation field content s12.incidents.v1.CategoryDetailFieldRemovedDetails: type: object properties: field: allOf: - $ref: '#/components/schemas/s12.incidents.v1.DetailFieldMetaData' description: the field that was removed title: details pertaining to a category field being removed s12.incidents.v1.CategoryCreatedDetails: type: object title: details pertaining to a category being created s12.incidents.v1.CategoryListItem: type: object properties: category_id: type: string description: unique identifier for the category created_at: type: string format: date-time description: created timestamp for the category modified_at: type: string format: date-time description: modified at timestamp for the category title: type: string description: title of the category description: type: string description: description of the category total_investigation_count: type: integer format: int32 description: total number of investigations created from the category title: List response for categories s12.tasks.v1.Action: type: object properties: task: allOf: - $ref: '#/components/schemas/s12.tasks.v1.Task' description: Task associated with this action custom_field_and_values: type: array items: type: object $ref: '#/components/schemas/s12.tasks.v1.TaskCustomFieldAndValue' description: Custom fields and their values (if any) belonging to the action type: allOf: - $ref: '#/components/schemas/s12.tasks.v1.Type' description: Custom type id and label associated with the action title: Action represents a stand-alone action that has been created s12.typefield.v1.FieldState: type: string enum: - FIELD_STATE_UNSPECIFIED - FIELD_STATE_ACTIVE - FIELD_STATE_DELETED - FIELD_STATE_ARCHIVED default: FIELD_STATE_UNSPECIFIED description: "State of the field.\n\n - FIELD_STATE_UNSPECIFIED: Field state unspecified.\n - FIELD_STATE_ACTIVE: Field is active.\n - FIELD_STATE_DELETED: Field is deleted.\n - FIELD_STATE_ARCHIVED: Field is archived and no longer active, but not deleted. Cannot be applied to system fields." s12.incidents.v1.SettingsLogEventDetails: type: object properties: status_created: allOf: - $ref: '#/components/schemas/s12.incidents.v1.StatusCreatedDetails' description: details for a status being created status_deleted: allOf: - $ref: '#/components/schemas/s12.incidents.v1.StatusDeletedDetails' description: details for a status being deleted status_name_changed: allOf: - $ref: '#/components/schemas/s12.incidents.v1.StatusNameChangedDetails' description: details for a status name being changed status_color_changed: allOf: - $ref: '#/components/schemas/s12.incidents.v1.StatusColorChangedDetails' description: details for a status color being changed status_order_changed: allOf: - $ref: '#/components/schemas/s12.incidents.v1.StatusOrderChangedDetails' description: details for a status order being changed category_created: allOf: - $ref: '#/components/schemas/s12.incidents.v1.CategoryCreatedDetails' description: details for a category being created category_deleted: allOf: - $ref: '#/components/schemas/s12.incidents.v1.CategoryDeletedDetails' description: details for a category being deleted category_title_changed: allOf: - $ref: '#/components/schemas/s12.incidents.v1.CategoryTitleChangedDetails' description: details for a category title being changed category_description_changed: allOf: - $ref: '#/components/schemas/s12.incidents.v1.CategoryDescriptionChangedDetails' description: details for a category description being changed category_section_created: allOf: - $ref: '#/components/schemas/s12.incidents.v1.CategorySectionCreatedDetails' description: details for a category section being created category_section_removed: allOf: - $ref: '#/components/schemas/s12.incidents.v1.CategorySectionDeletedDetails' description: details for a category section being deleted category_section_order_changed: allOf: - $ref: '#/components/schemas/s12.incidents.v1.CategorySectionOrderChangedDetails' description: details for a category section order being changed category_section_title_changed: allOf: - $ref: '#/components/schemas/s12.incidents.v1.CategorySectionTitleChangedDetails' description: details for a category section title being changed category_section_content_changed: allOf: - $ref: '#/components/schemas/s12.incidents.v1.CategorySectionContentChangedDetails' description: details for a category section content being changed category_detail_field_added: allOf: - $ref: '#/components/schemas/s12.incidents.v1.CategoryDetailFieldAddedDetails' description: details for a category detail field being added category_detail_field_removed: allOf: - $ref: '#/components/schemas/s12.incidents.v1.CategoryDetailFieldRemovedDetails' description: details for a category detail field being removed category_detail_field_order_changed: allOf: - $ref: '#/components/schemas/s12.incidents.v1.CategoryDetailFieldOrderChangedDetails' description: details for a category detail field order being changed detail_field_created: allOf: - $ref: '#/components/schemas/s12.incidents.v1.DetailFieldCreatedDetails' description: details for a detail field being created detail_field_deleted: allOf: - $ref: '#/components/schemas/s12.incidents.v1.DetailFieldDeletedDetails' description: details for a detail field being deleted detail_field_title_changed: allOf: - $ref: '#/components/schemas/s12.incidents.v1.DetailFieldTitleChangedDetails' description: details for a detail field title being changed detail_field_option_added: allOf: - $ref: '#/components/schemas/s12.incidents.v1.DetailFieldOptionAddedDetails' description: details for a detail field option being added detail_field_option_removed: allOf: - $ref: '#/components/schemas/s12.incidents.v1.DetailFieldOptionRemovedDetails' description: details for a detail field option being removed detail_field_option_order_changed: allOf: - $ref: '#/components/schemas/s12.incidents.v1.DetailFieldOptionOrderChangedDetails' description: details for a detail field option order being changed category_cloned: allOf: - $ref: '#/components/schemas/s12.incidents.v1.CategoryClonedDetails' description: details for a category being cloned title: A wrapper message for the additional details that can be contained in settings logs s12.typefield.v1.ContactDetails: type: object properties: name: type: string description: The name of the contact. phone: type: string description: The phone number of the contact. email: type: string description: The email address of the contact. description: Contact details for a person or entity. s12.incidents.v1.GetInvestigationAccessResponse: type: object properties: access: type: array items: type: object $ref: '#/components/schemas/s12.incidents.v1.InvestigationAccessItem' description: The list of investigation access entries title: Response to GetInvestigationAccess s12.tasks.v1.Task.IncidentContext: type: object properties: title: type: string description: Title of the incident description: type: string description: Description of the incident creator: allOf: - $ref: '#/components/schemas/s12.tasks.v1.Task.User' description: User that created the incident status_id: type: string description: Status ID of the incident category_id: type: string description: Category of the incident due_at: type: string format: date-time description: Date/time the incident is due priority_id: type: string description: Priority ID of the incident unique_id: type: string description: The human readable unique ID of the incident collaborators: type: array items: type: object $ref: '#/components/schemas/s12.tasks.v1.Task.Collaborator' description: The collaborators of the incident title: context of an incident associated with the action s12.incidents.v1.CategoryTitleChangedDetails: type: object properties: from: type: string description: the previous title to: type: string description: the new title title: details pertaining to a category title being changed s12.incidents.v1.DetailFieldMetaData: type: object properties: field_id: type: string description: unique identifier for the field title: type: string description: title of the field field_type: allOf: - $ref: '#/components/schemas/s12.typefield.v1.FieldValueType' description: the type of the detail field title: Metadata about a detail field s12.incidents.v1.DetailFieldDeletedDetails: type: object title: details pertaining to a detail field being removed s12.incidents.v1.ListCategoriesResponse: type: object properties: results: type: array items: type: object $ref: '#/components/schemas/s12.incidents.v1.CategoryListItem' description: The category list title: Response to ListCategories s12.incidents.v1.UnlinkActionsOperation: type: object properties: action_ids: type: array items: type: string description: required. The IDs of the actions to unlink from the investigation title: Parameters to the unlink actions operation s12.incidents.v1.Identifier: type: object properties: prefix: type: string description: prefix for the unique identifier e.g. IM sequence: type: integer format: int32 description: sequence number for the unique identifier e.g. 100 for_display: type: string description: identifier data formatted for display e.g. IM-100 title: Partial identifier information for embedding in other messages s12.incidents.v1.CourseItem: type: object properties: course_id: type: string description: The ID of the course title: type: string description: The title of the course description: type: string description: A short description of the course duration: type: string description: The estimated duration of the course (e.g. "30 min") thumbnail_url: type: string description: URL to the course thumbnail image title: A training course linked to an investigation s12.incidents.v1.LinkOriginatesFrom: type: object properties: linked_at: type: string format: date-time description: The time that the originating link was linked_at action: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationAction' description: Link originates from a linked action issue: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationIssue' description: Link originates from a linked issue inspection: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationInspection' description: Link originates from a linked inspection media: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationMedia' description: Link originates from linked media title: Wrapper message to cover the references available for an investigation s12.tasks.v1.Task.Contributor: type: object properties: id: type: string description: The UUID uniquely identifying this contributor name: type: string description: Optional. The contributor's name. email: type: string description: Optional. The contributor's email address. contact: type: string description: Optional. The contributor's (freetext) contact details. title: The contributor that raised the issue s12.incidents.v1.StatusMeta: type: object properties: status_id: type: string description: unique identifier for the status title: type: string description: 'Deprecated. Use title_localised instead. title of the status' badge_color: allOf: - $ref: '#/components/schemas/s12.incidents.v1.StatusBadgeColor' description: color of the status badge title_localised: allOf: - $ref: '#/components/schemas/s12.incidents.v1.LocalisedString' description: localised title of the status title: Partial status for embedding in other messages s12.incidents.v1.CreateCategoryRequest: type: object properties: category_id: type: string description: optional. the category ID to create title: type: string description: optional. the title of the category description: type: string description: optional. the description of the category. title: Request parameters to CreateCategory s12.incidents.v1.SetCategoryDetailFieldsResponse: type: object title: Response to SetCategoryDetailFields s12.incidents.v1.DetailFieldOptionRemovedDetails: type: object properties: option: type: string description: the option that was removed title: details pertaining to a detail field option being removed s12.tasks.v1.AnswerText: type: object properties: text: type: string description: The text that answers the question. description: A type of answer for a custom question containing text data. s12.incidents.v1.InvestigationUserFlags: type: object properties: read_only: type: boolean description: User is accessing an investigation which is 'read only' for them is_owner: type: boolean description: User is the owner of the investigation title: Container for a set of flags associated with a user for an investigation s12.incidents.v1.SetInvestigationAccessLevelOperation: type: object properties: user_id: type: string description: The ID of the user to have their access level changed level: allOf: - $ref: '#/components/schemas/s12.incidents.v1.AccessLevel' description: The access level to grant to the user title: Operation encompassing setting a users access level s12.incidents.v1.UpdateInvestigationResponse: type: object title: Response to UpdateInvestigation s12.incidents.v1.UpdatableStatus: type: object properties: status_id: type: string description: required. the status ID to update badge_color: allOf: - $ref: '#/components/schemas/s12.incidents.v1.StatusBadgeColor' description: required. the badge color to display the status with title_localised: allOf: - $ref: '#/components/schemas/s12.incidents.v1.LocalisedStringSet' description: optional. the set of title strings for the status title: An updatable status object s12.incidents.v1.InvestigationIssueLinkedDetails: type: object properties: issue: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationIssue' description: The issue which has been linked title: details related to investigation issues being linked s12.incidents.v1.CreateDetailFieldResponse: type: object properties: field: allOf: - $ref: '#/components/schemas/s12.typefield.v1.Field' description: the created field title: Response to CreateDetailField s12.typefield.v1.Domain: type: string enum: - DOMAIN_UNSPECIFIED - DOMAIN_GLOBAL - DOMAIN_ASSETS - DOMAIN_CONTRACTORS - DOMAIN_LICENSES_AND_CREDENTIALS - DOMAIN_TASKS - DOMAIN_USERS - DOMAIN_INVESTIGATIONS - DOMAIN_STRUCTURES - DOMAIN_INTEGRATIONS_HRIS_STAGING default: DOMAIN_UNSPECIFIED description: "The domain is used to specify which domain the data is coming from.\nThis allows the shared generic type field service to keep track of which domain owns the data,\nand enforce any domain-specific access control rules.\n\n - DOMAIN_UNSPECIFIED: Domain Unspecified.\n - DOMAIN_GLOBAL: Owned and managed by system can be used by multiple domains\n - DOMAIN_ASSETS: Owned and created from Assets domain\n - DOMAIN_CONTRACTORS: Owned and created from Contractor Management domain\n - DOMAIN_LICENSES_AND_CREDENTIALS: Owned and created from the Licenses and Credentials domain\n - DOMAIN_TASKS: Owned and created from the Tasks domain\n - DOMAIN_USERS: Owned and created from the Users domain\n - DOMAIN_INVESTIGATIONS: Owned and created from the Investigations domain\n - DOMAIN_STRUCTURES: Owned and created from the Organisational Structures domain\n - DOMAIN_INTEGRATIONS_HRIS_STAGING: Owned and created from the Integrations domain" s12.incidents.v1.LinkInspectionsOperation: type: object properties: inspection_ids: type: array items: type: string description: required. The IDs of the inspections to link to the investigation title: Parameters to the link inspections operation s12.incidents.v1.ListInvestigationCoursesResponse: type: object properties: courses: type: array items: type: object $ref: '#/components/schemas/s12.incidents.v1.InvestigationCourse' description: the list of linked training courses next_page_token: type: string description: A token which can be used to fetch further results title: Response to ListInvestigationCourses s12.incidents.v1.InvestigationMedia: type: object properties: uploaded_by: allOf: - $ref: '#/components/schemas/s12.incidents.v1.UserMeta' description: The user who uploaded the media uploaded_at: type: string format: date-time description: The time that the media was uploaded originates_from: allOf: - $ref: '#/components/schemas/s12.incidents.v1.LinkOriginatesFrom' description: If present, represents the resource that this is originally linked to file: allOf: - $ref: '#/components/schemas/s12.common.Media' description: The media that is linked is_access_denied: type: boolean description: Flag to indicate that the requester does not have access to the linked media title: Wrapper message for any media which is uploaded on the investigation s12.tasks.v1.Answer: type: object properties: answer_text: description: AnswerText indicates that this answer is text. allOf: - $ref: '#/components/schemas/s12.tasks.v1.AnswerText' answer_multiple_choice_option: description: MultipleChoiceOption indicates that the question being answered is a multiple choice question. allOf: - $ref: '#/components/schemas/s12.tasks.v1.MultipleChoiceOption' answer_id: type: string description: The ID of the answer. answered_at: type: string format: date-time description: Date and time the question was answered. description: Answer contains information about the answer to a custom question. s12.incidents.v1.Investigation: type: object properties: investigation_id: type: string description: unique identifier for the investigation created_at: type: string format: date-time description: created timestamp for the investigation modified_at: type: string format: date-time description: last modified timestamp for the investigation title: type: string description: title of the investigation description: type: string description: description of the investigation status: allOf: - $ref: '#/components/schemas/s12.incidents.v1.StatusMeta' description: status data from the investigation identifier: allOf: - $ref: '#/components/schemas/s12.incidents.v1.Identifier' description: sequence identifier information for the investigation creator: allOf: - $ref: '#/components/schemas/s12.incidents.v1.UserMeta' description: creator data for the investigation owner: allOf: - $ref: '#/components/schemas/s12.incidents.v1.UserMeta' description: owner data for the investigation fields: type: array items: type: object $ref: '#/components/schemas/s12.incidents.v1.FieldContent' description: fields and content for the investigation link_counts: allOf: - $ref: '#/components/schemas/s12.incidents.v1.LinkCounts' description: number of resources linked to the investigation category: allOf: - $ref: '#/components/schemas/s12.incidents.v1.CategoryMetaData' description: category data for the investigation detail_fields: type: array items: type: object $ref: '#/components/schemas/s12.incidents.v1.DetailFieldContent' description: detail fields and content for the investigation title: Complete investigation response s12.incidents.v1.StatusCreatedDetails: type: object title: details pertaining to a status being created s12.inspections.v1.GetInspectionsResponse.InspectionsListItem.Author: type: object properties: id: type: string description: user id of the author name: type: string description: name of the author s12.typefield.v1.CreateFieldAttributes: type: object properties: name: type: string description: Required. Name of the field. description: type: string description: Description of the field. value_type: description: ValueType of the field. allOf: - $ref: '#/components/schemas/s12.typefield.v1.FieldValueType' id: type: string description: Optional. ID of the field. select_options: type: array items: type: object $ref: '#/components/schemas/s12.typefield.v1.FieldOption' description: Optional. The options of a field select. created_by: type: string description: 'Optional. The user ID of the field creator set as one param due to current rpc CreateField only support AdminCredentialsClient' title: CreateFieldAttributes defines the common criteria to create generic fields. These attributes should be domain agnostic s12.common.MeasurementUnitSymbol: type: string enum: - MEASUREMENT_UNIT_SYMBOL_KILOMETERS - MEASUREMENT_UNIT_SYMBOL_MILES - MEASUREMENT_UNIT_SYMBOL_HOURS - MEASUREMENT_UNIT_SYMBOL_MINUTES - MEASUREMENT_UNIT_SYMBOL_INCHES - MEASUREMENT_UNIT_SYMBOL_FOOT - MEASUREMENT_UNIT_SYMBOL_MILLIMETERS - MEASUREMENT_UNIT_SYMBOL_CENTIMETERS - MEASUREMENT_UNIT_SYMBOL_METERS - MEASUREMENT_UNIT_SYMBOL_MILLILITRES - MEASUREMENT_UNIT_SYMBOL_LITRES - MEASUREMENT_UNIT_SYMBOL_GALLONS - MEASUREMENT_UNIT_SYMBOL_CUBIC_METERS - MEASUREMENT_UNIT_SYMBOL_SECONDS - MEASUREMENT_UNIT_SYMBOL_FAHRENHEIT - MEASUREMENT_UNIT_SYMBOL_CELSIUS - MEASUREMENT_UNIT_SYMBOL_KELVIN - MEASUREMENT_UNIT_SYMBOL_OUNCE - MEASUREMENT_UNIT_SYMBOL_POUNDS - MEASUREMENT_UNIT_SYMBOL_TONNES - MEASUREMENT_UNIT_SYMBOL_GRAMS - MEASUREMENT_UNIT_SYMBOL_KILOGRAMS - MEASUREMENT_UNIT_SYMBOL_AMPERES - MEASUREMENT_UNIT_SYMBOL_HERTZ - MEASUREMENT_UNIT_SYMBOL_OHM - MEASUREMENT_UNIT_SYMBOL_VOLTS - MEASUREMENT_UNIT_SYMBOL_WATTS - MEASUREMENT_UNIT_SYMBOL_CANDELA - MEASUREMENT_UNIT_SYMBOL_CYCLES - MEASUREMENT_UNIT_SYMBOL_PERCENT - MEASUREMENT_UNIT_SYMBOL_POUNDS_PER_SQUARE_INCH - MEASUREMENT_UNIT_SYMBOL_MOLE - MEASUREMENT_UNIT_SYMBOL_DAYS - MEASUREMENT_UNIT_SYMBOL_WEEKS - MEASUREMENT_UNIT_SYMBOL_MONTHS description: "Collection of symbols (km, mi, hr, etc) used in units of measurement.\n\n - MEASUREMENT_UNIT_SYMBOL_KILOMETERS: Measurement unit symbol for kilometers.\n - MEASUREMENT_UNIT_SYMBOL_MILES: Measurement unit symbol for miles.\n - MEASUREMENT_UNIT_SYMBOL_HOURS: Measurement unit symbol for hours.\n - MEASUREMENT_UNIT_SYMBOL_MINUTES: Measurement unit symbol for minutes.\n - MEASUREMENT_UNIT_SYMBOL_INCHES: Measurement unit symbol for inches.\n - MEASUREMENT_UNIT_SYMBOL_FOOT: Measurement unit symbol for foot.\n - MEASUREMENT_UNIT_SYMBOL_MILLIMETERS: Measurement unit symbol for Millimeters.\n - MEASUREMENT_UNIT_SYMBOL_CENTIMETERS: Measurement unit symbol for Centimeters.\n - MEASUREMENT_UNIT_SYMBOL_METERS: Measurement unit symbol for meters.\n - MEASUREMENT_UNIT_SYMBOL_MILLILITRES: Measurement unit symbol for millilitres.\n - MEASUREMENT_UNIT_SYMBOL_LITRES: Measurement unit symbol for litres.\n - MEASUREMENT_UNIT_SYMBOL_GALLONS: Measurement unit symbol for gallons.\n - MEASUREMENT_UNIT_SYMBOL_CUBIC_METERS: Measurement unit symbol for cubic meters.\n - MEASUREMENT_UNIT_SYMBOL_SECONDS: Measurement unit symbol for seconds.\n - MEASUREMENT_UNIT_SYMBOL_FAHRENHEIT: Measurement unit symbol for fahrenheit.\n - MEASUREMENT_UNIT_SYMBOL_CELSIUS: Measurement unit symbol for celsius.\n - MEASUREMENT_UNIT_SYMBOL_KELVIN: Measurement unit symbol for kelvin.\n - MEASUREMENT_UNIT_SYMBOL_OUNCE: Measurement unit symbol for ounce.\n - MEASUREMENT_UNIT_SYMBOL_POUNDS: Measurement unit symbol for pounds.\n - MEASUREMENT_UNIT_SYMBOL_TONNES: Measurement unit symbol for tonnes.\n - MEASUREMENT_UNIT_SYMBOL_GRAMS: Measurement unit symbol for grams.\n - MEASUREMENT_UNIT_SYMBOL_KILOGRAMS: Measurement unit symbol for kilograms.\n - MEASUREMENT_UNIT_SYMBOL_AMPERES: Measurement unit symbol for amperes.\n - MEASUREMENT_UNIT_SYMBOL_HERTZ: Measurement unit symbol for hertz.\n - MEASUREMENT_UNIT_SYMBOL_OHM: Measurement unit symbol for ohm.\n - MEASUREMENT_UNIT_SYMBOL_VOLTS: Measurement unit symbol for volts.\n - MEASUREMENT_UNIT_SYMBOL_WATTS: Measurement unit symbol for watts.\n - MEASUREMENT_UNIT_SYMBOL_CANDELA: Measurement unit symbol for candela.\n - MEASUREMENT_UNIT_SYMBOL_CYCLES: Measurement unit symbol for cycles.\n - MEASUREMENT_UNIT_SYMBOL_PERCENT: Measurement unit symbol for percent.\n - MEASUREMENT_UNIT_SYMBOL_POUNDS_PER_SQUARE_INCH: Measurement unit symbol for pounds per square inch.\n - MEASUREMENT_UNIT_SYMBOL_MOLE: Measurement unit symbol for mole.\n - MEASUREMENT_UNIT_SYMBOL_DAYS: Measurement unit symbol for days.\n - MEASUREMENT_UNIT_SYMBOL_WEEKS: Measurement unit symbol for weeks.\n - MEASUREMENT_UNIT_SYMBOL_MONTHS: Measurement unit symbol for months." s12.incidents.v1.DeleteDetailFieldResponse: type: object title: Response to DeleteDetailField s12.incidents.v1.GetInvestigationIssueCountResponse: type: object properties: count: type: integer format: int32 description: the count of issues linked to the investigation matching the request title: Response to GetInvestigationIssueCount s12.incidents.v1.InvestigationsService.RenameDetailFieldBody: type: object properties: name: type: string description: the new name to use title: Request parameters to RenameDetailField s12.incidents.v1.ListInvestigationIssuesResponse: type: object properties: issues: type: array items: type: object $ref: '#/components/schemas/s12.incidents.v1.InvestigationIssue' description: the list of issues next_page_token: type: string description: A token which can be used to fetch further results title: Response to ListInvestigationIssues s12.tasks.v1.Task.Status: type: object properties: status_id: type: string description: 'An ID uniquely identifying this task status message. For example: ''aa70d8a6-af37-44f4-8768d8899fe274c5''' key: type: string description: 'A pre-defined value that the system can use to handle the particular label e.g. analytics, filter based on it A key may look like: "to do" | "In progress" | "Done" | "Can''t do"' label: type: string description: A label associated with the key, typically for display purposes display_order: type: integer format: int32 description: Used to order this status when displaying a list of statuses title: The task status s12.typefield.v1.MultiSelectValue: type: object properties: option_ids: type: array items: type: string description: UUIDs of the selected options. May be empty if the field was explicitly cleared. has_value: type: boolean description: 'True if this field has ever been explicitly saved (including a clear to empty). Distinguishes "user cleared all selections" from "field was never touched".' description: 'MultiSelectValue represents the value of a multi-select custom field. option_ids contains the UUIDs of the selected options (as strings). An empty option_ids with has_value = true means the field was explicitly cleared. has_value = false (or absent) means the field has never been set on this record.' s12.tasks.v1.Task.NumberComparison: type: object properties: value: type: number format: double description: Used to compare values against a single number. s12.incidents.v1.ListDetailFieldLibraryResponse: type: object properties: fields: type: array items: type: object $ref: '#/components/schemas/s12.typefield.v1.Field' description: the detail fields next_page_token: type: string description: the token for the next page of results title: Response to ListDetailFieldLibrary s12.incidents.v1.RenameDetailFieldResponse: type: object title: Response to RenameDetailField s12.incidents.v1.UnlinkInspectionsOperation: type: object properties: inspection_ids: type: array items: type: string description: required. The IDs of the inspections to unlink from the investigation title: Parameters to the unlink inspections operation s12.tasks.v1.CollaboratorType: type: string enum: - USER - GROUP - EXTERNAL_USER - CONTRIBUTOR default: COLLABORATOR_TYPE_NOT_SET description: "- USER: The collaborator is an internal user.\n - GROUP: The collaborator is a group.\n - EXTERNAL_USER: The collaborator is an external user.\nThis happens when a task is assigned to an email address.\n - CONTRIBUTOR: The collaborator is a contributor.\nA contributor is an individual who raises a task anonymously. For example,\ncreating an incident through the incident QR code functionality." title: The type of the collaborator s12.inspections.v1.GetInspectionsResponse.InspectionsListItem.Owner: type: object properties: id: type: string description: user id of the owner name: type: string description: name of the author s12.incidents.v1.CategorySectionCreatedDetails: type: object title: details pertaining to a category section being created s12.incidents.v1.InvestigationAccessSetDetails: type: object properties: user: allOf: - $ref: '#/components/schemas/s12.incidents.v1.UserMeta' description: The user who has been granted access from_level: allOf: - $ref: '#/components/schemas/s12.incidents.v1.AccessLevel' description: The access level that was previously granted to the user to_level: allOf: - $ref: '#/components/schemas/s12.incidents.v1.AccessLevel' description: The access level that the user has now title: details related to investigation access being granted s12.incidents.v1.InvestigationLogEvent: type: object properties: at: type: string format: date-time description: timestamp for the log event investigation_id: type: string description: unique identifier for the investigation event performed_by: allOf: - $ref: '#/components/schemas/s12.incidents.v1.UserMeta' description: The user who performed this log event details: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationLogEventDetails' description: The additional details for the log event correlation_id: type: string description: 'a unique identifier for use in correlating events that occurred as part of one operation' title: Investigation log event entry s12.incidents.v1.InvestigationLogEventDetails: type: object properties: created: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationCreatedDetails' description: details for investigation being created owner_changed: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationOwnerChangedDetails' description: details for investigation owner changing title_changed: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationTitleChangedDetails' description: details for investigations title changing description_changed: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationDescriptionChangedDetails' description: details for investigation description changing status_changed: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationStatusChangedDetails' description: details for investigation status changing action_linked: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationActionLinkedDetails' description: details for investigation actions being linked action_unlinked: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationActionUnlinkedDetails' description: details for investigation actions being unlinked issue_linked: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationIssueLinkedDetails' description: details for investigation issues being linked issue_unlinked: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationIssueUnlinkedDetails' description: details for investigation issues being unlinked inspection_linked: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationInspectionLinkedDetails' description: details for investigations inspections being linked inspection_unlinked: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationInspectionUnlinkedDetails' description: details for investigation inspections being unlinked media_added: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationMediaAddedDetails' description: details for investigation media being added media_removed: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationMediaRemovedDetails' description: details for investigations media being removed access_set: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationAccessSetDetails' description: details for investigation access being set field_changed: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationFieldChangedDetails' description: details for investigation field changing field_deleted: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationFieldDeletedDetails' description: details for investigation field deleted detail_field_changed: allOf: - $ref: '#/components/schemas/s12.incidents.v1.InvestigationDetailFieldChangedDetails' description: details for investigation detail field changed title: A wrapper message for the additional details that can be contained in investigation logs s12.tasks.v1.Task.Site: type: object properties: id: type: string description: The UUID of the site associated with this task. name: type: string description: The name of the site associated with this task. region: type: string description: The region of the site associated with the task. area: type: string description: The area of the site associated with the task description: The folder (site) data of this task. s12.common.Media: type: object properties: id: type: string token: type: string filename: type: string description: full file name, including file extension media_type: $ref: '#/components/schemas/s12.common.MediaType' title: Represents an image or video s12.incidents.v1.GetInvestigationsCountResponse: type: object properties: count: type: integer format: int32 description: the count of investigations matching the request title: Response to GetInvestigationsCount securitySchemes: BearerAuthentication: type: http scheme: bearer externalDocs: description: How to generate an API Token url: https://help.mitti.com/en-US/000007/ x-provenance: method: searched source: https://developer.mitti.com/reference harvested: '2026-10-14' tool: harvest-readme-openapi.py note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored. assembled_from: - https://developer.mitti.com/reference/actionsservice_createaction.md - https://developer.mitti.com/reference/actionsservice_createactionschedule.md - https://developer.mitti.com/reference/actionsservice_createactionsharedlink.md - https://developer.mitti.com/reference/actionsservice_deleteactions.md - https://developer.mitti.com/reference/actionsservice_getaction.md - https://developer.mitti.com/reference/actionsservice_getactions.md - https://developer.mitti.com/reference/actionsservice_getactionsharedlink.md - https://developer.mitti.com/reference/actionsservice_revokeactionsharedlink.md - https://developer.mitti.com/reference/actionsservice_updateactionlabels.md - https://developer.mitti.com/reference/actionsservice_updateasset.md - https://developer.mitti.com/reference/actionsservice_updateassignees.md - https://developer.mitti.com/reference/actionsservice_updatedescription.md - https://developer.mitti.com/reference/actionsservice_updatedueat.md - https://developer.mitti.com/reference/actionsservice_updatepriority.md - https://developer.mitti.com/reference/actionsservice_updatesite.md - https://developer.mitti.com/reference/actionsservice_updatestatus.md - https://developer.mitti.com/reference/actionsservice_updatetitle.md - https://developer.mitti.com/reference/answerservice_answerasset.md - https://developer.mitti.com/reference/answerservice_answercheckbox.md - https://developer.mitti.com/reference/answerservice_generatedynamicfield.md - https://developer.mitti.com/reference/answerservice_getanswersforinspection.md - https://developer.mitti.com/reference/assetsservice_archiveasset.md - https://developer.mitti.com/reference/assetsservice_bulkcreateassets.md - https://developer.mitti.com/reference/assetsservice_bulkupdateassets.md - https://developer.mitti.com/reference/assetsservice_createasset.md - https://developer.mitti.com/reference/assetsservice_deleteasset.md - https://developer.mitti.com/reference/assetsservice_getasset.md - https://developer.mitti.com/reference/assetsservice_getassetbycode.md - https://developer.mitti.com/reference/assetsservice_listassets.md - https://developer.mitti.com/reference/assetsservice_lookupassetsbyfield.md - https://developer.mitti.com/reference/assetsservice_restorearchivedasset.md - https://developer.mitti.com/reference/assetsservice_setassetfieldvalues.md - https://developer.mitti.com/reference/assetsservice_updateasset.md - https://developer.mitti.com/reference/assetsservice_updateassetlocation.md - https://developer.mitti.com/reference/companydocumentsservice_deletecompanydocumenttype.md - https://developer.mitti.com/reference/companydocumentsservice_listcompanydocuments.md - https://developer.mitti.com/reference/companydocumentsservice_listcompanydocumenttypes.md - https://developer.mitti.com/reference/contractorcompanytypesservice_getcompanytype.md - https://developer.mitti.com/reference/contractorcompanytypesservice_listcompanytypes.md - https://developer.mitti.com/reference/contractorcompanytypesservice_listcompanytypesmetrics.md - https://developer.mitti.com/reference/contractorsservice_createcontractorcompany.md - https://developer.mitti.com/reference/contractorsservice_deletecontractorcompany.md - https://developer.mitti.com/reference/contractorsservice_getcontractorcompany.md - https://developer.mitti.com/reference/contractorsservice_listcompanyusermetadata.md - https://developer.mitti.com/reference/contractorsservice_listcontractorcompanies.md - https://developer.mitti.com/reference/contractorsservice_updatecontractorcompany.md - https://developer.mitti.com/reference/customerconfigurationservice_createcustomfield.md - https://developer.mitti.com/reference/customerconfigurationservice_createtasktype.md - https://developer.mitti.com/reference/customerconfigurationservice_deleteactionlabels.md - https://developer.mitti.com/reference/customerconfigurationservice_deletecustomfield.md - https://developer.mitti.com/reference/customerconfigurationservice_deletetasktype.md - https://developer.mitti.com/reference/customerconfigurationservice_getactionlabels.md - https://developer.mitti.com/reference/customerconfigurationservice_getcategories.md - https://developer.mitti.com/reference/customerconfigurationservice_getorgtasktypeunmappedfields.md - https://developer.mitti.com/reference/customerconfigurationservice_gettasktype.md - https://developer.mitti.com/reference/customerconfigurationservice_gettasktypecustomfields.md - https://developer.mitti.com/reference/customerconfigurationservice_gettasktypes.md - https://developer.mitti.com/reference/customerconfigurationservice_mapfieldtotasktype.md - https://developer.mitti.com/reference/customerconfigurationservice_renamecustomfield.md - https://developer.mitti.com/reference/customerconfigurationservice_renamecustomfieldoptions.md - https://developer.mitti.com/reference/customerconfigurationservice_renametasktype.md - https://developer.mitti.com/reference/customerconfigurationservice_unmapfieldfromtasktype.md - https://developer.mitti.com/reference/customerconfigurationservice_upsertactionlabel.md - https://developer.mitti.com/reference/directory_addusersfoldersassociations.md - https://developer.mitti.com/reference/directory_createfolder.md - https://developer.mitti.com/reference/directory_deletefolders.md - https://developer.mitti.com/reference/directory_getallusersbyfolder.md - https://developer.mitti.com/reference/directory_getfolder.md - https://developer.mitti.com/reference/directory_getfolderidsforuser.md - https://developer.mitti.com/reference/directory_getfolders.md - https://developer.mitti.com/reference/directory_getfoldersbyparent.md - https://developer.mitti.com/reference/directory_getinheritedusersbyfolder.md - https://developer.mitti.com/reference/directory_getorglabels.md - https://developer.mitti.com/reference/directory_getusersbyfolder.md - https://developer.mitti.com/reference/directory_movefolders.md - https://developer.mitti.com/reference/directory_removefoldersassociation.md - https://developer.mitti.com/reference/directory_removeusersassociation.md - https://developer.mitti.com/reference/directory_searchfolders.md - https://developer.mitti.com/reference/directory_updatefolderproperties.md - https://developer.mitti.com/reference/documentspublicservice_archiveitem.md - https://developer.mitti.com/reference/documentspublicservice_bulkaddfileowners.md - https://developer.mitti.com/reference/documentspublicservice_bulkremovefileowners.md - https://developer.mitti.com/reference/documentspublicservice_bulkupdatefileowners.md - https://developer.mitti.com/reference/documentspublicservice_createfile.md - https://developer.mitti.com/reference/documentspublicservice_getfolderchildren.md - https://developer.mitti.com/reference/documentspublicservice_linkfiles.md - https://developer.mitti.com/reference/documentspublicservice_moveitem.md - https://developer.mitti.com/reference/documentspublicservice_searchitems.md - https://developer.mitti.com/reference/documentspublicservice_updatefile.md - https://developer.mitti.com/reference/documenttypesservice_createdocumenttype.md - https://developer.mitti.com/reference/documenttypesservice_deletedocumenttype.md - https://developer.mitti.com/reference/documenttypesservice_getdocumenttype.md - https://developer.mitti.com/reference/documenttypesservice_listdocumenttypes.md - https://developer.mitti.com/reference/documenttypesservice_updatedocumenttype.md - https://developer.mitti.com/reference/externalinspectionservice_getinspectiondetails.md - https://developer.mitti.com/reference/feedservice_credentials.md - https://developer.mitti.com/reference/feedservice_credentialtypes.md - https://developer.mitti.com/reference/feedservice_feedactionfields.md - https://developer.mitti.com/reference/feedservice_feedactionfields2.md - https://developer.mitti.com/reference/feedservice_feedassetsmaintenance.md - https://developer.mitti.com/reference/feedservice_feedcontractorcompanies.md - https://developer.mitti.com/reference/feedservice_feedcontractorcompanydocuments.md - https://developer.mitti.com/reference/feedservice_feedcontractorcompanyusermemberships.md - https://developer.mitti.com/reference/feedservice_feedinvestigationdetailfields.md - https://developer.mitti.com/reference/feedservice_feedinvestigationfields.md - https://developer.mitti.com/reference/feedservice_feedinvestigationrelationships.md - https://developer.mitti.com/reference/feedservice_feedinvestigations.md - https://developer.mitti.com/reference/feedservice_feedmaintenanceplans.md - https://developer.mitti.com/reference/feedservice_feedmaintenanceprograms.md - https://developer.mitti.com/reference/feedservice_feedtrainingcourseprogress.md - https://developer.mitti.com/reference/fieldsservice_createfield.md - https://developer.mitti.com/reference/fieldsservice_deletefield.md - https://developer.mitti.com/reference/fieldsservice_listfields.md - https://developer.mitti.com/reference/fieldsservice_updatefield.md - https://developer.mitti.com/reference/headsupservice_getheadsup.md - https://developer.mitti.com/reference/headsupservice_getheadsupcompletioncounts.md - https://developer.mitti.com/reference/headsupservice_getheadsupmessages.md - https://developer.mitti.com/reference/headsupservice_listheadsupmanage.md - https://developer.mitti.com/reference/headsupservice_listheadsupusers.md - https://developer.mitti.com/reference/incidentsservice_addcollaborators.md - https://developer.mitti.com/reference/incidentsservice_createincident.md - https://developer.mitti.com/reference/incidentsservice_deleteincidents.md - https://developer.mitti.com/reference/incidentsservice_getincident.md - https://developer.mitti.com/reference/incidentsservice_getincidentbyid.md - https://developer.mitti.com/reference/incidentsservice_getincidentquestionsandanswers.md - https://developer.mitti.com/reference/incidentsservice_getincidents.md - https://developer.mitti.com/reference/incidentsservice_getincidentscount.md - https://developer.mitti.com/reference/incidentsservice_getpdfreport.md - https://developer.mitti.com/reference/incidentsservice_removecollaborators.md - https://developer.mitti.com/reference/incidentsservice_submitincident.md - https://developer.mitti.com/reference/incidentsservice_updateasset.md - https://developer.mitti.com/reference/incidentsservice_updatecategory.md - https://developer.mitti.com/reference/incidentsservice_updatedescription.md - https://developer.mitti.com/reference/incidentsservice_updatedueat.md - https://developer.mitti.com/reference/incidentsservice_updateoccurredat.md - https://developer.mitti.com/reference/incidentsservice_updatepriority.md - https://developer.mitti.com/reference/incidentsservice_updatesite.md - https://developer.mitti.com/reference/incidentsservice_updatestatus.md - https://developer.mitti.com/reference/incidentsservice_updatetitle.md - https://developer.mitti.com/reference/inspectionservice_addtableline.md - https://developer.mitti.com/reference/inspectionservice_archiveinspection.md - https://developer.mitti.com/reference/inspectionservice_cloneinspection.md - https://developer.mitti.com/reference/inspectionservice_completeinspection.md - https://developer.mitti.com/reference/inspectionservice_createinspection.md - https://developer.mitti.com/reference/inspectionservice_deleteinspection.md - https://developer.mitti.com/reference/inspectionservice_deletetableline.md - https://developer.mitti.com/reference/inspectionservice_getinspection.md - https://developer.mitti.com/reference/inspectionservice_getinspectionaccess.md - https://developer.mitti.com/reference/inspectionservice_removeinspectionuseraccess.md - https://developer.mitti.com/reference/inspectionservice_restorearchivedinspection.md - https://developer.mitti.com/reference/inspectionservice_setinspectionaccess.md - https://developer.mitti.com/reference/inspectionservice_setinspectionlocation.md - https://developer.mitti.com/reference/inspectionservice_setinspectionsite.md - https://developer.mitti.com/reference/inspectionservice_setowner.md - https://developer.mitti.com/reference/inspectionservice_updateinspection.md - https://developer.mitti.com/reference/inspectionservice_updatetableline.md - https://developer.mitti.com/reference/investigationsservice_clonecategory.md - https://developer.mitti.com/reference/investigationsservice_createcategory.md - https://developer.mitti.com/reference/investigationsservice_createdetailfield.md - https://developer.mitti.com/reference/investigationsservice_createinvestigation.md - https://developer.mitti.com/reference/investigationsservice_deletecategory.md - https://developer.mitti.com/reference/investigationsservice_deletedetailfield.md - https://developer.mitti.com/reference/investigationsservice_deleteinvestigation.md - https://developer.mitti.com/reference/investigationsservice_getinvestigation.md - https://developer.mitti.com/reference/investigationsservice_getinvestigationaccess.md - https://developer.mitti.com/reference/investigationsservice_getinvestigationactioncount.md - https://developer.mitti.com/reference/investigationsservice_getinvestigationcoursecount.md - https://developer.mitti.com/reference/investigationsservice_getinvestigationinspectioncount.md - https://developer.mitti.com/reference/investigationsservice_getinvestigationissuecount.md - https://developer.mitti.com/reference/investigationsservice_getinvestigationmediacount.md - https://developer.mitti.com/reference/investigationsservice_getinvestigationpdfreport.md - https://developer.mitti.com/reference/investigationsservice_getinvestigationscount.md - https://developer.mitti.com/reference/investigationsservice_listcategories.md - https://developer.mitti.com/reference/investigationsservice_listcategorydetailfields.md - https://developer.mitti.com/reference/investigationsservice_listdetailfieldlibrary.md - https://developer.mitti.com/reference/investigationsservice_listfields.md - https://developer.mitti.com/reference/investigationsservice_listinvestigationactions.md - https://developer.mitti.com/reference/investigationsservice_listinvestigationcourses.md - https://developer.mitti.com/reference/investigationsservice_listinvestigationinspections.md - https://developer.mitti.com/reference/investigationsservice_listinvestigationissues.md - https://developer.mitti.com/reference/investigationsservice_listinvestigationlog.md - https://developer.mitti.com/reference/investigationsservice_listinvestigationmedia.md - https://developer.mitti.com/reference/investigationsservice_listinvestigations.md - https://developer.mitti.com/reference/investigationsservice_listsettingslog.md - https://developer.mitti.com/reference/investigationsservice_liststatuses.md - https://developer.mitti.com/reference/investigationsservice_renamedetailfield.md - https://developer.mitti.com/reference/investigationsservice_setcategorydetailfields.md - https://developer.mitti.com/reference/investigationsservice_setdetailfieldoptions.md - https://developer.mitti.com/reference/investigationsservice_updatecategory.md - https://developer.mitti.com/reference/investigationsservice_updatefields.md - https://developer.mitti.com/reference/investigationsservice_updateinvestigation.md - https://developer.mitti.com/reference/investigationsservice_updateinvestigationaccess.md - https://developer.mitti.com/reference/investigationsservice_updateinvestigations.md - https://developer.mitti.com/reference/investigationsservice_updatestatuses.md - https://developer.mitti.com/reference/jobsservice_getjobevents.md - https://developer.mitti.com/reference/jobsservice_getjobs.md - https://developer.mitti.com/reference/maintenanceservice_addassetlastservice.md - https://developer.mitti.com/reference/maintenanceservice_addassetstoprogram.md - https://developer.mitti.com/reference/maintenanceservice_createplan.md - https://developer.mitti.com/reference/maintenanceservice_createprogram.md - https://developer.mitti.com/reference/maintenanceservice_deleteplan.md - https://developer.mitti.com/reference/maintenanceservice_deleteprogram.md - https://developer.mitti.com/reference/maintenanceservice_getprogram.md - https://developer.mitti.com/reference/maintenanceservice_listassetservicehistory.md - https://developer.mitti.com/reference/maintenanceservice_listassetsmaintenancedetails.md - https://developer.mitti.com/reference/maintenanceservice_listassetsmaintenancestatuscounts.md - https://developer.mitti.com/reference/maintenanceservice_listprogramsdetails.md - https://developer.mitti.com/reference/maintenanceservice_removeassetsfromprogram.md - https://developer.mitti.com/reference/maintenanceservice_updateplan.md - https://developer.mitti.com/reference/maintenanceservice_updateprogram.md - https://developer.mitti.com/reference/mediaservice_getdownloadsignedurl.md - https://developer.mitti.com/reference/organisationservice_bulkdeletegroups.md - https://developer.mitti.com/reference/organisationservice_getusergroups.md - https://developer.mitti.com/reference/oshaservice_createcase.md - https://developer.mitti.com/reference/oshaservice_createestablishment.md - https://developer.mitti.com/reference/oshaservice_deletecase.md - https://developer.mitti.com/reference/oshaservice_deleteestablishment.md - https://developer.mitti.com/reference/oshaservice_getcase.md - https://developer.mitti.com/reference/oshaservice_getestablishment.md - https://developer.mitti.com/reference/oshaservice_getestablishmentemployees.md - https://developer.mitti.com/reference/oshaservice_getestablishmenthours.md - https://developer.mitti.com/reference/oshaservice_listcases.md - https://developer.mitti.com/reference/oshaservice_listestablishments.md - https://developer.mitti.com/reference/oshaservice_updatecase.md - https://developer.mitti.com/reference/oshaservice_updateestablishment.md - https://developer.mitti.com/reference/oshaservice_updateestablishmentemployees.md - https://developer.mitti.com/reference/oshaservice_updateestablishmenthours.md - https://developer.mitti.com/reference/partnerintegrationservice_createconfiguration.md - https://developer.mitti.com/reference/partnerintegrationservice_createinstallation.md - https://developer.mitti.com/reference/partnerintegrationservice_deleteconfiguration.md - https://developer.mitti.com/reference/partnerintegrationservice_deleteinstallation.md - https://developer.mitti.com/reference/partnerintegrationservice_getinstallation.md - https://developer.mitti.com/reference/partnerintegrationservice_listapplications.md - https://developer.mitti.com/reference/partnerintegrationservice_listinstallations.md - https://developer.mitti.com/reference/partnerintegrationservice_registerapplication.md - https://developer.mitti.com/reference/partnerintegrationservice_updateapplication.md - https://developer.mitti.com/reference/partnerintegrationservice_updateconfiguration.md - https://developer.mitti.com/reference/permissionsservice_assignpermissionset.md - https://developer.mitti.com/reference/permissionsservice_getpermissionset.md - https://developer.mitti.com/reference/permissionsservice_listpermissionsets.md - https://developer.mitti.com/reference/reportsservice_startinspectionexport.md - https://developer.mitti.com/reference/rolesservice_createrole.md - https://developer.mitti.com/reference/rolesservice_getrole.md - https://developer.mitti.com/reference/rolesservice_updaterole.md - https://developer.mitti.com/reference/schedulesservice_createscheduleitem.md - https://developer.mitti.com/reference/schedulesservice_deletescheduleitem.md - https://developer.mitti.com/reference/schedulesservice_listscheduleitems.md - https://developer.mitti.com/reference/schedulesservice_updatescheduleitem.md - https://developer.mitti.com/reference/schedulingfeedservice_feedscheduleassignees.md - https://developer.mitti.com/reference/schedulingfeedservice_feedscheduleoccurrences.md - https://developer.mitti.com/reference/schedulingfeedservice_feedschedules.md - https://developer.mitti.com/reference/schedulingservice_createnewschedule.md - https://developer.mitti.com/reference/schedulingservice_deleteschedule.md - https://developer.mitti.com/reference/schedulingservice_endschedule.md - https://developer.mitti.com/reference/schedulingservice_getschedule.md - https://developer.mitti.com/reference/schedulingservice_listscheduleaccess.md - https://developer.mitti.com/reference/schedulingservice_listscheduletargets.md - https://developer.mitti.com/reference/schedulingservice_pauseschedule.md - https://developer.mitti.com/reference/schedulingservice_resumeschedule.md - https://developer.mitti.com/reference/schedulingservice_updatescheduleassignees.md - https://developer.mitti.com/reference/schedulingservice_updatescheduledetails.md - https://developer.mitti.com/reference/schedulingservice_updateschedulerecurrence.md - https://developer.mitti.com/reference/schedulingservice_updatescheduletarget.md - https://developer.mitti.com/reference/sensorsservice_deprovisionsensor.md - https://developer.mitti.com/reference/sensorsservice_getsensor.md - https://developer.mitti.com/reference/sensorsservice_getsensorid.md - https://developer.mitti.com/reference/sensorsservice_getsensorlatestreadings.md - https://developer.mitti.com/reference/sensorsservice_ingestsensorreadings.md - https://developer.mitti.com/reference/sensorsservice_listsensors.md - https://developer.mitti.com/reference/sensorsservice_provisionsensor.md - https://developer.mitti.com/reference/sharedlinkservice_generateforwebreport.md - https://developer.mitti.com/reference/statusgroupsservice_addstatusgrouptoassettypes.md - https://developer.mitti.com/reference/statusgroupsservice_createstatusgroup.md - https://developer.mitti.com/reference/statusgroupsservice_deletestatusgroup.md - https://developer.mitti.com/reference/statusgroupsservice_getstatusgroup.md - https://developer.mitti.com/reference/statusgroupsservice_liststatusgroups.md - https://developer.mitti.com/reference/statusgroupsservice_removestatusgroupfromassettypes.md - https://developer.mitti.com/reference/statusgroupsservice_updatestatusgroup.md - https://developer.mitti.com/reference/structuremembershipservice_adduserstorole.md - https://developer.mitti.com/reference/structuremembershipservice_adduserstostructure.md - https://developer.mitti.com/reference/structuremembershipservice_listdirectusersinstructure.md - https://developer.mitti.com/reference/structuremembershipservice_listusersbyrole.md - https://developer.mitti.com/reference/structuremembershipservice_removeusersfromstructure.md - https://developer.mitti.com/reference/structuresfieldsservice_listfields.md - https://developer.mitti.com/reference/structuresservice_createstructure.md - https://developer.mitti.com/reference/structuresservice_getstructuremetadata.md - https://developer.mitti.com/reference/structuresservice_getstructureprofile.md - https://developer.mitti.com/reference/structuresservice_movestructure.md - https://developer.mitti.com/reference/structuresservice_searchstructures.md - https://developer.mitti.com/reference/structuresservice_updatestructure.md - https://developer.mitti.com/reference/tasksservice_updatetaskcustomfield.md - https://developer.mitti.com/reference/templateservice_createtemplatedraft.md - https://developer.mitti.com/reference/templateservice_discardtemplatedraft.md - https://developer.mitti.com/reference/templateservice_gettemplatedefinition.md - https://developer.mitti.com/reference/templateservice_gettemplatedraft.md - https://developer.mitti.com/reference/templateservice_publishtemplate.md - https://developer.mitti.com/reference/templateservice_updatetemplatedraft.md - https://developer.mitti.com/reference/templatesservice_archivetemplate.md - https://developer.mitti.com/reference/templatesservice_deletetemplatebyid.md - https://developer.mitti.com/reference/templatesservice_gettemplatebyid.md - https://developer.mitti.com/reference/templatesservice_gettemplatebyinspectionid.md - https://developer.mitti.com/reference/templatesservice_restorearchivedtemplate.md - https://developer.mitti.com/reference/thepubservice_addnewusertogroup.md - https://developer.mitti.com/reference/thepubservice_adduser.md - https://developer.mitti.com/reference/thepubservice_createglobalresponseset.md - https://developer.mitti.com/reference/thepubservice_creategroup.md - https://developer.mitti.com/reference/thepubservice_creategrsresponse.md - https://developer.mitti.com/reference/thepubservice_deleteglobalresponseset.md - https://developer.mitti.com/reference/thepubservice_deletegrsresponse.md - https://developer.mitti.com/reference/thepubservice_deleteinspectionwebreportlink.md - https://developer.mitti.com/reference/thepubservice_feedactionassignees.md - https://developer.mitti.com/reference/thepubservice_feedactions.md - https://developer.mitti.com/reference/thepubservice_feedactiontimelineitems.md - https://developer.mitti.com/reference/thepubservice_feedactivitylogevents.md - https://developer.mitti.com/reference/thepubservice_feedassets.md - https://developer.mitti.com/reference/thepubservice_feedgroups.md - https://developer.mitti.com/reference/thepubservice_feedgroupusers.md - https://developer.mitti.com/reference/thepubservice_feedinspectionitems.md - https://developer.mitti.com/reference/thepubservice_feedinspections.md - https://developer.mitti.com/reference/thepubservice_feedissueassignees.md - https://developer.mitti.com/reference/thepubservice_feedissuerelationships.md - https://developer.mitti.com/reference/thepubservice_feedissues.md - https://developer.mitti.com/reference/thepubservice_feedissuetimelineitems.md - https://developer.mitti.com/reference/thepubservice_feedscheduleassignees.md - https://developer.mitti.com/reference/thepubservice_feedscheduleoccurrences.md - https://developer.mitti.com/reference/thepubservice_feedschedules.md - https://developer.mitti.com/reference/thepubservice_feedsitemembers.md - https://developer.mitti.com/reference/thepubservice_feedsites.md - https://developer.mitti.com/reference/thepubservice_feedtemplatepermissions.md - https://developer.mitti.com/reference/thepubservice_feedtemplates.md - https://developer.mitti.com/reference/thepubservice_feedusers.md - https://developer.mitti.com/reference/thepubservice_getglobalresponseset.md - https://developer.mitti.com/reference/thepubservice_getinspection.md - https://developer.mitti.com/reference/thepubservice_getinspectiondeeplink.md - https://developer.mitti.com/reference/thepubservice_getinspectionmedia.md - https://developer.mitti.com/reference/thepubservice_getinspectionwebreportlink.md - https://developer.mitti.com/reference/thepubservice_getuser.md - https://developer.mitti.com/reference/thepubservice_getusergroups.md - https://developer.mitti.com/reference/thepubservice_listallglobalresponsesets.md - https://developer.mitti.com/reference/thepubservice_listgroups.md - https://developer.mitti.com/reference/thepubservice_listusersingroup.md - https://developer.mitti.com/reference/thepubservice_removeuser.md - https://developer.mitti.com/reference/thepubservice_searchinspections.md - https://developer.mitti.com/reference/thepubservice_searchtemplates.md - https://developer.mitti.com/reference/thepubservice_searchusers.md - https://developer.mitti.com/reference/thepubservice_shareinspection.md - https://developer.mitti.com/reference/thepubservice_startinspection.md - https://developer.mitti.com/reference/thepubservice_updateglobalresponseset.md - https://developer.mitti.com/reference/thepubservice_updategrsresponse.md - https://developer.mitti.com/reference/thepubservice_updateinspection.md - https://developer.mitti.com/reference/thepubservice_updateuser.md - https://developer.mitti.com/reference/timelineservice_addcomment.md - https://developer.mitti.com/reference/timelineservice_gettimeline.md - https://developer.mitti.com/reference/traininganalyticsservice_getcoursestatistics.md - https://developer.mitti.com/reference/traininganalyticsservice_getlessonattempts.md - https://developer.mitti.com/reference/traininganalyticsservice_getlessonprogressevents.md - https://developer.mitti.com/reference/traininganalyticsservice_getlessonstatistics.md - https://developer.mitti.com/reference/traininganalyticsservice_getrapidrefreshanswers.md - https://developer.mitti.com/reference/traininganalyticsservice_getslidestatistics.md - https://developer.mitti.com/reference/traininganalyticsservice_getslideuserstatistics.md - https://developer.mitti.com/reference/traininganalyticsservice_getsurveyanswers.md - https://developer.mitti.com/reference/traininganalyticsservice_getsurveyquestiondefinitions.md - https://developer.mitti.com/reference/traininganalyticsservice_getuserlessonprogress.md - https://developer.mitti.com/reference/traininganalyticsservice_getuserlessonprogressevents.md - https://developer.mitti.com/reference/trainingcollectionsservice_getcoursecollections.md - https://developer.mitti.com/reference/trainingcollectionsservice_getcoursesbycoursecollectionid.md - https://developer.mitti.com/reference/trainingcourseprogressservice_resetcourseprogress.md - https://developer.mitti.com/reference/trainingcoursesservice_getcourses.md - https://developer.mitti.com/reference/trainingcoursesservice_getlessonsbycourseid.md - https://developer.mitti.com/reference/trainingcoursesservice_updatecourseassignments.md - https://developer.mitti.com/reference/trainingindividualleaderboardsservice_getindividualleaderboardrankings.md - https://developer.mitti.com/reference/trainingindividualleaderboardsservice_getindividualleaderboards.md - https://developer.mitti.com/reference/traininglessonsservice_getlessonbyid.md - https://developer.mitti.com/reference/trainingpathsservice_getpathbyid.md - https://developer.mitti.com/reference/trainingpathsservice_getpaths.md - https://developer.mitti.com/reference/trainingrapidrefreshservice_getrapidrefresh.md - https://developer.mitti.com/reference/trainingrapidrefreshservice_getrapidrefreshbyid.md - https://developer.mitti.com/reference/typesservice_createtype.md - https://developer.mitti.com/reference/typesservice_deletetype.md - https://developer.mitti.com/reference/typesservice_gettype.md - https://developer.mitti.com/reference/typesservice_listtypefields.md - https://developer.mitti.com/reference/typesservice_listtypes.md - https://developer.mitti.com/reference/typesservice_updatetype.md - https://developer.mitti.com/reference/typesservice_updatetypefields.md - https://developer.mitti.com/reference/userattributeservice_getuserattributes.md - https://developer.mitti.com/reference/userattributeservice_setuserattributes.md - https://developer.mitti.com/reference/userdocumentsservice_adddocumentversionforuser.md - https://developer.mitti.com/reference/userdocumentsservice_deleteallmediafordocumentversion.md - https://developer.mitti.com/reference/userdocumentsservice_deletedocumentforuser.md - https://developer.mitti.com/reference/userdocumentsservice_getdocumenthistory.md - https://developer.mitti.com/reference/userdocumentsservice_getdocuments.md - https://developer.mitti.com/reference/userdocumentsservice_getdocumentversion.md - https://developer.mitti.com/reference/userdocumentsservice_getsettings.md - https://developer.mitti.com/reference/userdocumentsservice_updatedocumentversionforuser.md - https://developer.mitti.com/reference/userdocumentsservice_updatesettings.md - https://developer.mitti.com/reference/userfieldservice_createfield.md - https://developer.mitti.com/reference/userfieldservice_deletefield.md - https://developer.mitti.com/reference/userfieldservice_disablefield.md - https://developer.mitti.com/reference/userfieldservice_listfields.md - https://developer.mitti.com/reference/userfieldservice_restorefield.md - https://developer.mitti.com/reference/userfieldservice_setfieldsettings.md - https://developer.mitti.com/reference/userfieldservice_updatefield.md - https://developer.mitti.com/reference/usersservice_cancelcreateorupdateusersjob.md - https://developer.mitti.com/reference/usersservice_createorupdateusers.md - https://developer.mitti.com/reference/usersservice_getcreateorupdateusersjob.md - https://developer.mitti.com/reference/usersservice_initcreateorupdateusersjob.md - https://developer.mitti.com/reference/usersservice_listcreateorupdateusersjobs.md - https://developer.mitti.com/reference/usersservice_listusers.md - https://developer.mitti.com/reference/usersservice_startcreateorupdateusersjob.md - https://developer.mitti.com/reference/webhooksservice_createwebhook.md - https://developer.mitti.com/reference/webhooksservice_deletewebhook.md - https://developer.mitti.com/reference/webhooksservice_generatetoken.md - https://developer.mitti.com/reference/webhooksservice_gettoken.md - https://developer.mitti.com/reference/webhooksservice_getwebhook.md - https://developer.mitti.com/reference/webhooksservice_listwebhooks.md - https://developer.mitti.com/reference/webhooksservice_updatewebhook.md merge: pages: 416 deduped: 3213 conflicts_kept_first: 0