archivematica / Issues

Issues repository for the Archivematica project
GNU Affero General Public License v3.0
16 stars 1 forks source link

Feature: add start time/end time to /api/v2beta/jobs/<unit UUID>/ API endpoint #1641

Closed scollazo closed 6 months ago

scollazo commented 11 months ago

Please describe the problem you'd like to be solved

We want to consume the /api/v2beta/jobs/\<unit UUID>/ API in enduro-sdps project, but it lacks information about microservices start time/end time.

Describe the solution you'd like to see implemented

Add start time/end time information to the /api/v2beta/jobs/\<unit UUID>/ API endpoint

Describe alternatives you've considered

Run mysql queries and gather the information from the database

Additional context


For Artefactual use:

Before you close this issue, you must check off the following:

scollazo commented 11 months ago

It would be nice if it could also be available in the microservices list in the dashboard, something like

image

replaceafill commented 6 months ago

A detailed parameter was added to the api/v2beta/jobs API endpoint. When the parameter is sent in the request the endpoint will return all the task properties returned by the api/v2beta/task endpoint.