
Page 97
Anhang | API Communication with Controller (Version 0.7.1)
colorSENSOR CFO
A 3.5
API
A 3.5.1
General
- Collections (arrays and lists) can be queried with
GET
.
Filtering operations using defined attributes as query parameters are possible.
- Optional: Some collections allow
POST
requests to create additional collection elements.
If required, attributes for the new collection entries deviating from their standard values can be overwrit-
ten using query parameters.
Errors when creating objects are signaled with the HTTP status code 400 (Bad Request).
- Optional: Some collections support deletion of elements.
The collection is emptied when a filter is not specified.
Filter rules correspond to those of
GET
Requests for this collection.
A
DELETE
request is always successful, regardless of the number of objects actually deleted.
- Individual entries can be queried via
GET
.
Typically the path corresponds to the following scheme: /COLLECTION_PATH/UNIQUE_ID.
Requests for IDs not present are acknowledged by the HTTP status code 404 (Not Found).
Filtering operations using defined attributes as query parameters are possible.
- Optional: Some types of entries can be modified with
PUT
requests.
The data set to be changed is transferred as a JSON data set in the body of the request.
Attributes missing in the data set remain unchanged.
The values for read-only attributes must not differ from the previous state - otherwise an HTTP status
code 400 (Bad Request) is returned.
As a matter of principle it is not possible to change the unique ID for an entry (typically the key uuid).
A successful request is acknowledged with the new entry state in the body of the response.
- Optional: Some types of entries can be deleted with
DELETE
requests.
- All properties of
GET
requests for collections also apply for their
POST
requests.
- All properties of
GET
requests for entries also apply for their
PUT
requests.
Summary of Contents for colorSENSOR CFO Series
Page 1: ...CFO100 CFO200 Instruction Manual colorSENSOR CFO...
Page 6: ...colorSENSOR CFO...
Page 69: ...Page 69 Operation colorSENSOR CFO Fig 27 Screen shot color table...
Page 81: ...Page 81 Operation colorSENSOR CFO 3 2 1 5 6 7 8 4 Fig 34 Measuring data display...
Page 121: ......
Page 122: ......
Page 123: ......