Resources
...
Note. All urls in below table will be prefixed with something like : <server>/cps/v1/
Group | # | Operation | Payload | Description |
---|---|---|---|---|
Modelling storage | 1 | PUT /dataspaces/{dataspace_-id}/modules/ | File | Create/Update (and validate) a module set (upload a model file) for the given dataspace. |
2 | GET /dataspaces/{dataspace_-id}/modules/ | Read all modules in the store for the given dataspace | ||
3 | GET /dataspaces/{dataspace_-id}/modules/{namespace}/ | Read all modules in the store for the given dataspace and namespace | ||
4 | GET /dataspaces/{dataspace_-id}/modules/{namespace}/{revision}/ | Read all modules in the store for the given dataspace, namespace and revision | ||
Anchor persistence | 6 | PUT /dataspaces/{dataspace-id}/anchors/ | Json Object | Create an anchor persistence given a name and a dataspace and module (payload includes anchor ID, namespace and revision) |
7 | GET /dataspaces/{dataspace-id}/anchors/{anchor_-id}/ | Read an anchor persistence and the associated attributes given a anchor ID persistence and a dataspace ID. | ||
8 | DELETE /dataspaces/{dataspace-id}/anchors/{anchor_-id}/ | Delete an anchor persistence given a anchor ID and persistence and a dataspace ID. (will delete whole tree) | ||
9 | GET /dataspaces/{dataspace_-id}/anchors/ | Read all anchor persistence's in the system given a dataspace. | ||
Node persistence | 12 | PUT /dataspaces/{dataspace_-id}/nodes/ | File | Create a (root) node for a given anchor persistence persistence for the given dataspace, the node can have children. |
14 | GET /dataspaces/{dataspace_-id}/anchors/{anchor_-id}/nodes?xpath="..." | Get a node given an anchor persistence persistence for the given dataspace (return just one level with just xpath references to its children) | ||
15 | GET /dataspaces/{dataspace_-id}/nodes&xpath="..." | Get a node (under any anchor persistence) given a Xpath expression for the given dataspace | ||
17 | GET /dataspaces/{dataspace_-id}/nodes?schema_node_identifier="..." | Get all the relevant nodes given a schema node identifier for the given dataspace (not need to specify dataspace is schema-node-identifier is globally unique) |
...