For datastream the redoc is showing different fields available to the datastream based on GET vs POST/PUT
For example POST
Vs GETs
This may be intentional however some fields are not clear on how they are mapped
- Formats: server provided based on the various schema's the datastream supports?
- observedProperties: Where do these come from? The schema? (assuming its not protofuff or other non json schema?)
- Schema: This is less of question of where it comes from (via the PUT update/schema endpoint) and more of should this be an array?
Based on Req 11 it seems there could be multiple formats so in theory schema probably should be an array of each schema based on obsFormat?
Example from Req 11 of multiple formats
https://{api_root}/datastreams/{id}/schema?obsFormat=application/json
https://{api_root}/datastreams/{id}/schema?obsFormat=application/swe%2Bcsv
https://{api_root}/datastreams/{id}/schema?obsFormat=application/swe%2Bbinary
For datastream the redoc is showing different fields available to the datastream based on GET vs POST/PUT
For example POST
Vs GETs
This may be intentional however some fields are not clear on how they are mapped
Based on Req 11 it seems there could be multiple formats so in theory schema probably should be an array of each schema based on obsFormat?
Example from Req 11 of multiple formats