Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Return code

Meaning

200

OK, purging the object, no return body

404

Object not found in repository. Body is exception as text/plain

401

Unauthorized, the security policy forbade this operation with the supplied user credentials. Body as exception as text/plain

400

Wrong syntax in request. Exception as body, text/plain

500

Other, unknown error encountered

...

(warning) POST /objects/{pid} - ingest or create new object

PUT /objects/{pid} - modify object

...