Methods
-
addNodeMetadataUrl( [nodeId])
-
Generate a URL for adding metadata to a node via a
POSTrequest.Parameters:
Name Type Argument Description nodeIdnumber <optional>
a specific node ID to use; if not provided the
nodeIdproperty of this class will be usedReturns:
the URL
- Type
- string
-
deleteNodeMetadataUrl( [nodeId])
-
Generate a URL for deleting the metadata of a node via a
DELETErequest.Parameters:
Name Type Argument Description nodeIdnumber <optional>
a specific node ID to use; if not provided the
nodeIdproperty of this class will be usedReturns:
the URL
- Type
- string
-
findNodeMetadataUrl( [nodeId] [, sorts] [, pagination])
-
Generate a URL for searching for node metadata.
Parameters:
Name Type Argument Description nodeIdnumber | Array.<number> <optional>
a specific node ID, or array of node IDs, to use; if not provided the
nodeIdsproperty of this class will be used, unlessnullis passed in which case no node IDs will be added to the URL so that all available node metadata objects will be returnedsortsArray.<module:domain~SortDescriptor> <optional>
optional sort settings to use
paginationmodule:domain~Pagination <optional>
optional pagination settings to use
Returns:
the URL
- Type
- string
-
replaceNodeMetadataUrl( [nodeId])
-
Generate a URL for setting the metadata of a node via a
PUTrequest.Parameters:
Name Type Argument Description nodeIdnumber <optional>
a specific node ID to use; if not provided the
nodeIdproperty of this class will be usedReturns:
the URL
- Type
- string
-
viewNodeMetadataUrl( [nodeId])
-
Generate a URL for viewing the configured node's metadata.
Parameters:
Name Type Argument Description nodeIdnumber <optional>
a specific node ID to use; if not provided the
nodeIdproperty of this class will be usedReturns:
the URL
- Type
- string