Versions Compared

Key

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

...

Status
subtletrue
colourRed
title404
 If the parent resource doesn't exist, we return a 404. (TODO:

Warning

What if an explicitly provided dsid doesn't exist? Is this a 404 too?

...

 

...

 

Status
colourBlue
titlePOST
 Bulk creation, modification and deletion of resources with a single multipart request

...

Status
colourBlue
titlePOST
 fcr:restore Restore a backup file into the  repository

Infowarning

Does this overwrite existing data? Merge data with the backup?

...

Status
titleGET
 Get the current status of a transaction (

Warning

TODO?

 )

Status
colourBlue
titlePOST
 Create a new transaction

...

Note

Checking fixity requires retrieving the content from the binary store and may take some time. In the event of fixity corruption, in some cases, this will be automatically repaired. See Self-healing storage (link me!).

 

Request Headers:

Status
subtletrue
titleAccept
  text/turtle, text/rdf+n3, application/n3, text/n3, application/rdf+xml, application/json+rdf, application/n-triples, text/html

...

Status
colourBlue
titlePOST
Update the list of node types

Warninginfo

The request body format for updating nodetypes is JCR's CND syntax.  

...

Info

There are some restrictions on what can be modified. (

Warning

TODO: what What are the caveats?)

 

Example:

Code Block
curl -X POST -H "Content-Type: application/sparql-update" -d "@namespaces.rdf" "http://localhost:8080/rest/fcr:namespaces"
 
Body:
# Register the namespace 'info:some-namespace' with the prefix 'some'
INSERT { 
    <info:some-namespace> <http://purl.org/vocab/vann/preferredNamespacePrefix> "some" 
} WHERE { 
 
}

...