openapi: 3.0.3 info: title: apibuilder internal version: 0.12.8 description: Internal models used in the implementation of apibuilder components: schemas: IoApibuilderInternalV0ModelsTaskDataDiffVersion: type: object required: - old_version_guid - new_version_guid properties: old_version_guid: type: string format: uuid new_version_guid: type: string format: uuid IoApibuilderInternalV0ModelsTaskDataIndexApplication: type: object required: - application_guid properties: application_guid: type: string format: uuid IoApibuilderInternalV0ModelsTask: type: object required: - guid - data - number_attempts properties: guid: type: string format: uuid data: $ref: '#/components/schemas/IoApibuilderInternalV0UnionsTaskData' number_attempts: description: Records the number of times we have attempted to run this task. Commonly we increment number attempts, process the task, and if succeeds we then delete the task. If it fails, we update last_error. This allows us to retry a task say twice; after which we no longer process the task (can notify an admin of the error). type: integer format: int64 last_error: type: string IoApibuilderInternalV0UnionsTaskData: oneOf: - $ref: '#/components/schemas/IoApibuilderInternalV0ModelsTaskDataIndexApplication' - $ref: '#/components/schemas/IoApibuilderInternalV0ModelsTaskDataDiffVersion'