-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem: Get file information for package (API) endpoint only works for transfers (those sent to backlog) #342
Labels
API
Issues relating to the Archivematica APIs, bugs/new endpoints, etc.
Comments
Logged here recently as well: artefactual/archivematica-storage-service#427 |
The files are indexed through a different route in code, the Example table after storing a handful of AIPs and then sending one SIP to backlog:
Example API output:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behaviour
The endpoint description may be incorrect as this feature (from what I can establish) has never worked for any other package type but a SIP sent to Backlog see: artefactual/archivematica-storage-service@b1a62e8. That being said, if we could provide the same information for users about their AIPs then this does seem to be useful.
Original report of this issue: https://groups.google.com/d/msg/archivematica/SZyinU3Kq9U/B_Tz_FP_AQAJ
Current behaviour
A call to the endpoint will return a blank file array for a transfer that was processed immediately into an AIP:
For a transfer sent to backlog:
Steps to reproduce
For users running HTTPie, they can try an API call (for a package in AIP storage or SIP in transfer backlog):
And they should see the contrasting output.
Your environment (version of Archivematica, OS version, etc)
Docker-compose, Archivematica Storage Service
qa/0.x
For Artefactual use:
Please make sure these steps are taken before moving this issue from Review to Verified in Waffle:
The text was updated successfully, but these errors were encountered: