Versions Compared

Key

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

...

ModeShape REST API: https://docs.jboss.org/author/display/MODE/REST+Service+3.x#RESTService3.x-5.Updateanodeoraproperty

Content Modeling

/rest/fcr:nodetypes

  - GET /rest/fcr:nodetypes

  - POST /rest/fcr:nodetypes

Warning

The request body format for updating nodetypes is in flux. For now, and in the immediate future, it uses JCR's CND syntax, but we'd prefer a provider-independent format.

 

 

Code Block
GET /rest/fcr:nodetypes
  get the RDFS serialization of the fcrepo4 content model
 
POST /rest/fcr:nodetypes (with Content-Type: text/cnd)
 
  [fedora:custom-node-type] > [fedora:resource]
    - fedora:thumbnail (string)
 
  update the fcrepo4 content model using JCR CND declarations
  

 

External-ish services

/rest/fcr:sitemap
- GET retrieve a sitemap of all the "fedora:object" in the repository (wrapped as a sitemap index, pointing to other sitemaps..) 

...