Get API Details
Get the details of the running Product Name
Syntax: see 'CCall Structure
Type = 'GET'
''https://connect.cambrionix.com/api/locations/v1/details' |
Returns:
{ "version": [version-number], "semver": "semver-variant", "guid" { "id": "service-id" "computerId": "computer-id }, } |
Output | Description |
---|---|
version-number | Version number of API as an integer (Major,Minor,Revision,Build) |
semver-variant | The full name of the API version |
service-id | This is the id of the service as a unique 128-bit number |
computer-id | This is the id of the computer as a unique 128-bit number |
Example
curl -X 'GET' \
'http:connect.cambrionix.com/api/locations/v1/details' \
-H 'accept: application/json'
Returns
{
"version": [
0,
1,
0,
40
],
"semver": "0.1.0-master.40",
"guid": {
"id": "4ffdf7b6-a026-5afe-b49b-5d1aaac0ad1c",
"computerId": "35aea4bc-44d3-4e9e-9b3c-c33b965c5639"
},
}
Errors
If there is an error in the API method then JSON-RPC Error Object a will be returned