Versions Compared

Key

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

...

Group#OperationPayloadDescription

Modelling storage

1PUT /dataspaces/{dataspace_id}/modules/FileCreate/Update (and validate) a module set . (upload a model file) for the given dataspace.
2GET /dataspaces/{dataspace_id}/modules/
Read all modules in the store for the given dataspace
3GET /dataspaces/{dataspace_id}/modules/{namespace}
Read all modules in the store for the given dataspace and namespace
4GET /dataspaces/{dataspace_id}/modules/{namespace}/{revision}/
Read all modules in the store for the given dataspace, namespace and revision

Anchor Points persistence

6PUT /dataspaces/{dataspace_-id}/anchors/Json Object 

Create an anchor point persistence given a name and a dataspace and module (payload includes anchor ID, namespace and revision)

7GET /dataspaces/{dataspace_-id}/anchors/{anchor_id}/
Read an anchor point persistence and the associated attributes given a anchor ID and a dataspace ID.
8DELETE /dataspaces/{dataspace_-id}/anchors/{anchor_id}/

Delete an anchor point persistence given a anchor ID and a dataspace ID. (will delete whole tree)

9GET /dataspaces/{dataspace_id}/anchors/

Read all anchor points anchor persistence's in the system given a dataspace.

Fragment Node persistence

12PUT /dataspaces/{dataspace_id}/nodes/FileCreate a (root) node for a given anchor point persistence, the node can have children.
14GET /dataspaces/{dataspace_id}/anchors/{anchor_id}/nodes?xpath="..."
Get a node given an anchor point persistence (return just one level with just xpath references to its children)
15GET /dataspaces/{dataspace_id}/nodes&xpath="..."
Get a node (under any anchor point persistence) given a Xpath expression 
17GET /dataspaces/{dataspace_id}/nodes?schema-_node-_identifier="..." 
Get all the relevant nodes given a schema node identifier 
(not need to specify dataspace is schema-node-identifier is globally unique)

...