Microsoft Graph API 元数据是否确认 OData 协议规范?
Does the Microsoft Graph API metadata confirm the OData Protocol specification?
Microsoft Graph API 元数据
https://graph.microsoft.com/v1.0/$metadata?detailed=true
ll.6791 - 6795
<Action Name="createSession" IsBound="true">
<Parameter Name="this" Type="microsoft.graph.workbook"/>
<Parameter Name="persistChanges" Type="Edm.Boolean" Nullable="false"/>
<ReturnType Type="microsoft.graph.workbookSessionInfo"/>
</Action>
11.5.1 将操作绑定到资源
Actions and Functions MAY be bound to an entity type, primitive type, complex type, or a collection. The first parameter of a bound operation is the binding parameter.
"createSession" 动作没有"bindingParameter"。
这是 Microsoft Graph API 元数据的正确规范吗?
如果这是不正确的规范,我该如何向 Microsoft Graph 团队报告?
正如您引用的那样,规范说:
The first parameter of a bound operation is the binding parameter.
所以在这种情况下,名为 "this" 的参数是绑定参数。参数不必命名为 "bindingParameter".
Microsoft Graph API 元数据
https://graph.microsoft.com/v1.0/$metadata?detailed=true
ll.6791 - 6795
<Action Name="createSession" IsBound="true">
<Parameter Name="this" Type="microsoft.graph.workbook"/>
<Parameter Name="persistChanges" Type="Edm.Boolean" Nullable="false"/>
<ReturnType Type="microsoft.graph.workbookSessionInfo"/>
</Action>
11.5.1 将操作绑定到资源
Actions and Functions MAY be bound to an entity type, primitive type, complex type, or a collection. The first parameter of a bound operation is the binding parameter.
"createSession" 动作没有"bindingParameter"。 这是 Microsoft Graph API 元数据的正确规范吗? 如果这是不正确的规范,我该如何向 Microsoft Graph 团队报告?
正如您引用的那样,规范说:
The first parameter of a bound operation is the binding parameter.
所以在这种情况下,名为 "this" 的参数是绑定参数。参数不必命名为 "bindingParameter".