Skip to content

Conversation

@sduenas
Copy link
Member

@sduenas sduenas commented Nov 25, 2024

This PR introduces two changes in the API:

  • Parameters backend and category have been renamed to 'datasource_type' and datasource_category on add_task endpoint.
  • Data returned by the task list includes the new field last_jobs, which includes the data of the last 10 jobs run by a task.

Renames 'backend' and 'category' parameters to 'datasource_type'
and 'datasource_category'.

Signed-off-by: Santiago Dueñas <[email protected]>
@sduenas sduenas requested a review from evamillan November 25, 2024 13:57
@sduenas sduenas mentioned this pull request Nov 25, 2024
The field 'last_jobs' is included when the data about
a task is requested. This field lists the last 10 jobs
run by the task.

Signed-off-by: Santiago Dueñas <[email protected]>
Copy link
Contributor

@evamillan evamillan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sduenas sduenas merged commit f4dcb78 into chaoss:main Nov 26, 2024
2 checks passed
@sduenas sduenas deleted the update-task-api branch November 26, 2024 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants