JobList class
Bases: Resource
Creation and get_all
get: tags: - api summary: Get all jobs. description: | Return an array of all jobs.
!!! Note
When the authorization feature is activated (available in the **Enterprise** edition only), the endpoint
requires `TAIPY_READER` role.
Code example:
```shell
curl -X GET http://localhost:5000/api/v1/jobs
```
responses: 200: content: application/json: schema: allOf: - type: object properties: results: type: array items: $ref: '#/components/schemas/JobSchema' post: tags: - api summary: Create a job. description: | Create a job from a task config_id. If the config does not exist, a 404 error is returned.
!!! Note
When the authorization feature is activated (available in the **Enterprise** edition only), the endpoint
requires `TAIPY_EDITOR` role.
Code example:
```shell
curl -X POST http://localhost:5000/api/v1/jobs?task_id=TASK_my_config_75750ed8-4e09-4e00-958d-e352ee426cc9
```
parameters: - in: query name: task_id schema: type: string description: The identifier of the task configuration. responses: 201: content: application/json: schema: type: object properties: message: type: string description: Status message. job: JobSchema