archivematica / Issues

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

Problem: Endpoint /api/ingest/copy_metadata_files/ response definition incorrect #1656

Closed jens-st closed 1 month ago

jens-st commented 5 months ago

Version of the documentation Archivematica 1.15.* / Archivematica API

Page (and section, if applicable) where the issue occurs https://www.archivematica.org/en/docs/archivematica-1.15/dev-manual/api/api-reference-archivematica/#copy-metadata

Description of the issue Response definition wrong, maybe copy & paste error (identical to API endpoint above)

Suggested fix The HTTP Response that we get looks like this (no _reingestuuid but an error indicator):

{"error": false, "message": "Metadata files added successfully."}

For Artefactual use:

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

Dhwaniartefact commented 1 month ago

This has been fixed in https://github.com/artefactual/archivematica-docs/commit/01693692e8c2fca02fc1d4ee69d363c9afa52c11