-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixing JSON representation format for entities and attributes in APIv2 #1259
Comments
It has been proposed by @jmcanterafonseca to allow PUT/POST payload without attribute |
In the case the parser detect a unknown field in the JSON, it should return a BadRequest error (see #1286) error which description message includes the unkwown field, e.g:
|
This has been worked in several task/ -> feature/1259_XX PRs. The final PR that merges features/1259_XX into develop is this one: #1685 |
This issue implements a set of changes of the entities/attributes representation format discussed during September 2015 by
See http://telefonicaid.github.io/fiware-orion/api/v2/ for details (yet to be added).
Parts to implement:
Creation/Update of EntitiesRendering of EntityCreation/Update of AttributeRendering of AttributeUpdate of Attribute ValueRendering of Attribute ValueSelector to make the broker accept different input payloads for /v2/entitiesMake attribute::value non-mandatory - if not present, value is NULLModify input format of strings in 5. Update of Attribute Value, not to need citation-marks(not finally needed)(Introduced by FGM at 26/10/2015) Replaceop=append
byoptions=[...,]append[,...]
usage (I have looked to feature/1259_new_json_for_v2 branch and it seems that the old way is still in use)Exceptions:
The text was updated successfully, but these errors were encountered: