Versions Compared

Key

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

...

Group#OperationPayloadDescription

Modelling storage

1PUT /module/{dataspace}FileCreate/Update (and validate) a module set. (upload a model file)
2GET /module/
Read all modules in the store.
3GET /module/{namespace} (see assumption #1 and issue #1)
Read all modules in the store for the given namespace
4GET /module/{namespace}/{revision}
Read all modules in the store for the given namespace and revision
5GET /moduledataspaces/{dataspace} (see issue #1)-id}/modules
Read all modules in the store for the given dataspace

Anchor Points persistence

6PUT /anchor-point/Json Object 

Create an anchor point given a name and a dataspace and module (namespace and revision)

7GET /anchor-point/{dataspace}/{name}/
Read an anchor point and the associated attributes given a name and a dataspace.
8DELETE /anchor-point/{dataspace}/{name}

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

9GET GET /anchor-pointdataspaces/{dataspace} (see isue#1)-id}/anchors

Read all anchor points in the system given a dataspace.

10GET /module/{dataspace}/{anchor-point}/

Get a module (reference), given an anchor point 

11GET /anchor-point/fragment/{dataspace}/{xpath}/
Get the anchor point of a fragment given a fragments a node xpath

Fragment persistence

12PUT /fragment/{dataspace}/{name}/FileCreate a (root)  fragment node for a given anchor point, the fragment node can have children.
13PUT /fragment/{parent-fragment-id}/FileCreate a fragment node given an ID relative to the parent
14GET /fragment/{dataspace}/{name}/
Get a fragment node given an anchor point (return just one level with just xpath references to its children)
15GET /fragmentdataspaces/{dataspace-id}/{xpath}/ (see isue#2)nodes&xpath="..."
Get a fragment node given a Xpath expression 
16GET /fragmentsdataspaces/{dataspace_id}/anchors/{anchor-pointid}/nodes?xpath="..."
Get all the fragments nodes under an anchor point given a anchor point (notice similarity with /fragment/{dataspace}/{anchor-point}/  (just one letter!)
17GET /fragmentdataspaces/{dataspace_id}/schema-node-identifieranchors/{schema-node-identifier}/anchor-id}/nodes schema_node_identifier="..." 
Get all the relevant fragments nodes given a schema node identifier 
(not need to specify dataspace is schema-node-identifier is globally unique)

...