Versions Compared

Key

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

...

{mods: {mods converted to JSON}, collection: collection_id, derivatives: [location_of_derivatives], private:  [Boolean] <Boolean, default=false> }

GET returns the mods (or otherwise specified subset of metadata), POST requires everything to be able to create a new item, PUTS updates just the supplied JSON.  POST and PUT fail if there is not: mods, a unique pid for the object, valid collection_id, mods, and derivatives.  If private is not specified, it is assumed to be public.  

...