Open giulioturetta opened 2 years ago
It seems POST uwmetadata
call doesn't output status
in JSON response even when it is successful.
In the object/PID/uwmetadata
POST call, status
is (only) in the HTTP response status code.
Phaidra API is not consistent though, sometimes status
exists in the JSON output (e.g. the object/PID/modify
POST call), and sometimes not.
Use case: trying to modify uwmetadata of an inactive object via POST
uwmetadata
call.Log:
API call response:
{"alerts":[{"msg":"401","type":"danger"}]}