Closed Baeist closed 2 weeks ago
This end point used to provide a list of assets and their status for assets that did not have the status COMPLETED. After the reset of the database it has stopped working as before and is giving status 400 with the html code.
Hi Lars,
I can't reproduce this error, I'm getting a 200 and a list:
[ { "asset_guid": "test-asset-4", "parent_guid": null, "error_timestamp": null, "status": "METADATA_RECEIVED", "error_message": null, "share_allocation_mb": 40 }, { "asset_guid": "test-asset-2", "parent_guid": "test-asset-1", "error_timestamp": null, "status": "METADATA_RECEIVED", "error_message": null, "share_allocation_mb": 40 }, { "asset_guid": "test-asset-3", "parent_guid": "test-asset-1", "error_timestamp": null, "status": "METADATA_RECEIVED", "error_message": null, "share_allocation_mb": 40 }, ... ]
When calling: https://dassco.dk/ars/api/v1/assets/inprogress/?onlyFailed=false https://dassco.dk/ars/api/v1/assets/inprogress/ https://dassco.dk/ars/api/v1/assets/inprogress
Called through the Postman.
It was an issue with the authorization on my end. It is working.
/ars/api/v1/assets/inprogress/?onlyFailed=false or /ars/api/v1/assets/inprogress/ are giving me 400 back.