Resources
...
Note. All urls in below table will be prefixed with something like : <server>/cps/v1/
Group | # | Operation | Payload | Description | |||||
---|---|---|---|---|---|---|---|---|---|
Modelling storage | 1 | PUT /moduledataspaces/{dataspace_id}/modules/ | File | Create/Update (and validate) a module set. (upload a model file) | |||||
2 | GET /module/ | Read all modules in the store. | 3 | GET /module/{namespace}dataspaces/{dataspace_id}/modules/ | Read all modules in the store for the given namespacedataspace | ||||
43 | GET /moduledataspaces/{namespacedataspace_id}/modules/{revisionnamespace} | Read all modules in the store for the given dataspace and namespace and revision | |||||||
54 | GET /dataspaces/{dataspace | -_id}/modules/{namespace}/{revision}/ | Read all modules in the store for the given dataspace, namespace and revision | ||||||
Anchor Points persistence | 6 | PUT /anchor-pointdataspaces/{dataspace_id}/anchors/ | Json Object | Create an anchor point given a name and a dataspace and module (namespace and revision) | |||||
7 | GET /anchor-pointdataspaces/{dataspace_id}/anchors/{name}/ | Read an anchor point and the associated attributes given a name and a dataspace. | |||||||
8 | DELETE /anchor-pointdataspaces/{dataspace_id}/anchors/{name} | Delete an anchor point given a name and a dataspace. (will delete whole tree) | |||||||
9 | GET /dataspaces/{dataspace-id}/anchors | Read all anchor points in the system given a dataspace. | 10 | GET /module/{dataspace}/{anchor-point}/Get a module (reference), given an anchor point | 11 | GET /anchor-point/fragment/{dataspace}/{xpath}/ | Get the anchor point of a fragment given a node xpath | ||
Fragment persistence | 12 | PUT /fragmentdataspaces/{dataspace_id}/{name}nodes/ | File | Create a (root) node for a given anchor point, the node can have children. | |||||
1314 | PUT GET /fragmentdataspaces/{parent-fragmentdataspace-id}/ | File | Create a node given an ID relative to the parent | 14 | GET /fragment/{dataspace}/{name}/anchors/{anchor-id}/nodes?xpath="..." | Get a node given an anchor point (return just one level with just xpath references to its children) | |||
15 | GET /dataspaces/{dataspace-id}/nodes&xpath="..." | Get a node given a Xpath expression | 16 | GET /dataspaces/{dataspace_id}/anchors/{anchor-id}/nodes?xpath="..." | Get all the nodes under an anchor point given a anchor point (notice similarity with /fragment/{dataspace}/{anchor-point}/ (just one letter!)(under any anchor point) given a Xpath expression | ||||
17 | GET /dataspaces/{dataspace_id}/anchors/{anchor-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) |
...