diff --git a/docs/oas/provider/openapi.yaml b/docs/oas/provider/openapi.yaml index aeea8ce..959568b 100644 --- a/docs/oas/provider/openapi.yaml +++ b/docs/oas/provider/openapi.yaml @@ -262,49 +262,6 @@ paths: $ref: '#/components/schemas/error.NotFoundError' example: detail: task not found - /internal/tasks/unfetched: - get: - summary: Fetch tasks for device - description: 'Fetches tasks for execution/cancel

Operation is valid only for task with status: QUEUED or CANCELLING. After the operation task status is changed to appropriate FETCHED state (QUEUED_FETCHED or CANCELLING_FETCHED)' - operationId: getUnfetchedTasks - security: [] - tags: - - tasks - parameters: - - in: query - name: deviceId - required: true - description: Device identifier - schema: - type: string - example: Kawasaki - - in: query - name: status - required: true - description: Fetch tasks with specified status - schema: - $ref: '#/components/schemas/tasks.InternalFetchableTaskStatus' - - in: query - name: maxResults - description: Additional search parameter:
Set max number of quantum tasks to return in single request - schema: - type: integer - example: 1 - responses: - '200': - description: List of tasks for execution (all task data) / cancel (taskIds only) - content: - application/json: - schema: - $ref: '#/components/schemas/tasks.UnfetchedTasksResponse' - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/error.BadRequest' - example: - detail: Bad request malformed input data /internal/results: post: summary: Submit a quantum task result @@ -763,12 +720,6 @@ components: - QUEUED - CANCELLING example: QUEUED - tasks.UnfetchedTasksResponse: - type: array - items: - oneOf: - - $ref: '#/components/schemas/tasks.TaskInfo' - - $ref: '#/components/schemas/tasks.TaskId' results.ResultStatus: type: string enum: