This section lists the certificate APi provided by OPC Publisher providing all public and private key infrastructure (PKI) related API methods.
The method name for all transports other than HTTP (which uses the shown
HTTP methods and resource uris) is the name of the subsection header.
To use the version specific method append "_V1" or "_V2" to the method
name.
POST /v2/pki/https/certs
Add a certificate chain to the trusted https store. The certificate is provided as a concatenated set of certificates with the first the one to add, and the remainder the issuer chain.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The certificate chain. | string (byte) |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful. | No Content |
400 | The passed in information is invalid | ProblemDetails |
500 | An internal error ocurred. | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/pki/rejected/certs/{thumbprint}/approve
Move a rejected certificate from the rejected folder to the trusted folder on the publisher.
Type | Name | Description | Schema |
---|---|---|---|
Path | thumbprint required |
The thumbprint of the certificate to trust. | string |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful. | No Content |
400 | The passed in information is invalid | ProblemDetails |
500 | An internal error ocurred. | ProblemDetails |
application/json
application/x-msgpack
POST /v2/pki/trusted/certs
Add a certificate chain to the specified store. The certificate is provided as a concatenated asn encoded set of certificates with the first the one to add, and the remainder the issuer chain.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The certificate chain. | string (byte) |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful. | No Content |
400 | The passed in information is invalid | ProblemDetails |
500 | An internal error ocurred. | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
DELETE /v2/pki/{store}
Remove all certificates and revocation lists from the specified store.
Type | Name | Description | Schema |
---|---|---|---|
Path | store required |
The store to add the certificate to | string |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful. | No Content |
400 | The passed in information such store name is invalid | ProblemDetails |
404 | Nothing could be found. | ProblemDetails |
500 | An internal error ocurred. | ProblemDetails |
application/json
application/x-msgpack
GET /v2/pki/{store}/certs
Get the certificates in the specified certificate store
Type | Name | Description | Schema |
---|---|---|---|
Path | store required |
The store to enumerate | string |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful. | < X509CertificateModel > array |
400 | The passed in information such as store name is invalid | ProblemDetails |
404 | Nothing could be found. | ProblemDetails |
500 | An internal error ocurred. | ProblemDetails |
application/json
application/x-msgpack
PATCH /v2/pki/{store}/certs
Add a certificate to the specified store. The certificate is provided as a pfx/pkcs12 optionally password protected blob.
Type | Name | Description | Schema |
---|---|---|---|
Path | store required |
The store to add the certificate to | string |
Query | password optional |
The optional password of the pfx | string |
Body | body required |
The pfx encoded certificate. | string (byte) |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful. | No Content |
400 | The passed in information such as store name is invalid | ProblemDetails |
500 | An internal error ocurred. | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
DELETE /v2/pki/{store}/certs/{thumbprint}
Remove a certificate with the provided thumbprint from the specified store.
Type | Name | Description | Schema |
---|---|---|---|
Path | store required |
The store to add the certificate to | string |
Path | thumbprint required |
The thumbprint of the certificate to delete. | string |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful. | No Content |
400 | The passed in information such store name is invalid | ProblemDetails |
404 | Nothing could be found. | ProblemDetails |
500 | An internal error ocurred. | ProblemDetails |
application/json
application/x-msgpack
GET /v2/pki/{store}/crls
Get the certificates in the specified certificated store
Type | Name | Description | Schema |
---|---|---|---|
Path | store required |
The store to enumerate | string |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful. | < string (byte) > array |
400 | The passed in information such as store name is invalid | ProblemDetails |
404 | Nothing could be found. | ProblemDetails |
500 | An internal error ocurred. | ProblemDetails |
application/json
application/x-msgpack
DELETE /v2/pki/{store}/crls
Remove a certificate revocation list from the specified store.
Type | Name | Description | Schema |
---|---|---|---|
Path | store required |
The store to add the certificate to | string |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful. | No Content |
400 | The passed in information such store name is invalid | ProblemDetails |
404 | Nothing could be found. | ProblemDetails |
500 | An internal error ocurred. | ProblemDetails |
application/json
application/x-msgpack
PATCH /v2/pki/{store}/crls
Add a certificate revocation list to the specified store. The certificate revocation list is provided as a der encoded blob.
Type | Name | Description | Schema |
---|---|---|---|
Path | store required |
The store to add the certificate to | string |
Body | body required |
The pfx encoded certificate. | string (byte) |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful. | No Content |
400 | The passed in information is invalid | ProblemDetails |
500 | An internal error ocurred. | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
This section contains the API to configure OPC Publisher.
The method name for all transports other than HTTP (which uses the shown
HTTP methods and resource uris) is the name of the subsection header.
To use the version specific method append "_V1" or "_V2" to the method
name.
GET /v2/configuration
Get a list of nodes under a configured endpoint in the configuration. Further information is provided in the OPC Publisher documentation. configuration.
Type | Name | Description | Schema |
---|---|---|---|
Query | IncludeNodes optional |
Include nodes that make up the configuration | boolean |
HTTP Code | Description | Schema |
---|---|---|
200 | The data was retrieved. | GetConfiguredEndpointsResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
PUT /v2/configuration
Enables clients to update the entire published nodes configuration in one call. This includes clearing the existing configuration. Further information is provided in the OPC Publisher documentation. configuration.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The new published nodes configuration | SetConfiguredEndpointsRequestModel |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful. | No Content |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
PATCH /v2/configuration
Add or update endpoint configuration and nodes on a server. Further information is provided in the OPC Publisher documentation.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The parts of the configuration to add or update. | < PublishedNodesEntryModel > array |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful. | PublishedNodesResponseModel |
404 | The endpoint was not found to add to | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/configuration/bulk
Configure node values to publish and unpublish in bulk. The group field in the Connection Model can be used to specify a writer group identifier that will be used in the configuration entry that is created from it inside OPC Publisher.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The nodes to publish or unpublish. | PublishBulkRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful. | PublishBulkResponseModel |
404 | The item could not be unpublished | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/configuration/diagnostics
Get the list of diagnostics info for all dataset writers in the OPC Publisher at the point the call is received. Further information is provided in the OPC Publisher documentation.
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful. | < PublishDiagnosticInfoModel > array |
405 | Call not supported or functionality disabled. | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
POST /v2/configuration/endpoints/list/nodes
Get the nodes of a published nodes entry object returned earlier from a call to GetConfiguredEndpoints. Further information is provided in the OPC Publisher documentation.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The entry model from a call to GetConfiguredEndpoints for which to gather the nodes. | PublishedNodesEntryModel |
HTTP Code | Description | Schema |
---|---|---|
200 | The information was returned. | GetConfiguredNodesOnEndpointResponseModel |
400 | The passed in information is invalid | ProblemDetails |
404 | The entry was not found. | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/configuration/list
Get all published nodes for a server endpoint. The group field that was used in the Connection Model to start publishing must also be specified in this connection model.
Type | Name | Schema |
---|---|---|
Body | body required |
PublishedItemListRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The items were found and returned. | PublishedItemListResponseModel |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/configuration/nodes
PublishNodes enables a client to add a set of nodes to be published. Further information is provided in the OPC Publisher documentation.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The request contains the nodes to publish. | PublishedNodesEntryModel |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful. | PublishedNodesResponseModel |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/configuration/nodes/unpublish
UnpublishNodes method enables a client to remove nodes from a previously configured DataSetWriter. Further information is provided in the OPC Publisher documentation.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The request payload specifying the nodes to unpublish. | PublishedNodesEntryModel |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful. | PublishedNodesResponseModel |
404 | The nodes could not be unpublished | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/configuration/nodes/unpublish/all
Unpublish all specified nodes or all nodes in the publisher configuration. Further information is provided in the OPC Publisher documentation.
Type | Name | Description | Schema |
---|---|---|---|
Body | body optional |
The request contains the parts of the configuration to remove. | PublishedNodesEntryModel |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful. | PublishedNodesResponseModel |
404 | The nodes could not be unpublished | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/configuration/start
Start publishing values from a node on a server. The group field in the Connection Model can be used to specify a writer group identifier that will be used in the configuration entry that is created from it inside OPC Publisher.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The server and node to publish. | PublishStartRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful. | PublishStartResponseModel |
400 | The passed in information is invalid | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/configuration/stop
Stop publishing values from a node on the specified server. The group field that was used in the Connection Model to start publishing must also be specified in this connection model.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The node to stop publishing | PublishStopRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful. | PublishStopResponseModel |
404 | The item could not be unpublished | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
This section lists the diagnostics APi provided by OPC Publisher providing connection related diagnostics API methods.
The method name for all transports other than HTTP (which uses the shown
HTTP methods and resource uris) is the name of the subsection header.
To use the version specific method append "_V1" or "_V2" to the method
name.
GET /v2/connections
Get all active connections the publisher is currently managing.
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful. | < ConnectionModel > array |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
GET /v2/diagnostics/channels
Get channel diagnostic information for all connections.
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful. | < ChannelDiagnosticModel > array |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
GET /v2/diagnostics/channels/watch
Get channel diagnostic information for all connections. The first set of diagnostics are the diagnostics active for all connections, continue reading to get updates.
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful. | ChannelDiagnosticModelIAsyncEnumerable |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
GET /v2/diagnostics/connections
Get diagnostics for all active clients including server and client session diagnostics.
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful. | ConnectionDiagnosticsModelIAsyncEnumerable |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
GET /v2/reset
Can be used to reset all established connections causing a full reconnect and recreate of all subscriptions.
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful. | No Content |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
OPC UA and network discovery related API.
The method name for all transports other than HTTP (which uses the shown
HTTP methods and resource uris) is the name of the subsection header.
To use the version specific method append "_V1" or "_V2" to the method
POST /v2/discovery
Start network discovery using the provided discovery request configuration. The discovery results are published to the configured default event transport.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The discovery configuration to use during the discovery run. | DiscoveryRequestModel |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | boolean |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/discovery/cancel
Cancel a discovery run that is ongoing using the discovery request token specified in the discover operation.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The information needed to cancel the discovery operation. | DiscoveryCancelRequestModel |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | boolean |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/discovery/findserver
Find servers matching the specified endpoint query spec.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The endpoint query specifying the matching criteria for the discovered endpoints. | ServerEndpointQueryModel |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | ApplicationRegistrationModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/discovery/register
Start server registration. The results of the registration are published as events to the default event transport.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
Contains all information to perform the registration request including discovery url to use. | ServerRegistrationRequestModel |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | boolean |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
This section lists the file transfer API provided by OPC Publisher providing access to file transfer services to move files in and out of a server using the File transfer specification.
The method name for all transports other than HTTP (which uses the shown
HTTP methods and resource uris) is the name of the subsection header.
To use the version specific method append "_V1" or "_V2" to the method
name.
POST /v2/filesystem/create/directory/{name}
Create a new directory in an existing file system or directory on the server.
Type | Name | Description | Schema |
---|---|---|---|
Path | name required |
The name of the directory to create as child under the parent directory provided | string |
Body | body required |
The file system or directory object to create the directory in and the connection information identifying the server to connect to perform the operation on. | FileSystemObjectModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | FileSystemObjectModelServiceResponse |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/filesystem/create/file/{name}
Create a new file in a directory or file system on the server
Type | Name | Description | Schema |
---|---|---|---|
Path | name required |
The name of the file to create as child under the directory or filesystem provided | string |
Body | body required |
The file system or directory object to create the file in and the connection information identifying the server to connect to perform the operation on. | FileSystemObjectModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | FileSystemObjectModelServiceResponse |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/filesystem/delete
Delete a file or directory in an existing file system on the server.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The file or directory object to delete and the connection information identifying the server to connect to perform the operation on. | FileSystemObjectModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | ServiceResultModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/filesystem/delete/{fileOrDirectoryNodeId}
Delete a file or directory in the specified directory or file system.
Type | Name | Description | Schema |
---|---|---|---|
Path | fileOrDirectoryNodeId required |
The node id of the file or directory to delete | string |
Body | body required |
The filesystem or directory object in which to delete the specified file or directory and the connection to use for the operation. | FileSystemObjectModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | ServiceResultModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
GET /v2/filesystem/download
Download a file from the server
Type | Name | Description | Schema |
---|---|---|---|
Header | x-ms-connection required |
The connection information identifying the server to connect to perform the operation on. This is passed as json serialized via the header "x-ms-connection" | string |
Header | x-ms-target required |
The file object to upload. This is passed as json serialized via the header "x-ms-target" | string |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | No Content |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
POST /v2/filesystem/info/file
Gets the file information for a file on the server.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The file object and connection information identifying the server to connect to perform the operation on. | FileSystemObjectModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | FileInfoModelServiceResponse |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/filesystem/list
Gets all file systems of the server.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The connection information identifying the server to connect to perform the operation on. | ConnectionModel |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | FileSystemObjectModelServiceResponseIAsyncEnumerable |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/filesystem/list/directories
Gets all directories in a directory or file system
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The directory or filesystem object and connection information identifying the server to connect to perform the operation on. | FileSystemObjectModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | FileSystemObjectModelIEnumerableServiceResponse |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/filesystem/list/files
Get files in a directory or file system on a server.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The directory or filesystem object and connection information identifying the server to connect to perform the operation on. | FileSystemObjectModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | FileSystemObjectModelIEnumerableServiceResponse |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/filesystem/parent
Gets the parent directory or filesystem of a file or directory.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The file or directory object and connection information identifying the server to connect to perform the operation on. | FileSystemObjectModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | FileSystemObjectModelServiceResponse |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/filesystem/upload
Upload a file to the server.
Type | Name | Description | Schema |
---|---|---|---|
Header | x-ms-connection required |
The connection information identifying the server to connect to perform the operation on. This is passed as json serialized via the header "x-ms-connection" | string |
Header | x-ms-options required |
The file write options to use passed as header "x-ms-mode" | string |
Header | x-ms-target required |
The file object to upload. This is passed as json serialized via the header "x-ms-target" | string |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | No Content |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
This section lists the general APi provided by OPC Publisher providing all connection, endpoint and address space related API methods.
The method name for all transports other than HTTP (which uses the shown
HTTP methods and resource uris) is the name of the subsection header.
To use the version specific method append "_V1" or "_V2" to the method
name.
POST /v2/browse
Recursively browse a node to discover its references and nodes. The results are returned as a stream of nodes and references. Consult the relevant section of the OPC UA reference specification for more information.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The request payload and connection information identifying the server to connect to perform the operation on. | BrowseStreamRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | BrowseStreamChunkModelIAsyncEnumerable |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/browse/first
Browse a a node to discover its references. For more information consult the relevant section of the OPC UA reference specification. The operation might return a continuation token. The continuation token can be used in the BrowseNext method call to retrieve the remainder of references or additional continuation tokens.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The request payload and connection information identifying the server to connect to perform the operation on. | BrowseFirstRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | BrowseFirstResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/browse/next
Browse next
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The request payload and connection information identifying the server to connect to perform the operation on. | BrowseNextRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | BrowseNextResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/browse/path
Translate a start node and browse path into 0 or more target nodes. Allows programming aginst types in OPC UA. For more information consult the relevant section of the OPC UA reference specification.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The request payload and connection information identifying the server to connect to perform the operation on. | BrowsePathRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | BrowsePathResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/call
Call a method on the OPC UA server endpoint with the specified input arguments and received the result in the form of the method output arguments. See the relevant section of the OPC UA reference specification for more information.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The request payload and connection information identifying the server to connect to perform the operation on. | MethodCallRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | MethodCallResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/call/$metadata
Get the metadata for calling the method. This API is obsolete. Use the more powerful GetMetadata method instead.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The request payload and connection information identifying the server to connect to perform the operation on. | MethodMetadataRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | MethodMetadataResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/capabilities
Get the capabilities of the server. The server capabilities are exposed as a property of the server object and this method provides a convinient way to retrieve them.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The request payload and connection information identifying the server to connect to perform the operation on. | RequestHeaderModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | ServerCapabilitiesModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/certificate
Get a server endpoint's certificate and certificate chain if available.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The server endpoint to get the certificate for. | EndpointModel |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | X509CertificateChainModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/history/capabilities
Get the historian capabilities exposed as part of the OPC UA server server object.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The request payload and connection information identifying the server to connect to perform the operation on. | RequestHeaderModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | HistoryServerCapabilitiesModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/history/configuration
Get the historian configuration of a historizing node in the OPC UA server
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The request payload and connection information identifying the server to connect to perform the operation on. | HistoryConfigurationRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | HistoryConfigurationResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/historyread/first
Read the history using the respective OPC UA service call. See the relevant section of the OPC UA reference specification for more information. If continuation is returned the remaining results of the operation can be read using the HistoryReadNext method.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The request payload and connection information identifying the server to connect to perform the operation on. | VariantValueHistoryReadRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | VariantValueHistoryReadResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/historyread/next
Read next history using the respective OPC UA service call. See the relevant section of the OPC UA reference specification for more information.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The request payload and connection information identifying the server to connect to perform the operation on. | HistoryReadNextRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | VariantValueHistoryReadNextResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/historyupdate
Update history using the respective OPC UA service call. Consult the relevant section of the OPC UA reference specification for more information.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The request payload and connection information identifying the server to connect to perform the operation on. | VariantValueHistoryUpdateRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | HistoryUpdateResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/metadata
Get the type metadata for a any node. For data type nodes the response contains the data type metadata including fields. For method nodes the output and input arguments metadata is provided. For objects and object types the instance declaration is returned.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The request payload and connection information identifying the server to connect to perform the operation on. | NodeMetadataRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | NodeMetadataResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/query/compile
Compile a query string into a query spec that can be used when setting up event filters on monitored items that monitor events.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The compilation request and connection information. | QueryCompilationRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | QueryCompilationResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/read
Read the value of a variable node. This uses the service detailed in the relevant section of the OPC UA reference specification.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The request payload and connection information identifying the server to connect to perform the operation on. | ValueReadRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | ValueReadResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/read/attributes
Read any writeable attribute of a specified node on the server. See the relevant section of the OPC UA reference specification for more information. The attributes supported by the node are dependend on the node class of the node.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The request payload and connection information identifying the server to connect to perform the operation on. | ReadRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | ReadResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/test
Test connection to an opc ua server. The call will not establish any persistent connection but will just allow a client to test that the server is available.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The request payload and connection information identifying the server to connect to perform the operation on. | TestConnectionRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | TestConnectionResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/write
Write the value of a variable node. This uses the service detailed in the relevant section of the OPC UA reference specification.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The request payload and connection information identifying the server to connect to perform the operation on. | ValueWriteRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | ValueWriteResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/write/attributes
Write any writeable attribute of a specified node on the server. See the relevant section of the OPC UA reference specification for more information. The attributes supported by the node are dependend on the node class of the node.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The request payload and connection information identifying the server to connect to perform the operation on. | WriteRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | WriteResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
This section lists all OPC UA HDA or Historian related API provided by OPC Publisher.
The method name for all transports other than HTTP (which uses the shown
HTTP methods and resource uris) is the name of the subsection header.
To use the version specific method append "_V1" or "_V2" to the method
name.
POST /v2/history/events/delete
Delete event entries in a timeseries of the server historian. See the relevant section of the OPC UA reference specification and respective service documentation for more information.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The events to delete in the timeseries. | DeleteEventsDetailsModelHistoryUpdateRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | HistoryUpdateResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/history/events/insert
Insert event entries into a specified timeseries of the historian. See the relevant section of the OPC UA reference specification and respective service documentation for more information.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The events to insert into the timeseries. | UpdateEventsDetailsModelHistoryUpdateRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | HistoryUpdateResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/history/events/read
Read an entire event timeseries from an OPC UA server historian as stream. See the relevant section of the OPC UA reference specification and respective service documentation for more information.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The events to read in the timeseries. | ReadEventsDetailsModelHistoryReadRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | HistoricEventModelIAsyncEnumerable |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/history/events/read/first
Read an event timeseries inside the OPC UA server historian. See the relevant section of the OPC UA reference specification and respective service documentation for more information.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The events to read in the timeseries. | ReadEventsDetailsModelHistoryReadRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | HistoricEventModelArrayHistoryReadResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/history/events/read/next
Continue reading an event timeseries inside the OPC UA server historian. See the relevant section of the OPC UA reference specification and respective service documentation for more information.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The continuation from a previous read request. | HistoryReadNextRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | HistoricEventModelArrayHistoryReadNextResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/history/events/replace
Replace events in a timeseries in the historian of the OPC UA server. See the relevant section of the OPC UA reference specification and respective service documentation for more information.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The events to replace with in the timeseries. | UpdateEventsDetailsModelHistoryUpdateRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | HistoryUpdateResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/history/events/upsert
Upsert events into a time series of the opc server historian. See the relevant section of the OPC UA reference specification and respective service documentation for more information.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The events to upsert into the timeseries. | UpdateEventsDetailsModelHistoryUpdateRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | HistoryUpdateResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/history/values/delete
Delete value change entries in a timeseries of the server historian. See the relevant section of the OPC UA reference specification and respective service documentation for more information.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The values to delete in the timeseries. | DeleteValuesDetailsModelHistoryUpdateRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | HistoryUpdateResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/history/values/delete/attimes
Delete value change entries in a timeseries of the server historian. See the relevant section of the OPC UA reference specification and respective service documentation for more information.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The values to delete in the timeseries. | DeleteValuesAtTimesDetailsModelHistoryUpdateRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | HistoryUpdateResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/history/values/delete/modified
Delete value change entries in a timeseries of the server historian. See the relevant section of the OPC UA reference specification and respective service documentation for more information.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The values to delete in the timeseries. | DeleteValuesDetailsModelHistoryUpdateRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | HistoryUpdateResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/history/values/insert
Insert value change entries in a timeseries of the server historian. See the relevant section of the OPC UA reference specification and respective service documentation for more information.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The values to insert into the timeseries. | UpdateValuesDetailsModelHistoryUpdateRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | HistoryUpdateResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/history/values/read
Read an entire timeseries from an OPC UA server historian as stream. See the relevant section of the OPC UA reference specification and respective service documentation for more information.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The values to read in the timeseries. | ReadValuesDetailsModelHistoryReadRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | HistoricValueModelIAsyncEnumerable |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/history/values/read/attimes
Read specific timeseries data from an OPC UA server historian as stream. See the relevant section of the OPC UA reference specification and respective service documentation for more information.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The values to read in the timeseries. | ReadValuesAtTimesDetailsModelHistoryReadRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | HistoricValueModelIAsyncEnumerable |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/history/values/read/first
Read a data change timeseries inside the OPC UA server historian. See the relevant section of the OPC UA reference specification and respective service documentation for more information.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The values to read in the timeseries. | ReadValuesDetailsModelHistoryReadRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | HistoricValueModelArrayHistoryReadResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/history/values/read/first/attimes
Read parts of a timeseries inside the OPC UA server historian. See the relevant section of the OPC UA reference specification and respective service documentation for more information.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The values to read in the timeseries. | ReadValuesAtTimesDetailsModelHistoryReadRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | HistoricValueModelArrayHistoryReadResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/history/values/read/first/modified
Read modified changes in a timeseries inside the OPC UA server historian. See the relevant section of the OPC UA reference specification and respective service documentation for more information.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The values to read in the timeseries. | ReadModifiedValuesDetailsModelHistoryReadRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | HistoricValueModelArrayHistoryReadResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/history/values/read/first/processed
Read processed timeseries data inside the OPC UA server historian. See the relevant section of the OPC UA reference specification and respective service documentation for more information.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The values to read in the timeseries. | ReadProcessedValuesDetailsModelHistoryReadRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | HistoricValueModelArrayHistoryReadResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/history/values/read/modified
Read an entire modified series from an OPC UA server historian as stream. See the relevant section of the OPC UA reference specification and respective service documentation for more information.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The values to read in the timeseries. | ReadModifiedValuesDetailsModelHistoryReadRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | HistoricValueModelIAsyncEnumerable |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/history/values/read/next
Continue reading a timeseries inside the OPC UA server historian. See the relevant section of the OPC UA reference specification and respective service documentation for more information.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The continuation token from a previous read operation. | HistoryReadNextRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | HistoricValueModelArrayHistoryReadNextResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/history/values/read/processed
Read processed timeseries data from an OPC UA server historian as stream. See the relevant section of the OPC UA reference specification and respective service documentation for more information.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The values to read in the timeseries. | ReadProcessedValuesDetailsModelHistoryReadRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | HistoricValueModelIAsyncEnumerable |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/history/values/replace
Replace value change entries in a timeseries of the server historian. See the relevant section of the OPC UA reference specification and respective service documentation for more information.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The values to replace with in the timeseries. | UpdateValuesDetailsModelHistoryUpdateRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | HistoryUpdateResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/history/values/upsert
Upsert value change entries in a timeseries of the server historian. See the relevant section of the OPC UA reference specification and respective service documentation for more information.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The values to upsert into the timeseries. | UpdateValuesDetailsModelHistoryUpdateRequestModelRequestEnvelope |
HTTP Code | Description | Schema |
---|---|---|
200 | The operation was successful or the response payload contains relevant error information. | HistoryUpdateResponseModel |
400 | The passed in information is invalid | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
This section contains the API to configure data set writers and writer groups inside OPC Publisher. It supersedes the configuration API. Applications should use one or the other, but not both at the same time.
The method name for all transports other than HTTP (which uses the shown
HTTP methods and resource uris) is the name of the subsection header.
To use the version specific method append "_V1" or "_V2" to the method
name.
POST /v2/writer
Create a series of published nodes entries using the provided entry as template. The entry is expanded using expansion configuration provided. Expanded entries are returned one by one with error information if any. The configuration is also saved in the local configuration store. The server must be online and accessible for the expansion to work.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The entry to create for the writer and node expansion configuration to use | PublishedNodeExpansionModelPublishedNodesEntryRequestModel |
HTTP Code | Description | Schema |
---|---|---|
200 | The item was created | PublishedNodesEntryModelServiceResponseIAsyncEnumerable |
400 | The passed in information is invalid | ProblemDetails |
403 | A unique item could not be found to update. | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
PUT /v2/writer
Create a published nodes entry for a specific writer group and dataset writer. The entry must specify a unique writer group and dataset writer id. A null value is treated as empty string. If the entry is found it is replaced, if it is not found, it is created. If more than one entry is found with the same writer group and writer id an error is returned. The writer entry provided must include at least one node which will be the initial set. All nodes must specify a unique dataSetFieldId. A null value is treated as empty string. Publishing intervals at node level are also not supported and generate an error. Publishing intervals must be configured at the data set writer level.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The entry to create for the writer | PublishedNodesEntryModel |
HTTP Code | Description | Schema |
---|---|---|
200 | The item was created | No Content |
400 | The passed in information is invalid | ProblemDetails |
403 | A unique item could not be found to update. | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/writer/assets/create
Creates an asset from the entry in the request and the configuration provided in the Web of Things Asset configuration file. The entry must contain a data set name which will be used as the asset name. The writer can stay empty. It will be set to the asset id on successful return. The server must support the WoT profile per . The asset will be created and the configuration updated to reference it. A wait time can be provided as optional query parameter to wait until the server has settled after uploading the configuration.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The contains the entry and WoT file to configure the server to expose the asset. | ByteArrayPublishedNodeCreateAssetRequestModel |
HTTP Code | Description | Schema |
---|---|---|
200 | The asset was created | PublishedNodesEntryModelServiceResponse |
400 | The passed in information is invalid | ProblemDetails |
403 | Forbidden | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/writer/assets/delete
Delete the asset referenced by the entry in the request. The entry must contain the asset id to delete. The asset id is the data set writer id. The entry must also contain the writer group id or deletion of the asset in the configuration will fail before the asset is deleted. The server must support WoT connectivity profile per . First the entry in the configuration will be deleted and then the asset on the server. If deletion of the asset in the configuration fails it will not be deleted in the server. An optional request option force can be used to force the deletion of the asset in the server regardless of the failure to delete the entry in the configuration.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
Request that contains the entry of the asset that should be deleted. | PublishedNodeDeleteAssetRequestModel |
HTTP Code | Description | Schema |
---|---|---|
200 | The asset was deleted successfully | ServiceResultModel |
400 | The passed in information is invalid | ProblemDetails |
403 | Forbidden | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/writer/assets/list
Get a list of entries representing the assets in the server. This will not touch the configuration, it will obtain the list from the server. If the server does not support the result will be empty.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The entry to use to list the assets with the optional header information used when invoking services on the server. | RequestHeaderModelPublishedNodesEntryRequestModel |
HTTP Code | Description | Schema |
---|---|---|
200 | Successfully completed the listing | PublishedNodesEntryModelServiceResponseIAsyncEnumerable |
400 | The passed in information is invalid | ProblemDetails |
403 | Forbidden | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
POST /v2/writer/expand
Expands the provided nodes in the entry to a series of published node entries. The provided entry is used template. The entry is expanded using expansion configuration provided. Expanded entries are returned one by one with error information if any. The configuration is not updated but the resulting entries can be modified and later saved in the configuration using the configuration API. The server must be online and accessible for the expansion to work.
Type | Name | Description | Schema |
---|---|---|---|
Body | body required |
The entry to expand and the node expansion configuration to use. If no configuration is provided a default configuration is used which and no error entries are returned. | PublishedNodeExpansionModelPublishedNodesEntryRequestModel |
HTTP Code | Description | Schema |
---|---|---|
200 | The item was created | PublishedNodesEntryModelServiceResponseIAsyncEnumerable |
400 | The passed in information is invalid | ProblemDetails |
403 | A unique item could not be found to update. | ProblemDetails |
408 | The operation timed out. | ProblemDetails |
500 | An unexpected error occurred | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
GET /v2/writer/{dataSetWriterGroup}/{dataSetWriterId}
Get the published nodes entry for a specific writer group and dataset writer. Dedicated errors are returned if no, or no unique entry could be found. The entry does not contain the nodes. Nodes can be retrieved using the GetNodes API.
Type | Name | Description | Schema |
---|---|---|---|
Path | dataSetWriterGroup required |
The writer group name of the entry | string |
Path | dataSetWriterId required |
The data set writer identifer of the entry | string |
HTTP Code | Description | Schema |
---|---|---|
200 | The item was found | PublishedNodesEntryModel |
400 | The passed in information is invalid | ProblemDetails |
403 | There is no unique item present. | ProblemDetails |
404 | The item was not found | ProblemDetails |
application/json
application/x-msgpack
PUT /v2/writer/{dataSetWriterGroup}/{dataSetWriterId}
Add a node to a dedicated data set writer in a writer group. A node must have a unique DataSetFieldId. If the field already exists, the node is updated. If a node does not have a dataset field id an error is returned. Publishing intervals at node level are also not supported and generate an error. Publishing intervals must be configured at the data set writer level.
Type | Name | Description | Schema |
---|---|---|---|
Path | dataSetWriterGroup required |
The writer group name of the entry | string |
Path | dataSetWriterId required |
The data set writer identifer of the entry | string |
Query | insertAfterFieldId optional |
Field after which to insert the nodes. If not specified, nodes are added at the end of the entry | string |
Body | body required |
Node to add or update | OpcNodeModel |
HTTP Code | Description | Schema |
---|---|---|
200 | The item was added | No Content |
400 | The passed in information is invalid | ProblemDetails |
403 | A unique item could not be found to update. | ProblemDetails |
404 | An entry was not found to add the node to | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
DELETE /v2/writer/{dataSetWriterGroup}/{dataSetWriterId}
Remove the published nodes entry for a specific data set writer in a writer group. Dedicated errors are returned if no, or no unique entry could be found.
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path | dataSetWriterGroup required |
The writer group name of the entry | string | |
Path | dataSetWriterId required |
The data set writer identifer of the entry | string | |
Query | force optional |
Force delete all writers even if more than one were found. Does not error when none were found. | boolean | "false" |
HTTP Code | Description | Schema |
---|---|---|
200 | The entry was removed | No Content |
400 | The passed in information is invalid | ProblemDetails |
403 | A unique item could not be found to remove. | ProblemDetails |
404 | The entry to remove was not found | ProblemDetails |
application/json
application/x-msgpack
POST /v2/writer/{dataSetWriterGroup}/{dataSetWriterId}/add
Add Nodes to a dedicated data set writer in a writer group. Each node must have a unique DataSetFieldId. If the field already exists, the node is updated. If a node does not have a dataset field id an error is returned. Publishing intervals at node level are also not supported and generate an error. Publishing intervals must be configured at the data set writer level.
Type | Name | Description | Schema |
---|---|---|---|
Path | dataSetWriterGroup required |
The writer group name of the entry | string |
Path | dataSetWriterId required |
The data set writer identifer of the entry | string |
Query | insertAfterFieldId optional |
Field after which to insert the nodes. If not specified, nodes are added at the end of the entry | string |
Body | body required |
Nodes to add or update | < OpcNodeModel > array |
HTTP Code | Description | Schema |
---|---|---|
200 | The items were added | No Content |
400 | The passed in information is invalid | ProblemDetails |
403 | A unique entry could not be found to add to. | ProblemDetails |
404 | The entry was not found | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
GET /v2/writer/{dataSetWriterGroup}/{dataSetWriterId}/nodes
Get Nodes from a data set writer in a writer group. The nodes can optionally be offset from a previous last node identified by the dataSetFieldId and pageanated by the pageSize. If the dataSetFieldId is not found, an empty list is returned. If the dataSetFieldId is not specified, the first page is returned.
Type | Name | Description | Schema |
---|---|---|---|
Path | dataSetWriterGroup required |
The writer group name of the entry | string |
Path | dataSetWriterId required |
The data set writer identifer of the entry | string |
Query | lastDataSetFieldId optional |
the field id after which to start the page. If not specified, nodes from the beginning are returned. | string |
Query | pageSize optional |
Number of nodes to return | integer (int32) |
HTTP Code | Description | Schema |
---|---|---|
200 | The items were found | < OpcNodeModel > array |
400 | The passed in information is invalid | ProblemDetails |
403 | A unique item could not be found to get nodes from. | ProblemDetails |
404 | The entry was not found | ProblemDetails |
application/json
application/x-msgpack
POST /v2/writer/{dataSetWriterGroup}/{dataSetWriterId}/remove
Remove Nodes that match the provided data set field ids from a data set writer in a writer group. If one of the fields is not found, no error is returned, however, if all fields are not found an error is returned.
Type | Name | Description | Schema |
---|---|---|---|
Path | dataSetWriterGroup required |
The writer group name of the entry | string |
Path | dataSetWriterId required |
The data set writer identifer of the entry | string |
Body | body required |
The identifiers of the fields to remove | < string > array |
HTTP Code | Description | Schema |
---|---|---|
200 | Some or all items were removed | No Content |
400 | The passed in information is invalid | ProblemDetails |
403 | A unique item could not be found to remove from. | ProblemDetails |
404 | The entry or all items to remove were not found | ProblemDetails |
application/json
application/x-msgpack
application/json
application/x-msgpack
GET /v2/writer/{dataSetWriterGroup}/{dataSetWriterId}/{dataSetFieldId}
Get a node from a dataset in a writer group. Dedicated errors are returned if no, or no unique entry could be found, or the node does not exist.
Type | Name | Description | Schema |
---|---|---|---|
Path | dataSetFieldId required |
The data set field id of the node to return | string |
Path | dataSetWriterGroup required |
The writer group name of the entry | string |
Path | dataSetWriterId required |
The data set writer identifer of the entry | string |
HTTP Code | Description | Schema |
---|---|---|
200 | The item was retrieved | OpcNodeModel |
400 | The passed in information is invalid | ProblemDetails |
403 | A unique item could not be found to get a node from. | ProblemDetails |
404 | The entry or item was not found | ProblemDetails |
application/json
application/x-msgpack
DELETE /v2/writer/{dataSetWriterGroup}/{dataSetWriterId}/{dataSetFieldId}
Remove a node with the specified data set field id from a data set writer in a writer group. If the field is not found, an error is returned.
Type | Name | Description | Schema |
---|---|---|---|
Path | dataSetFieldId required |
Identifier of the field to remove | string |
Path | dataSetWriterGroup required |
The writer group name of the entry | string |
Path | dataSetWriterId required |
The data set writer identifer of the entry | string |
HTTP Code | Description | Schema |
---|---|---|
200 | The item was removed | No Content |
400 | The passed in information is invalid | ProblemDetails |
403 | A unique item could not be found to remove from. | ProblemDetails |
404 | The entry or item to remove was not found | ProblemDetails |
application/json
application/x-msgpack