Skip to content

Commit

Permalink
GET /internal/tasks/unfetched を削除
Browse files Browse the repository at this point in the history
  • Loading branch information
n-kakuko authored Oct 8, 2024
1 parent 8a881ce commit 7c3a000
Showing 1 changed file with 0 additions and 49 deletions.
49 changes: 0 additions & 49 deletions docs/oas/provider/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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<br/><br/>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:<br/> 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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 7c3a000

Please sign in to comment.