|
Post by Venkatesh Periyasamy on Apr 26, 2017 11:54:25 GMT
As per the specification document(1.0.3), Some of the classes(Chassis,Systems,EndPoints) are referred from redfish. But it does not describes which version of redfish specification to refer? Is it ok to use any version of the redfish version? or As per mockup , it is referring 1.0.2 version? Is there way to mention the REST client that the version of redfish specification used by the service?
|
|
|
Post by mraineri on Apr 28, 2017 12:15:57 GMT
Schema and specification are handled independently; we can revise one and not the other. In addition, implementations may not take all schema updates; some could update particular resources while leaving others as is.
From a specification perspective, you can tell what version of the spec the implementation supports from the "RedfishVersion" property found in ServiceRoot.
From a schema perspective, you can tell what version of the resource is being used from the @odata.type property in the response. For example, this means the Chassis resource follows schema version 1.2.1 for Chassis:
{ "@odata.type": "#Chassis.v1_2_1.Chassis", "@odata.context": "/redfish/v1/$metadata#Chassis.Chassis", "@odata.id": "/redfish/v1/Chassis/Enclosure", "Id": "Enclosure", ... }
|
|