Table of Contents |
---|
Excerpt |
---|
Request URI: /fcr:nodetypes Methods: GET |
...
Status |
|
Status | ||||
---|---|---|---|---|
|
...
application/ld+json, application/ |
...
n-triples, application/rdf+xml, application/ |
...
x-turtle, application/xhtml+xml, application/ |
...
xml, text/html, text/n3, text/plain, text/rdf+n3, text/turtle Example:
Response:
Status:
|
...
The request body format for updating nodetypes is JCR's CND syntax. |
Example:
Code Block |
---|
curl -X POST -H "Content-Type: text/cnd" -d "@cnd.txt" "http://localhost:8080/rest/fcr:nodetypes"
Body:
[fedora:custom_node_type] > fedora:resource mixin
- fedora:thumbnail (string)
|
Response:
Code Block |
---|
Status: 204 No Content |
Status:
...