Vridlo/types/Exercise: Difference between revisions
No edit summary |
No edit summary |
||
Line 27: | Line 27: | ||
* '''approver_slugs''' is ''string array '''optional''''' | * '''approver_slugs''' is ''string array '''optional''''' | ||
Array of the subtask approver slugs in the context of the current assembler. | Array of the subtask approver slugs in the context of the current assembler. | ||
Revision as of 12:23, 12 December 2019
Exercise is write-once structure that represents Exercise model, which is used for describing the subtask of the Assembler's task. It is described as:
- id is natural mandatory read-only internal
Unique internal identifier of the exercise represented by a natural integer.
- no is natural mandatory
Number of subtask in the task. Is unique per task.
- kind is string mandatory
Kind of the subtask.
- app_slug is string mandatory
Unique name of the application, which the RPM belongs to.
- resource is string optional read-only
Name of the source build or resource for the task.
- sha is string optional read-only
Sha
- committer_slug is string optional read-only
The subtask committer slug in the context of the current assembler.
- task_id is string optional read-only
Task identifier in the context of the current assembler.
- approver_slugs is string array optional
Array of the subtask approver slugs in the context of the current assembler.