|
Post by AMI_RogerWei on Jul 24, 2023 7:44:02 GMT
Hi, I have some question about ObjectDataType. In schema (ActionInfo.v1_1_2.json), "ObjectDataType" shall be "This property shall describe the entity type definition in `@odata.type` format for the parameter. This property shall be required for parameters with a data type of `Object` or `ObjectArray`, and shall not be present for parameters with other data types." According to the longDescription of ObjectDataType, which is the correct value for GenerateCSRActionInfo.ObjectDataType? a. String b. #CertificateCollection.CertificateCollection Attachments:
|
|
|
Post by jautor on Jul 24, 2023 16:33:15 GMT
Hmmm... I need to take a closer look to see what the value should be. That "object" in `GenerateCSR` is an "idRef". The purpose of the `ObjectDataType` property was to describe JSON object structures by referencing their definition in schema. An idRef is really a special case - while technically an object, it's going to include a single `@odata.id` property as a link to a Redfish resource.
So it will not be either of those values, but rather something else. I need to research what the "proper" `@odata.type` value would be for an "idRef". Stay tuned - I also think we need to add some description text for `ObjectDataType` to explain this case - as it does appear in several Actions.
Jeff
|
|