The OEM actions is defined like BaseURI/Actions/Oem/Contoso.xxxx in the redfish spec. But if I want to define an action for a resource without actions property, what is the preferred behavior? 1. Oem/Actions/Contoso.xxxx or 2. Oem/Contoso/Actions/Contoso.xxxx
From the definition for OEM properties, seems it should be #2, what's your idea?
It's not possible to define OEM actions on a resource that does not already contain an "Actions" property. However, all standard resources we publish do contain an "Actions" property to ensure implementations are able to create OEM actions as needed.
Thanks for the quick response. That makes sense. For the OEM actions, is it compliant if I define it as Actions/Oem/Contoso/Contoso.xxxx? Does the URI matter given I try to make the structure clear for multiple vendors?
Due to the structure of actions, the namespace of the action definition is already included in the URI. So, the Redfish rules for this URI are "Actions/Oem/Namespace.ActionName", where our guidance is the namespace should include the company identifier.