Sv translation | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
REST-API
WEB REST APIThis is the reference document for the REST API and resources provided by SERVICE/WEB. The REST APIs are for developers who want to integrate SERVICE/WEB with other standalone or web applications and for administrators who want to script interactions with the SERVICE/WEB server. Getting startedAs the REST API is based on open standards, any web development language can be used to access the API. Structure of the REST URIsSERVICE/WEB's REST APIs provide access to resources (data entities) via URI paths. Using a REST API, the application will make a HTTP request and parse the response. The SERVICE/WEB REST API uses XML, JSON and JSONP as its communication format as well as standard HTTP methods like http://host:port/rest/api-version/resource-name The current API version is There is a WADL document containing the documentation for each resource in the SERVICE/WEB REST API. It is available here. Content negotiationThe Service can consume and produce XML, JSON and JSONP. The content type is defined by the HTTP header value "Accept". However, especially for AJAX requests from the browser, it is not always possible to set the header values. In this case, the desired content type can be suffixed to the url, but it has to be set in front of any query parameters. Example Auto: http://localhost:8080/1/projects/ XML: http://localhost:8080/1/projects/.xml JSON: http://localhost:8080/1/projects/.json Auto: http://localhost:8080/1/projects/?someParam=value XML: http://localhost:8080/1/projects/.xml?someParam=value JSON: http://localhost:8080/1/projects/.json?someParam=value JSONP Accessing the REST APIs from a different domain via AJAX violates the same origin policy. Therefore, the JSONP technique must be used. To enable JSONP, choose the content type json and provide the query parameter "callback" within your callback function. AuthenticationAny authentication working against SERVICE/WEB will also work against the REST API. The prefered authentication methods are HTTP Basic (when using SSL). Date and TimeAll time values are returned in nano seconds by this REST service. To define a date or a timerange, a variety of methods can be chosen. Most rest function need a timerange which is defined by the two query parameter "start" and "end". Example: This will return the energy used between a defined point in time and the current day. 1/projects/{pname}/devices/{devid}/hist/energy/{value}/{type}?start=UTC_34235345&end=NAMED_Today
TimezoneThe timezone default is the server installation's default timezone. To change the timezone, the "timezone" query parameter can be used. Possible values can be found here IndexThe WEB REST API allows access to projects, devices and their data. Die WEB REST API erlaubt den Zugriff auf Projekte, Geräte und Daten.
Resources/rest/1/projectsMethodsGETGet all loaded projects. available response representations: 200
/rest/1/projects/{pname}Methods/rest/1/projects/{pname}/devicesMethods/rest/1/projects/{pname}/devices/{devid}resource-wide template parametersMethods/rest/1/projects/{pname}/devices/{devid}/connectiontestresource-wide template parametersMethods/rest/1/projects/{pname}/devices/{devid}/hist/energy/{value}/{type}resource-wide template parameters
Methods/rest/1/projects/{pname}/devices/{devid}/hist/eventsMethodsGET/rest/1/projects/{pname}/devices/{devid}/hist/events?typeReturns events for a given timespan. This method supports the timespan parameters, see documentation. request query parameters
available response representations: 200
available response representations: 400
available response representations: 204
/rest/1/projects/{pname}/devices/{devid}/hist/flagsMethods/rest/1/projects/{pname}/devices/{devid}/hist/sequences/{sequenceType}resource-wide template parameters
Methods/rest/1/projects/{pname}/devices/{devid}/hist/transientsMethods/rest/1/projects/{pname}/devices/{devid}/hist/valuesMethods/rest/1/projects/{pname}/devices/{devid}/hist/values/{value}/{type}/{timebase}resource-wide template parameters
MethodsGET/rest/1/projects/{pname}/devices/{devid}/hist/values/{value}/{type}/{timebase}?onlineGet historical data. This method supports the timespan parameters, see documentation. request query parameters
available response representations: 200
available response representations: 204
/rest/1/projects/{pname}/devices/{devid}/manualinputManual input device endpoint. Methods/rest/1/projects/{pname}/devices/{devid}/manualinput/{value}/{type}/{timebase}resource-wide template parameters
Methods/rest/1/projects/{pname}/devices/{devid}/online/valuesMethods/rest/1/projects/{pname}/devices/{devid}/onlinerecord/settingsMethodsGETGet settings for online recording values of device. available response representations: 200
/rest/1/projects/{pname}/devices/{devid}/onlinerecord/statisticsMethodsGETGet statistics for online recording values of device. available response representations: 200
/rest/1/projects/{pname}/onlinevaluesMethodsGET/rest/1/projects/{pname}/onlinevalues?value&appendValueType&timeout&timelinessFetch online value(s) from device(s). This call will return immediately if all requested data is "timeliness". If not all data is timeliness the request wait, but no longer than the given timeout. If a timeout occur all known data is returned. There is no guarantee that the values are measured at this same point in time. It simply the last known value known to the application. The value is as fast as possible regarding its source device. request query parameters
available response representations: 200
available response representations: 400
/rest/1/valuetypesMethodsGETRetrieve information about all available value types. available response representations: 200
/rest/1/valuetypes/{subtype}resource-wide template parameters
MethodsGETRetrieve a value types for a specific subtype. available response representations: 200
/rest/1/valuetypes/subtypesMethodsGETAll subtypes for /rest/valuetypes/{subtype} available response representations: 200
/rest/common/info/language/testMethods/rest/common/info/version/fullMethodsGETRetrieve information about the server version available response representations: 200 application/json [expand] This is the reference document for the REST API and resources provided by SERVICE/WEB. The REST APIs are for developers who want to integrate SERVICE/WEB with other standalone or web applications and for administrators who want to script interactions with the SERVICE/WEB server. Getting startedAs the REST API is based on open standards, any web development language can be used to access the API. Structure of the REST URIsSERVICE/WEB's REST APIs provide access to resources (data entities) via URI paths. Using a REST API, the application will make a HTTP request and parse the response. The SERVICE/WEB REST API uses XML, JSON and JSONP as its communication format as well as standard HTTP methods like http://host:port/rest/api-version/resource-name The current API version is There is a WADL document containing the documentation for each resource in the SERVICE/WEB REST API. It is available here. Content negotiationThe Service can consume and produce XML, JSON and JSONP. The content type is defined by the HTTP header value "Accept". However, especially for AJAX requests from the browser, it is not always possible to set the header values. In this case, the desired content type can be suffixed to the url, but it has to be set in front of any query parameters. Example Auto: http://localhost:8080/1/projects/ XML: http://localhost:8080/1/projects/.xml JSON: http://localhost:8080/1/projects/.json Auto: http://localhost:8080/1/projects/?someParam=value XML: http://localhost:8080/1/projects/.xml?someParam=value JSON: http://localhost:8080/1/projects/.json?someParam=value JSONP Accessing the REST APIs from a different domain via AJAX violates the same origin policy. Therefore, the JSONP technique must be used. To enable JSONP, choose the content type json and provide the query parameter "callback" within your callback function. AuthenticationAny authentication working against SERVICE/WEB will also work against the REST API. The prefered authentication methods are HTTP Basic (when using SSL). Date and TimeAll time values are returned in nano seconds by this REST service. To define a date or a timerange, a variety of methods can be chosen. Most rest function need a timerange which is defined by the two query parameter "start" and "end". Example: This will return the energy used between a defined point in time and the current day. 1/projects/{pname}/devices/{devid}/hist/energy/{value}/{type}?start=UTC_34235345&end=NAMED_Today
TimezoneThe timezone default is the server installation's default timezone. To change the timezone, the "timezone" query parameter can be used. Possible values can be found here IndexThe WEB REST API allows access to projects, devices and their data. Die WEB REST API erlaubt den Zugriff auf Projekte, Geräte und Daten.
Resources/rest/1/projectsMethodsGETGet all loaded projects. available response representations: 200
/rest/1/projects/{pname}Methods/rest/1/projects/{pname}/devicesMethods/rest/1/projects/{pname}/devices/{devid}resource-wide template parametersMethods/rest/1/projects/{pname}/devices/{devid}/connectiontestresource-wide template parametersMethods/rest/1/projects/{pname}/devices/{devid}/hist/energy/{value}/{type}resource-wide template parameters
Methods/rest/1/projects/{pname}/devices/{devid}/hist/eventsMethodsGET/rest/1/projects/{pname}/devices/{devid}/hist/events?typeReturns events for a given timespan. This method supports the timespan parameters, see documentation. request query parameters
available response representations: 200
available response representations: 400
available response representations: 204
/rest/1/projects/{pname}/devices/{devid}/hist/flagsMethods/rest/1/projects/{pname}/devices/{devid}/hist/sequences/{sequenceType}resource-wide template parameters
Methods/rest/1/projects/{pname}/devices/{devid}/hist/transientsMethods/rest/1/projects/{pname}/devices/{devid}/hist/valuesMethods/rest/1/projects/{pname}/devices/{devid}/hist/values/{value}/{type}/{timebase}resource-wide template parameters
MethodsGET/rest/1/projects/{pname}/devices/{devid}/hist/values/{value}/{type}/{timebase}?onlineGet historical data. This method supports the timespan parameters, see documentation. request query parameters
available response representations: 200
available response representations: 204
/rest/1/projects/{pname}/devices/{devid}/manualinputManual input device endpoint. Methods/rest/1/projects/{pname}/devices/{devid}/manualinput/{value}/{type}/{timebase}resource-wide template parameters
Methods/rest/1/projects/{pname}/devices/{devid}/online/valuesMethods/rest/1/projects/{pname}/devices/{devid}/onlinerecord/settingsMethodsGETGet settings for online recording values of device. available response representations: 200
/rest/1/projects/{pname}/devices/{devid}/onlinerecord/statisticsMethodsGETGet statistics for online recording values of device. available response representations: 200
/rest/1/projects/{pname}/onlinevaluesMethodsGET/rest/1/projects/{pname}/onlinevalues?value&appendValueType&timeout&timelinessFetch online value(s) from device(s). This call will return immediately if all requested data is "timeliness". If not all data is timeliness the request wait, but no longer than the given timeout. If a timeout occur all known data is returned. There is no guarantee that the values are measured at this same point in time. It simply the last known value known to the application. The value is as fast as possible regarding its source device. request query parameters
available response representations: 200
available response representations: 400
/rest/1/valuetypesMethodsGETRetrieve information about all available value types. available response representations: 200
/rest/1/valuetypes/{subtype}resource-wide template parameters
MethodsGETRetrieve a value types for a specific subtype. available response representations: 200
/rest/1/valuetypes/subtypesMethodsGETAll subtypes for /rest/valuetypes/{subtype} available response representations: 200
/rest/common/info/language/testMethods/rest/common/info/version/fullMethodsGETRetrieve information about the server version available response representations: 200 application/json [expand] |
Sv translation | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
REST-API
WEB REST APIThis is the reference document for the REST API and resources provided by SERVICE/WEB. The REST APIs are for developers who want to integrate SERVICE/WEB with other standalone or web applications and for administrators who want to script interactions with the SERVICE/WEB server. Getting startedAs the REST API is based on open standards, any web development language can be used to access the API. Structure of the REST URIsSERVICE/WEB's REST APIs provide access to resources (data entities) via URI paths. Using a REST API, the application will make a HTTP request and parse the response. The SERVICE/WEB REST API uses XML, JSON and JSONP as its communication format as well as standard HTTP methods like http://host:port/rest/api-version/resource-name The current API version is There is a WADL document containing the documentation for each resource in the SERVICE/WEB REST API. It is available here. Content negotiationThe Service can consume and produce XML, JSON and JSONP. The content type is defined by the HTTP header value "Accept". However, especially for AJAX requests from the browser, it is not always possible to set the header values. In this case, the desired content type can be suffixed to the url, but it has to be set in front of any query parameters. Example Auto: http://localhost:8080/1/projects/ XML: http://localhost:8080/1/projects/.xml JSON: http://localhost:8080/1/projects/.json Auto: http://localhost:8080/1/projects/?someParam=value XML: http://localhost:8080/1/projects/.xml?someParam=value JSON: http://localhost:8080/1/projects/.json?someParam=value JSONP Accessing the REST APIs from a different domain via AJAX violates the same origin policy. Therefore, the JSONP technique must be used. To enable JSONP, choose the content type json and provide the query parameter "callback" within your callback function. AuthenticationAny authentication working against SERVICE/WEB will also work against the REST API. The prefered authentication methods are HTTP Basic (when using SSL). Date and TimeAll time values are returned in nano seconds by this REST service. To define a date or a timerange, a variety of methods can be chosen. Most rest function need a timerange which is defined by the two query parameter "start" and "end". Example: This will return the energy used between a defined point in time and the current day. 1/projects/{pname}/devices/{devid}/hist/energy/{value}/{type}?start=UTC_34235345&end=NAMED_Today
TimezoneThe timezone default is the server installation's default timezone. To change the timezone, the "timezone" query parameter can be used. Possible values can be found here IndexThe WEB REST API allows access to projects, devices and their data. Die WEB REST API erlaubt den Zugriff auf Projekte, Geräte und Daten.
Resources/rest/1/projectsMethodsGETGet all loaded projects. available response representations: 200
/rest/1/projects/{pname}Methods/rest/1/projects/{pname}/devicesMethods/rest/1/projects/{pname}/devices/{devid}resource-wide template parametersMethods/rest/1/projects/{pname}/devices/{devid}/connectiontestresource-wide template parametersMethods/rest/1/projects/{pname}/devices/{devid}/hist/energy/{value}/{type}resource-wide template parameters
Methods/rest/1/projects/{pname}/devices/{devid}/hist/eventsMethodsGET/rest/1/projects/{pname}/devices/{devid}/hist/events?typeReturns events for a given timespan. This method supports the timespan parameters, see documentation. request query parameters
available response representations: 200
available response representations: 400
available response representations: 204
/rest/1/projects/{pname}/devices/{devid}/hist/flagsMethods/rest/1/projects/{pname}/devices/{devid}/hist/sequences/{sequenceType}resource-wide template parameters
Methods/rest/1/projects/{pname}/devices/{devid}/hist/transientsMethods/rest/1/projects/{pname}/devices/{devid}/hist/valuesMethods/rest/1/projects/{pname}/devices/{devid}/hist/values/{value}/{type}/{timebase}resource-wide template parameters
MethodsGET/rest/1/projects/{pname}/devices/{devid}/hist/values/{value}/{type}/{timebase}?onlineGet historical data. This method supports the timespan parameters, see documentation. request query parameters
available response representations: 200
available response representations: 204
/rest/1/projects/{pname}/devices/{devid}/manualinputManual input device endpoint. Methods/rest/1/projects/{pname}/devices/{devid}/manualinput/{value}/{type}/{timebase}resource-wide template parameters
Methods/rest/1/projects/{pname}/devices/{devid}/online/valuesMethods/rest/1/projects/{pname}/devices/{devid}/onlinerecord/settingsMethodsGETGet settings for online recording values of device. available response representations: 200
/rest/1/projects/{pname}/devices/{devid}/onlinerecord/statisticsMethodsGETGet statistics for online recording values of device. available response representations: 200
/rest/1/projects/{pname}/onlinevaluesMethodsGET/rest/1/projects/{pname}/onlinevalues?value&appendValueType&timeout&timelinessFetch online value(s) from device(s). This call will return immediately if all requested data is "timeliness". If not all data is timeliness the request wait, but no longer than the given timeout. If a timeout occur all known data is returned. There is no guarantee that the values are measured at this same point in time. It simply the last known value known to the application. The value is as fast as possible regarding its source device. request query parameters
available response representations: 200
available response representations: 400
/rest/1/valuetypesMethodsGETRetrieve information about all available value types. available response representations: 200
/rest/1/valuetypes/{subtype}resource-wide template parameters
MethodsGETRetrieve a value types for a specific subtype. available response representations: 200
/rest/1/valuetypes/subtypesMethodsGETAll subtypes for /rest/valuetypes/{subtype} available response representations: 200
/rest/common/info/language/testMethods/rest/common/info/version/fullMethodsGETRetrieve information about the server version available response representations: 200 application/json [expand] This is the reference document for the REST API and resources provided by SERVICE/WEB. The REST APIs are for developers who want to integrate SERVICE/WEB with other standalone or web applications and for administrators who want to script interactions with the SERVICE/WEB server. Getting startedAs the REST API is based on open standards, any web development language can be used to access the API. Structure of the REST URIsSERVICE/WEB's REST APIs provide access to resources (data entities) via URI paths. Using a REST API, the application will make a HTTP request and parse the response. The SERVICE/WEB REST API uses XML, JSON and JSONP as its communication format as well as standard HTTP methods like http://host:port/rest/api-version/resource-name The current API version is There is a WADL document containing the documentation for each resource in the SERVICE/WEB REST API. It is available here. Content negotiationThe Service can consume and produce XML, JSON and JSONP. The content type is defined by the HTTP header value "Accept". However, especially for AJAX requests from the browser, it is not always possible to set the header values. In this case, the desired content type can be suffixed to the url, but it has to be set in front of any query parameters. Example Auto: http://localhost:8080/1/projects/ XML: http://localhost:8080/1/projects/.xml JSON: http://localhost:8080/1/projects/.json Auto: http://localhost:8080/1/projects/?someParam=value XML: http://localhost:8080/1/projects/.xml?someParam=value JSON: http://localhost:8080/1/projects/.json?someParam=value JSONP Accessing the REST APIs from a different domain via AJAX violates the same origin policy. Therefore, the JSONP technique must be used. To enable JSONP, choose the content type json and provide the query parameter "callback" within your callback function. AuthenticationAny authentication working against SERVICE/WEB will also work against the REST API. The prefered authentication methods are HTTP Basic (when using SSL). Date and TimeAll time values are returned in nano seconds by this REST service. To define a date or a timerange, a variety of methods can be chosen. Most rest function need a timerange which is defined by the two query parameter "start" and "end". Example: This will return the energy used between a defined point in time and the current day. 1/projects/{pname}/devices/{devid}/hist/energy/{value}/{type}?start=UTC_34235345&end=NAMED_Today
TimezoneThe timezone default is the server installation's default timezone. To change the timezone, the "timezone" query parameter can be used. Possible values can be found here IndexThe WEB REST API allows access to projects, devices and their data. Die WEB REST API erlaubt den Zugriff auf Projekte, Geräte und Daten.
Resources/rest/1/projectsMethodsGETGet all loaded projects. available response representations: 200
/rest/1/projects/{pname}Methods/rest/1/projects/{pname}/devicesMethods/rest/1/projects/{pname}/devices/{devid}resource-wide template parametersMethods/rest/1/projects/{pname}/devices/{devid}/connectiontestresource-wide template parametersMethods/rest/1/projects/{pname}/devices/{devid}/hist/energy/{value}/{type}resource-wide template parameters
Methods/rest/1/projects/{pname}/devices/{devid}/hist/eventsMethodsGET/rest/1/projects/{pname}/devices/{devid}/hist/events?typeReturns events for a given timespan. This method supports the timespan parameters, see documentation. request query parameters
available response representations: 200
available response representations: 400
available response representations: 204
/rest/1/projects/{pname}/devices/{devid}/hist/flagsMethods/rest/1/projects/{pname}/devices/{devid}/hist/sequences/{sequenceType}resource-wide template parameters
Methods/rest/1/projects/{pname}/devices/{devid}/hist/transientsMethods/rest/1/projects/{pname}/devices/{devid}/hist/valuesMethods/rest/1/projects/{pname}/devices/{devid}/hist/values/{value}/{type}/{timebase}resource-wide template parameters
MethodsGET/rest/1/projects/{pname}/devices/{devid}/hist/values/{value}/{type}/{timebase}?onlineGet historical data. This method supports the timespan parameters, see documentation. request query parameters
available response representations: 200
available response representations: 204
/rest/1/projects/{pname}/devices/{devid}/manualinputManual input device endpoint. Methods/rest/1/projects/{pname}/devices/{devid}/manualinput/{value}/{type}/{timebase}resource-wide template parameters
Methods/rest/1/projects/{pname}/devices/{devid}/online/valuesMethods/rest/1/projects/{pname}/devices/{devid}/onlinerecord/settingsMethodsGETGet settings for online recording values of device. available response representations: 200
/rest/1/projects/{pname}/devices/{devid}/onlinerecord/statisticsMethodsGETGet statistics for online recording values of device. available response representations: 200
/rest/1/projects/{pname}/onlinevaluesMethodsGET/rest/1/projects/{pname}/onlinevalues?value&appendValueType&timeout&timelinessFetch online value(s) from device(s). This call will return immediately if all requested data is "timeliness". If not all data is timeliness the request wait, but no longer than the given timeout. If a timeout occur all known data is returned. There is no guarantee that the values are measured at this same point in time. It simply the last known value known to the application. The value is as fast as possible regarding its source device. request query parameters
available response representations: 200
available response representations: 400
/rest/1/valuetypesMethodsGETRetrieve information about all available value types. available response representations: 200
/rest/1/valuetypes/{subtype}resource-wide template parameters
MethodsGETRetrieve a value types for a specific subtype. available response representations: 200
/rest/1/valuetypes/subtypesMethodsGETAll subtypes for /rest/valuetypes/{subtype} available response representations: 200
/rest/common/info/language/testMethods/rest/common/info/version/fullMethodsGETRetrieve information about the server version available response representations: 200 application/json [expand] |
Sv translation | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
REST-API
WEB REST APIThis is the reference document for the REST API and resources provided by SERVICE/WEB. The REST APIs are for developers who want to integrate SERVICE/WEB with other standalone or web applications and for administrators who want to script interactions with the SERVICE/WEB server. Getting startedAs the REST API is based on open standards, any web development language can be used to access the API. Structure of the REST URIsSERVICE/WEB's REST APIs provide access to resources (data entities) via URI paths. Using a REST API, the application will make a HTTP request and parse the response. The SERVICE/WEB REST API uses XML, JSON and JSONP as its communication format as well as standard HTTP methods like http://host:port/rest/api-version/resource-name The current API version is There is a WADL document containing the documentation for each resource in the SERVICE/WEB REST API. It is available here. Content negotiationThe Service can consume and produce XML, JSON and JSONP. The content type is defined by the HTTP header value "Accept". However, especially for AJAX requests from the browser, it is not always possible to set the header values. In this case, the desired content type can be suffixed to the url, but it has to be set in front of any query parameters. Example Auto: http://localhost:8080/1/projects/ XML: http://localhost:8080/1/projects/.xml JSON: http://localhost:8080/1/projects/.json Auto: http://localhost:8080/1/projects/?someParam=value XML: http://localhost:8080/1/projects/.xml?someParam=value JSON: http://localhost:8080/1/projects/.json?someParam=value JSONP Accessing the REST APIs from a different domain via AJAX violates the same origin policy. Therefore, the JSONP technique must be used. To enable JSONP, choose the content type json and provide the query parameter "callback" within your callback function. AuthenticationAny authentication working against SERVICE/WEB will also work against the REST API. The prefered authentication methods are HTTP Basic (when using SSL). Date and TimeAll time values are returned in nano seconds by this REST service. To define a date or a timerange, a variety of methods can be chosen. Most rest function need a timerange which is defined by the two query parameter "start" and "end". Example: This will return the energy used between a defined point in time and the current day. 1/projects/{pname}/devices/{devid}/hist/energy/{value}/{type}?start=UTC_34235345&end=NAMED_Today
TimezoneThe timezone default is the server installation's default timezone. To change the timezone, the "timezone" query parameter can be used. Possible values can be found here IndexThe WEB REST API allows access to projects, devices and their data. Die WEB REST API erlaubt den Zugriff auf Projekte, Geräte und Daten.
Resources/rest/1/projectsMethodsGETGet all loaded projects. available response representations: 200
/rest/1/projects/{pname}Methods/rest/1/projects/{pname}/devicesMethods/rest/1/projects/{pname}/devices/{devid}resource-wide template parametersMethods/rest/1/projects/{pname}/devices/{devid}/connectiontestresource-wide template parametersMethods/rest/1/projects/{pname}/devices/{devid}/hist/energy/{value}/{type}resource-wide template parameters
Methods/rest/1/projects/{pname}/devices/{devid}/hist/eventsMethodsGET/rest/1/projects/{pname}/devices/{devid}/hist/events?typeReturns events for a given timespan. This method supports the timespan parameters, see documentation. request query parameters
available response representations: 200
available response representations: 400
available response representations: 204
/rest/1/projects/{pname}/devices/{devid}/hist/flagsMethods/rest/1/projects/{pname}/devices/{devid}/hist/sequences/{sequenceType}resource-wide template parameters
Methods/rest/1/projects/{pname}/devices/{devid}/hist/transientsMethods/rest/1/projects/{pname}/devices/{devid}/hist/valuesMethods/rest/1/projects/{pname}/devices/{devid}/hist/values/{value}/{type}/{timebase}resource-wide template parameters
MethodsGET/rest/1/projects/{pname}/devices/{devid}/hist/values/{value}/{type}/{timebase}?onlineGet historical data. This method supports the timespan parameters, see documentation. request query parameters
available response representations: 200
available response representations: 204
/rest/1/projects/{pname}/devices/{devid}/manualinputManual input device endpoint. Methods/rest/1/projects/{pname}/devices/{devid}/manualinput/{value}/{type}/{timebase}resource-wide template parameters
Methods/rest/1/projects/{pname}/devices/{devid}/online/valuesMethods/rest/1/projects/{pname}/devices/{devid}/onlinerecord/settingsMethodsGETGet settings for online recording values of device. available response representations: 200
/rest/1/projects/{pname}/devices/{devid}/onlinerecord/statisticsMethodsGETGet statistics for online recording values of device. available response representations: 200
/rest/1/projects/{pname}/onlinevaluesMethodsGET/rest/1/projects/{pname}/onlinevalues?value&appendValueType&timeout&timelinessFetch online value(s) from device(s). This call will return immediately if all requested data is "timeliness". If not all data is timeliness the request wait, but no longer than the given timeout. If a timeout occur all known data is returned. There is no guarantee that the values are measured at this same point in time. It simply the last known value known to the application. The value is as fast as possible regarding its source device. request query parameters
available response representations: 200
available response representations: 400
/rest/1/valuetypesMethodsGETRetrieve information about all available value types. available response representations: 200
/rest/1/valuetypes/{subtype}resource-wide template parameters
MethodsGETRetrieve a value types for a specific subtype. available response representations: 200
/rest/1/valuetypes/subtypesMethodsGETAll subtypes for /rest/valuetypes/{subtype} available response representations: 200
/rest/common/info/language/testMethods/rest/common/info/version/fullMethodsGETRetrieve information about the server version available response representations: 200 application/json [expand] This is the reference document for the REST API and resources provided by SERVICE/WEB. The REST APIs are for developers who want to integrate SERVICE/WEB with other standalone or web applications and for administrators who want to script interactions with the SERVICE/WEB server. Getting startedAs the REST API is based on open standards, any web development language can be used to access the API. Structure of the REST URIsSERVICE/WEB's REST APIs provide access to resources (data entities) via URI paths. Using a REST API, the application will make a HTTP request and parse the response. The SERVICE/WEB REST API uses XML, JSON and JSONP as its communication format as well as standard HTTP methods like http://host:port/rest/api-version/resource-name The current API version is There is a WADL document containing the documentation for each resource in the SERVICE/WEB REST API. It is available here. Content negotiationThe Service can consume and produce XML, JSON and JSONP. The content type is defined by the HTTP header value "Accept". However, especially for AJAX requests from the browser, it is not always possible to set the header values. In this case, the desired content type can be suffixed to the url, but it has to be set in front of any query parameters. Example Auto: http://localhost:8080/1/projects/ XML: http://localhost:8080/1/projects/.xml JSON: http://localhost:8080/1/projects/.json Auto: http://localhost:8080/1/projects/?someParam=value XML: http://localhost:8080/1/projects/.xml?someParam=value JSON: http://localhost:8080/1/projects/.json?someParam=value JSONP Accessing the REST APIs from a different domain via AJAX violates the same origin policy. Therefore, the JSONP technique must be used. To enable JSONP, choose the content type json and provide the query parameter "callback" within your callback function. AuthenticationAny authentication working against SERVICE/WEB will also work against the REST API. The prefered authentication methods are HTTP Basic (when using SSL). Date and TimeAll time values are returned in nano seconds by this REST service. To define a date or a timerange, a variety of methods can be chosen. Most rest function need a timerange which is defined by the two query parameter "start" and "end". Example: This will return the energy used between a defined point in time and the current day. 1/projects/{pname}/devices/{devid}/hist/energy/{value}/{type}?start=UTC_34235345&end=NAMED_Today
TimezoneThe timezone default is the server installation's default timezone. To change the timezone, the "timezone" query parameter can be used. Possible values can be found here IndexThe WEB REST API allows access to projects, devices and their data. Die WEB REST API erlaubt den Zugriff auf Projekte, Geräte und Daten.
Resources/rest/1/projectsMethodsGETGet all loaded projects. available response representations: 200
/rest/1/projects/{pname}Methods/rest/1/projects/{pname}/devicesMethods/rest/1/projects/{pname}/devices/{devid}resource-wide template parametersMethods/rest/1/projects/{pname}/devices/{devid}/connectiontestresource-wide template parametersMethods/rest/1/projects/{pname}/devices/{devid}/hist/energy/{value}/{type}resource-wide template parameters
Methods/rest/1/projects/{pname}/devices/{devid}/hist/eventsMethodsGET/rest/1/projects/{pname}/devices/{devid}/hist/events?typeReturns events for a given timespan. This method supports the timespan parameters, see documentation. request query parameters
available response representations: 200
available response representations: 400
available response representations: 204
/rest/1/projects/{pname}/devices/{devid}/hist/flagsMethods/rest/1/projects/{pname}/devices/{devid}/hist/sequences/{sequenceType}resource-wide template parameters
Methods/rest/1/projects/{pname}/devices/{devid}/hist/transientsMethods/rest/1/projects/{pname}/devices/{devid}/hist/valuesMethods/rest/1/projects/{pname}/devices/{devid}/hist/values/{value}/{type}/{timebase}resource-wide template parameters
MethodsGET/rest/1/projects/{pname}/devices/{devid}/hist/values/{value}/{type}/{timebase}?onlineGet historical data. This method supports the timespan parameters, see documentation. request query parameters
available response representations: 200
available response representations: 204
/rest/1/projects/{pname}/devices/{devid}/manualinputManual input device endpoint. Methods/rest/1/projects/{pname}/devices/{devid}/manualinput/{value}/{type}/{timebase}resource-wide template parameters
Methods/rest/1/projects/{pname}/devices/{devid}/online/valuesMethods/rest/1/projects/{pname}/devices/{devid}/onlinerecord/settingsMethodsGETGet settings for online recording values of device. available response representations: 200
/rest/1/projects/{pname}/devices/{devid}/onlinerecord/statisticsMethodsGETGet statistics for online recording values of device. available response representations: 200
/rest/1/projects/{pname}/onlinevaluesMethodsGET/rest/1/projects/{pname}/onlinevalues?value&appendValueType&timeout&timelinessFetch online value(s) from device(s). This call will return immediately if all requested data is "timeliness". If not all data is timeliness the request wait, but no longer than the given timeout. If a timeout occur all known data is returned. There is no guarantee that the values are measured at this same point in time. It simply the last known value known to the application. The value is as fast as possible regarding its source device. request query parameters
available response representations: 200
available response representations: 400
/rest/1/valuetypesMethodsGETRetrieve information about all available value types. available response representations: 200
/rest/1/valuetypes/{subtype}resource-wide template parameters
MethodsGETRetrieve a value types for a specific subtype. available response representations: 200
/rest/1/valuetypes/subtypesMethodsGETAll subtypes for /rest/valuetypes/{subtype} available response representations: 200
/rest/common/info/language/testMethods/rest/common/info/version/fullMethodsGETRetrieve information about the server version available response representations: 200 application/json [expand] |
Sv translation | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
REST-API
WEB REST APIThis is the reference document for the REST API and resources provided by SERVICE/WEB. The REST APIs are for developers who want to integrate SERVICE/WEB with other standalone or web applications and for administrators who want to script interactions with the SERVICE/WEB server. Getting startedAs the REST API is based on open standards, any web development language can be used to access the API. Structure of the REST URIsSERVICE/WEB's REST APIs provide access to resources (data entities) via URI paths. Using a REST API, the application will make a HTTP request and parse the response. The SERVICE/WEB REST API uses XML, JSON and JSONP as its communication format as well as standard HTTP methods like http://host:port/rest/api-version/resource-name The current API version is There is a WADL document containing the documentation for each resource in the SERVICE/WEB REST API. It is available here. Content negotiationThe Service can consume and produce XML, JSON and JSONP. The content type is defined by the HTTP header value "Accept". However, especially for AJAX requests from the browser, it is not always possible to set the header values. In this case, the desired content type can be suffixed to the url, but it has to be set in front of any query parameters. Example Auto: http://localhost:8080/1/projects/ XML: http://localhost:8080/1/projects/.xml JSON: http://localhost:8080/1/projects/.json Auto: http://localhost:8080/1/projects/?someParam=value XML: http://localhost:8080/1/projects/.xml?someParam=value JSON: http://localhost:8080/1/projects/.json?someParam=value JSONP Accessing the REST APIs from a different domain via AJAX violates the same origin policy. Therefore, the JSONP technique must be used. To enable JSONP, choose the content type json and provide the query parameter "callback" within your callback function. AuthenticationAny authentication working against SERVICE/WEB will also work against the REST API. The prefered authentication methods are HTTP Basic (when using SSL). Date and TimeAll time values are returned in nano seconds by this REST service. To define a date or a timerange, a variety of methods can be chosen. Most rest function need a timerange which is defined by the two query parameter "start" and "end". Example: This will return the energy used between a defined point in time and the current day. 1/projects/{pname}/devices/{devid}/hist/energy/{value}/{type}?start=UTC_34235345&end=NAMED_Today
TimezoneThe timezone default is the server installation's default timezone. To change the timezone, the "timezone" query parameter can be used. Possible values can be found here IndexThe WEB REST API allows access to projects, devices and their data. Die WEB REST API erlaubt den Zugriff auf Projekte, Geräte und Daten.
Resources/rest/1/projectsMethodsGETGet all loaded projects. available response representations: 200
/rest/1/projects/{pname}Methods/rest/1/projects/{pname}/devicesMethods/rest/1/projects/{pname}/devices/{devid}resource-wide template parametersMethods/rest/1/projects/{pname}/devices/{devid}/connectiontestresource-wide template parametersMethods/rest/1/projects/{pname}/devices/{devid}/hist/energy/{value}/{type}resource-wide template parameters
Methods/rest/1/projects/{pname}/devices/{devid}/hist/eventsMethodsGET/rest/1/projects/{pname}/devices/{devid}/hist/events?typeReturns events for a given timespan. This method supports the timespan parameters, see documentation. request query parameters
available response representations: 200
available response representations: 400
available response representations: 204
/rest/1/projects/{pname}/devices/{devid}/hist/flagsMethods/rest/1/projects/{pname}/devices/{devid}/hist/sequences/{sequenceType}resource-wide template parameters
Methods/rest/1/projects/{pname}/devices/{devid}/hist/transientsMethods/rest/1/projects/{pname}/devices/{devid}/hist/valuesMethods/rest/1/projects/{pname}/devices/{devid}/hist/values/{value}/{type}/{timebase}resource-wide template parameters
MethodsGET/rest/1/projects/{pname}/devices/{devid}/hist/values/{value}/{type}/{timebase}?onlineGet historical data. This method supports the timespan parameters, see documentation. request query parameters
available response representations: 200
available response representations: 204
/rest/1/projects/{pname}/devices/{devid}/manualinputManual input device endpoint. Methods/rest/1/projects/{pname}/devices/{devid}/manualinput/{value}/{type}/{timebase}resource-wide template parameters
Methods/rest/1/projects/{pname}/devices/{devid}/online/valuesMethods/rest/1/projects/{pname}/devices/{devid}/onlinerecord/settingsMethodsGETGet settings for online recording values of device. available response representations: 200
/rest/1/projects/{pname}/devices/{devid}/onlinerecord/statisticsMethodsGETGet statistics for online recording values of device. available response representations: 200
/rest/1/projects/{pname}/onlinevaluesMethodsGET/rest/1/projects/{pname}/onlinevalues?value&appendValueType&timeout&timelinessFetch online value(s) from device(s). This call will return immediately if all requested data is "timeliness". If not all data is timeliness the request wait, but no longer than the given timeout. If a timeout occur all known data is returned. There is no guarantee that the values are measured at this same point in time. It simply the last known value known to the application. The value is as fast as possible regarding its source device. request query parameters
available response representations: 200
available response representations: 400
/rest/1/valuetypesMethodsGETRetrieve information about all available value types. available response representations: 200
/rest/1/valuetypes/{subtype}resource-wide template parameters
MethodsGETRetrieve a value types for a specific subtype. available response representations: 200
/rest/1/valuetypes/subtypesMethodsGETAll subtypes for /rest/valuetypes/{subtype} available response representations: 200
/rest/common/info/language/testMethods/rest/common/info/version/fullMethodsGETRetrieve information about the server version available response representations: 200 application/json [expand] This is the reference document for the REST API and resources provided by SERVICE/WEB. The REST APIs are for developers who want to integrate SERVICE/WEB with other standalone or web applications and for administrators who want to script interactions with the SERVICE/WEB server. Getting startedAs the REST API is based on open standards, any web development language can be used to access the API. Structure of the REST URIsSERVICE/WEB's REST APIs provide access to resources (data entities) via URI paths. Using a REST API, the application will make a HTTP request and parse the response. The SERVICE/WEB REST API uses XML, JSON and JSONP as its communication format as well as standard HTTP methods like http://host:port/rest/api-version/resource-name The current API version is There is a WADL document containing the documentation for each resource in the SERVICE/WEB REST API. It is available here. Content negotiationThe Service can consume and produce XML, JSON and JSONP. The content type is defined by the HTTP header value "Accept". However, especially for AJAX requests from the browser, it is not always possible to set the header values. In this case, the desired content type can be suffixed to the url, but it has to be set in front of any query parameters. Example Auto: http://localhost:8080/1/projects/ XML: http://localhost:8080/1/projects/.xml JSON: http://localhost:8080/1/projects/.json Auto: http://localhost:8080/1/projects/?someParam=value XML: http://localhost:8080/1/projects/.xml?someParam=value JSON: http://localhost:8080/1/projects/.json?someParam=value JSONP Accessing the REST APIs from a different domain via AJAX violates the same origin policy. Therefore, the JSONP technique must be used. To enable JSONP, choose the content type json and provide the query parameter "callback" within your callback function. AuthenticationAny authentication working against SERVICE/WEB will also work against the REST API. The prefered authentication methods are HTTP Basic (when using SSL). Date and TimeAll time values are returned in nano seconds by this REST service. To define a date or a timerange, a variety of methods can be chosen. Most rest function need a timerange which is defined by the two query parameter "start" and "end". Example: This will return the energy used between a defined point in time and the current day. 1/projects/{pname}/devices/{devid}/hist/energy/{value}/{type}?start=UTC_34235345&end=NAMED_Today
TimezoneThe timezone default is the server installation's default timezone. To change the timezone, the "timezone" query parameter can be used. Possible values can be found here IndexThe WEB REST API allows access to projects, devices and their data. Die WEB REST API erlaubt den Zugriff auf Projekte, Geräte und Daten.
Resources/rest/1/projectsMethodsGETGet all loaded projects. available response representations: 200
/rest/1/projects/{pname}Methods/rest/1/projects/{pname}/devicesMethods/rest/1/projects/{pname}/devices/{devid}resource-wide template parametersMethods/rest/1/projects/{pname}/devices/{devid}/connectiontestresource-wide template parametersMethods/rest/1/projects/{pname}/devices/{devid}/hist/energy/{value}/{type}resource-wide template parameters
Methods/rest/1/projects/{pname}/devices/{devid}/hist/eventsMethodsGET/rest/1/projects/{pname}/devices/{devid}/hist/events?typeReturns events for a given timespan. This method supports the timespan parameters, see documentation. request query parameters
available response representations: 200
available response representations: 400
available response representations: 204
/rest/1/projects/{pname}/devices/{devid}/hist/flagsMethods/rest/1/projects/{pname}/devices/{devid}/hist/sequences/{sequenceType}resource-wide template parameters
Methods/rest/1/projects/{pname}/devices/{devid}/hist/transientsMethods/rest/1/projects/{pname}/devices/{devid}/hist/valuesMethods/rest/1/projects/{pname}/devices/{devid}/hist/values/{value}/{type}/{timebase}resource-wide template parameters
MethodsGET/rest/1/projects/{pname}/devices/{devid}/hist/values/{value}/{type}/{timebase}?onlineGet historical data. This method supports the timespan parameters, see documentation. request query parameters
available response representations: 200
available response representations: 204
/rest/1/projects/{pname}/devices/{devid}/manualinputManual input device endpoint. Methods/rest/1/projects/{pname}/devices/{devid}/manualinput/{value}/{type}/{timebase}resource-wide template parameters
Methods/rest/1/projects/{pname}/devices/{devid}/online/valuesMethods/rest/1/projects/{pname}/devices/{devid}/onlinerecord/settingsMethodsGETGet settings for online recording values of device. available response representations: 200
/rest/1/projects/{pname}/devices/{devid}/onlinerecord/statisticsMethodsGETGet statistics for online recording values of device. available response representations: 200
/rest/1/projects/{pname}/onlinevaluesMethodsGET/rest/1/projects/{pname}/onlinevalues?value&appendValueType&timeout&timelinessFetch online value(s) from device(s). This call will return immediately if all requested data is "timeliness". If not all data is timeliness the request wait, but no longer than the given timeout. If a timeout occur all known data is returned. There is no guarantee that the values are measured at this same point in time. It simply the last known value known to the application. The value is as fast as possible regarding its source device. request query parameters
available response representations: 200
available response representations: 400
/rest/1/valuetypesMethodsGETRetrieve information about all available value types. available response representations: 200
/rest/1/valuetypes/{subtype}resource-wide template parameters
MethodsGETRetrieve a value types for a specific subtype. available response representations: 200
/rest/1/valuetypes/subtypesMethodsGETAll subtypes for /rest/valuetypes/{subtype} available response representations: 200
/rest/common/info/language/testMethods/rest/common/info/version/fullMethodsGETRetrieve information about the server version available response representations: 200 application/json [expand] |