...
Info | ||
---|---|---|
| ||
The REST API requires that parameters - including path parameters - are URL-encoded. Particularly this is important if you have any PIDs that use escaped-octets in the PID name. In this case the "%" character should be URL-encoded as "%25", eg a PID "changeme:1234%2F56" should be URL-encoded as "changeme:1234%252F56". The ":" PID namespace separator character does not require URL-encoding as it has no special meaning when used in the path component of HTTP URIs; however some software library URL-encoding methods will URL-encode this to %3A - that's not a problem, both ":" and "%3A" will be accepted by the REST API. |
Info | ||
---|---|---|
| ||
If the contents of your request are invalid, and Fedora produces a validation error (eg invalid FOXML on ingest) the HTTP response status code is 400. Previous versions of Fedora reported 500 - Server Failure for validation errors. |
...