Versions Compared

Key

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

...

/rest/{path}/fcr:describe
- GET profile or description [repo describe at root, profiles by type]
- POST unsupported?
- PUT unsupported?
- DELETE unsupported?

 

e.g.:

...

Code Block
GET /rest/fcr:describe

...


  describe the fcrepo4 repository

...



GET /rest/sufia:123456789/fcr:describe

...


  describe the object sufia:123456789 (equivalent to the fcrepo 3.x "object profile")

...

 

GET /rest/sufia:123456789/content/fcr:describe

...


  describe the datastream sufia:123456789/content (equivalent to the fcrepo 3.x "datastream profile")

...



GET /rest/some/arbitrary/jcr\:path/to/sufia:123456789/the/tree/continues/fcr:describe

...


  describe the node

...

 at /rest/some/arbitrary/jcr\:path/to/sufia:123456789/the/tree/continues

...

 (equivalent to the fcrepo3.x "datastream profile"). 
  If the node resolves to a JCR "nt:file", we treat it as a datastream. Else, an object (or collection)

 


Other stuff

/rest/fcr:nextPID
- POST mints an ID

...