jack
Minnow
Posts: 5
|
Post by jack on Nov 20, 2017 11:41:56 GMT
Take Manager.Reset action as an example, definition for Reset action can be found in Manager.vx_x_x.json, however the parameter ResetType can be found nowhere in any json schemas.
|
|
|
Post by mraineri on Nov 28, 2017 18:54:32 GMT
This has been an outstanding item for the SPMF for some time. A proposal was made to us recently for how to show Action parameters in the JSON schemas, and this will be incorporated in the next release cycle of our schemas.
|
|
fish
Guppy
Posts: 65
|
Post by fish on Nov 29, 2017 7:59:11 GMT
This has been an outstanding item for the SPMF for some time. A proposal was made to us recently for how to show Action parameters in the JSON schemas, and this will be incorporated in the next release cycle of our schemas. OK, good news. Would this proposal be related to using Actioninfo from schemas ActionInfo.json, that can be found at least in 2017.1 schemas? I found this schema in the zip file, but I could not find any information on how to use it. Or is this described somewhere already?
|
|
|
Post by mraineri on Nov 29, 2017 13:16:15 GMT
ActionInfo is a resource used by a service to convey its support for a given action (such as which parameters are supported). For example, when you do a GET on a ComputerSystem resource, the service could provide a link to the ActionInfo resource for its Reset Action. Doing a subsequent GET on that link will give the listing of each of the parameters, which parameters are required by the service, and what are the restrictions on values for those parameters for the service. We have some spec updates pending with documentation about this, which should be out shortly.
|
|
jack
Minnow
Posts: 5
|
Post by jack on Dec 7, 2017 1:25:56 GMT
This has been an outstanding item for the SPMF for some time. A proposal was made to us recently for how to show Action parameters in the JSON schemas, and this will be incorporated in the next release cycle of our schemas. OK, will the correlated csdl-to-json-convertor tool be published at the same time?
|
|
|
Post by mraineri on Dec 7, 2017 13:24:51 GMT
That's right; once we publish the new JSON schema files, we'll also push out the changes we've made to the CSDL to JSON converter to support the action parameters.
|
|