Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add support for jobs/history endpoint #139

Closed
deveaud-m opened this issue Jan 20, 2025 · 0 comments · Fixed by #141
Closed

Add support for jobs/history endpoint #139

deveaud-m opened this issue Jan 20, 2025 · 0 comments · Fixed by #141
Assignees

Comments

@deveaud-m
Copy link
Collaborator

deveaud-m commented Jan 20, 2025

Get jobs details for each uploads:

/jobs/history:
    parameters:
      - name: upload
        required: true
        in: query
        description: Return jobs for the given upload id
        schema:
          type: integer
    get:
      operationId: getJobsHistoryPerUpload
      tags:
        - Job
      summary: Get the history of all the jobs queued based on an upload
      description: Returns the history of all the jobs queued based on an upload
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ShowJob'
        '400':
          description: "Bad Request. 'upload' is a required query param"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Info'
        '403':
          description: Upload is not accessible
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Info'
        '404':
          description: Upload does not exist
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Info'
        default:
          $ref: '#/components/responses/defaultResponse'

/cc @its-sushant

@deveaud-m deveaud-m self-assigned this Jan 20, 2025
@deveaud-m deveaud-m changed the title Add support for new endpoint jobs history Update support for jobs endpoint Jan 20, 2025
@deveaud-m deveaud-m changed the title Update support for jobs endpoint Add support for jobs/history endpoint Jan 24, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant