Add the annotations folder in docs
This commit is contained in:
parent
5348ea25f2
commit
a0b61e938a
37
docs/annotations/GraphVocaburary.def
Normal file
37
docs/annotations/GraphVocaburary.def
Normal file
|
@ -0,0 +1,37 @@
|
|||
<Schema Namespace="Org.OData.Core.V1" Alias="Core" xmlns="http://docs.oasis-open.org/odata/ns/edm">
|
||||
<Term Name="HttpRequests" Type="Collection(Core.HttpRequest)" AppliesTo="EntitySet Singleton ActionImport FunctionImport Action Function">
|
||||
<Annotation Term="Core.Description" String="Describes possible HTTP requests" />
|
||||
<Annotation Term="Core.LongDescription" String="The list need not be complete. It may be used to generate API documentation, so restricting it to the most common and most important responses may increase readability." />
|
||||
</Term>
|
||||
<ComplexType Name="HttpRequest">
|
||||
<Property Name="Description" Type="Edm.String" />
|
||||
<!-- text such as "For a specific user:" to describe the http request-->
|
||||
<Property Name="MethodDescription" Type="Edm.String" /> <!-- map to: opertaion#summary or operation#operationID??? -->
|
||||
<Property Name="MethodType" Type="Edm.String" /> <!-- GET/POST/PATCH/DELETE -->
|
||||
<Property Name="CustomQueryOptions" Type="Collection(Core.CustomParameter)" />
|
||||
<Property Name="CustomHeaders" Type="Collection(Core.CustomParameter)" /> <!-- Map to Parameter in Operation as Header object.-->
|
||||
<Property Name="HttpResponses" Type="Collection(Core.HttpResponse)" /> <!-- Map to Response object in Operation. -->
|
||||
<Property Name="SecuritySchemes" Type="Collection(Auth.SecurityScheme)"/>
|
||||
</ComplexType>
|
||||
<ComplexType Name="HttpResponse">
|
||||
<Property Name="ResponseCode" Type="Edm.String" />
|
||||
<Property Name="Examples" Type="Collection(Core.Example)" />
|
||||
<Property Name="Description" Type="Edm.String" />
|
||||
</ComplexType>
|
||||
<ComplexType Name="CustomParameter">
|
||||
<Property Name="Name" Type="Edm.String" Nullable="false" />
|
||||
<Property Name="Description" Type="Edm.String" />
|
||||
<Property Name="DocumentationURL" Type="Edm.String" />
|
||||
<Property Name="Required" Type="Edm.Boolean" Nullable="false" />
|
||||
<Property Name="ExampleValues" Type="Collection(Core.Example)" Nullable="false" />
|
||||
</ComplexType>
|
||||
<ComplexType Name="Example" Abstract="true">
|
||||
<Property Name="Description" Type="Edm.String" Nullable="false" />
|
||||
</ComplexType>
|
||||
<ComplexType Name="ExternalExample" BaseType="Core.Example">
|
||||
<Property Name="ExternalValue" Type="Edm.String" Nullable="false" />
|
||||
</ComplexType>
|
||||
<ComplexType Name="InlineExample" BaseType="Core.Example">
|
||||
<Property Name="InlineValue" Type="Edm.String" Nullable="false" />
|
||||
</ComplexType>
|
||||
</Schema>
|
72
docs/annotations/graph.beta.authorization.xml
Normal file
72
docs/annotations/graph.beta.authorization.xml
Normal file
|
@ -0,0 +1,72 @@
|
|||
<Annotations Target="microsoft.graph.GraphService">
|
||||
<Annotation Term="Org.OData.Authorization.V1.Authorizations">
|
||||
<Collection>
|
||||
<Record Type="Org.OData.Authorization.V1.OAuth2Implicit">
|
||||
<PropertyValue Property="Name" String="DelegatedWork"/>
|
||||
<PropertyValue Property="Description" String="DelegatedWork"/>
|
||||
<PropertyValue Property="RefreshUrl" String="https://graph.microsoft.com"/>
|
||||
<PropertyValue Property="AuthorizationUrl" String="https://graph.microsoft.com" />
|
||||
<PropertyValue Property="Scopes">
|
||||
<Collection>
|
||||
<Record>
|
||||
<PropertyValue Property="Scope" String="User.ReadAll"></PropertyValue>
|
||||
<PropertyValue Property="Description" String="Read all user data"></PropertyValue>
|
||||
</Record>
|
||||
<Record>
|
||||
<PropertyValue Property="Scope" String="User.WriteAll"></PropertyValue>
|
||||
<PropertyValue Property="Description" String="Write all user data"></PropertyValue>
|
||||
</Record>
|
||||
<Record>
|
||||
<PropertyValue Property="Scope" String="Directory.ReadAll"></PropertyValue>
|
||||
<PropertyValue Property="Description" String="Write to directory"></PropertyValue>
|
||||
</Record>
|
||||
</Collection>
|
||||
</PropertyValue>
|
||||
</Record>
|
||||
<Record Type="Org.OData.Authorization.V1.OAuth2Implicit">
|
||||
<PropertyValue Property="Name" String="DelegatedPersonal"/>
|
||||
<PropertyValue Property="Description" String="DelegatedPersonal"/>
|
||||
<PropertyValue Property="RefreshUrl" String="https://graph.microsoft.com" />
|
||||
<PropertyValue Property="AuthorizationUrl" String="https://graph.microsoft.com" />
|
||||
<PropertyValue Property="Scopes">
|
||||
<Collection>
|
||||
<Record>
|
||||
<PropertyValue Property="Scope" String="User.ReadAll"></PropertyValue>
|
||||
<PropertyValue Property="Description" String="Read all user data"></PropertyValue>
|
||||
</Record>
|
||||
<Record>
|
||||
<PropertyValue Property="Scope" String="User.WriteAll"></PropertyValue>
|
||||
<PropertyValue Property="Description" String="Write all user data"></PropertyValue>
|
||||
</Record>
|
||||
<Record>
|
||||
<PropertyValue Property="Scope" String="Directory.ReadAll"></PropertyValue>
|
||||
<PropertyValue Property="Description" String="Write to directory"></PropertyValue>
|
||||
</Record>
|
||||
</Collection>
|
||||
</PropertyValue>
|
||||
</Record>
|
||||
<Record Type="Org.OData.Authorization.V1.OAuth2Implicit">
|
||||
<PropertyValue Property="Name" String="Application"/>
|
||||
<PropertyValue Property="Description" String="Application"/>
|
||||
<PropertyValue Property="RefreshUrl" String="https://graph.microsoft.com" />
|
||||
<PropertyValue Property="AuthorizationUrl" String="https://graph.microsoft.com" />
|
||||
<PropertyValue Property="Scopes">
|
||||
<Collection>
|
||||
<Record>
|
||||
<PropertyValue Property="Scope" String="User.ReadAll"></PropertyValue>
|
||||
<PropertyValue Property="Description" String="Read all user data"></PropertyValue>
|
||||
</Record>
|
||||
<Record>
|
||||
<PropertyValue Property="Scope" String="User.WriteAll"></PropertyValue>
|
||||
<PropertyValue Property="Description" String="Write all user data"></PropertyValue>
|
||||
</Record>
|
||||
<Record>
|
||||
<PropertyValue Property="Scope" String="Directory.ReadAll"></PropertyValue>
|
||||
<PropertyValue Property="Description" String="Write to directory"></PropertyValue>
|
||||
</Record>
|
||||
</Collection>
|
||||
</PropertyValue>
|
||||
</Record>
|
||||
</Collection>
|
||||
</Annotation>
|
||||
</Annotations>
|
27058
docs/annotations/metadata.xml
Normal file
27058
docs/annotations/metadata.xml
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue