Skip to content

Commit 444ef52

Browse files
peombwagithub-actions[bot]Microsoft Graph DevX Tooling
authored
Refresh OpenAPI Docs (#1315)
* Weekly OpenApiDocs Download (#1243) * Weekly OpenApiDocs Download. [run ci] * Fix IOdata instances. * Inline security entities. * Handle duplicates. Co-authored-by: Microsoft Graph DevX Tooling <[email protected]> Co-authored-by: Peter Ombwa <[email protected]> Co-authored-by: Peter Ombwa <[email protected]> * Refresh OpenAPI files. * Refresh OpenAPI. * Remove unsupported functions. * Fix exception type in Sites test. * Fix sites tests. * Update directives. * Fix Group directives. * Refresh OpenAPI files. * Fix Users.Actions directives. * Fetch latest. * Refresh OpenAPI files. * Specify IndexerName to avoid schema conflict. * Add IndexerName to Users.Actions module. * Update indexer regex. * Move indexer to main AutoREST config. * Update sites tests. * Update ByRef directives. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Microsoft Graph DevX Tooling <[email protected]>
1 parent 348a285 commit 444ef52

File tree

259 files changed

+988856
-517751
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

259 files changed

+988856
-517751
lines changed

openApiDocs/beta/Applications.yml

Lines changed: 2533 additions & 6238 deletions
Large diffs are not rendered by default.

openApiDocs/beta/Bookings.yml

Lines changed: 343 additions & 192 deletions
Large diffs are not rendered by default.

openApiDocs/beta/Calendar.yml

Lines changed: 92529 additions & 14316 deletions
Large diffs are not rendered by default.

openApiDocs/beta/ChangeNotifications.yml

Lines changed: 47 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ paths:
1010
get:
1111
tags:
1212
- subscriptions.subscription
13-
summary: Get entities from subscriptions
13+
summary: List subscriptions
1414
operationId: subscriptions.subscription_ListSubscription
1515
parameters:
1616
- $ref: '#/components/parameters/search'
@@ -43,21 +43,7 @@ paths:
4343
type: string
4444
responses:
4545
'200':
46-
description: Retrieved entities
47-
content:
48-
application/json:
49-
schema:
50-
title: Collection of subscription
51-
type: object
52-
properties:
53-
value:
54-
type: array
55-
items:
56-
$ref: '#/components/schemas/microsoft.graph.subscription'
57-
'@odata.nextLink':
58-
type: string
59-
additionalProperties:
60-
type: object
46+
$ref: '#/components/responses/microsoft.graph.subscriptionCollectionResponse'
6147
default:
6248
$ref: '#/components/responses/error'
6349
x-ms-pageable:
@@ -67,7 +53,7 @@ paths:
6753
post:
6854
tags:
6955
- subscriptions.subscription
70-
summary: Add new entity to subscriptions
56+
summary: Create subscription
7157
operationId: subscriptions.subscription_CreateSubscription
7258
requestBody:
7359
description: New entity
@@ -90,7 +76,7 @@ paths:
9076
get:
9177
tags:
9278
- subscriptions.subscription
93-
summary: Get entity from subscriptions by key
79+
summary: Get subscription
9480
operationId: subscriptions.subscription_GetSubscription
9581
parameters:
9682
- name: subscription-id
@@ -134,13 +120,16 @@ paths:
134120
application/json:
135121
schema:
136122
$ref: '#/components/schemas/microsoft.graph.subscription'
123+
links:
124+
reauthorize:
125+
operationId: subscriptions.subscription.reauthorize
137126
default:
138127
$ref: '#/components/responses/error'
139128
x-ms-docs-operation-type: operation
140129
patch:
141130
tags:
142131
- subscriptions.subscription
143-
summary: Update entity in subscriptions
132+
summary: Update subscription
144133
operationId: subscriptions.subscription_UpdateSubscription
145134
parameters:
146135
- name: subscription-id
@@ -166,7 +155,7 @@ paths:
166155
delete:
167156
tags:
168157
- subscriptions.subscription
169-
summary: Delete entity from subscriptions
158+
summary: Delete subscription
170159
operationId: subscriptions.subscription_DeleteSubscription
171160
parameters:
172161
- name: subscription-id
@@ -224,19 +213,19 @@ components:
224213
description: 'Required. Indicates the type of change in the subscribed resource that will raise a change notification. The supported values are: created, updated, deleted. Multiple values can be combined using a comma-separated list. Note: Drive root item and list change notifications support only the updated changeType. User and group change notifications support updated and deleted changeType.'
225214
clientState:
226215
type: string
227-
description: Optional. Specifies the value of the clientState property sent by the service in each change notification. The maximum length is 128 characters. The client can check that the change notification came from the service by comparing the value of the clientState property sent with the subscription with the value of the clientState property received with each change notification.
216+
description: Optional. Specifies the value of the clientState property sent by the service in each change notification. The maximum length is 255 characters. The client can check that the change notification came from the service by comparing the value of the clientState property sent with the subscription with the value of the clientState property received with each change notification.
228217
nullable: true
229218
creatorId:
230219
type: string
231-
description: 'Optional. Identifier of the user or service principal that created the subscription. If the app used delegated permissions to create the subscription, this field contains the id of the signed-in user the app called on behalf of. If the app used application permissions, this field contains the id of the service principal corresponding to the app. Read-only.'
220+
description: 'Optional. Identifier of the user or service principal that created the subscription. If the app used delegated permissions to create the subscription, this field contains the ID of the signed-in user the app called on behalf of. If the app used application permissions, this field contains the ID of the service principal corresponding to the app. Read-only.'
232221
nullable: true
233222
encryptionCertificate:
234223
type: string
235224
description: Optional. A base64-encoded representation of a certificate with a public key used to encrypt resource data in change notifications. Optional but required when includeResourceData is true.
236225
nullable: true
237226
encryptionCertificateId:
238227
type: string
239-
description: Optional. A custom app-provided identifier to help identify the certificate needed to decrypt resource data.
228+
description: Optional. A custom app-provided identifier to help identify the certificate needed to decrypt resource data. Required when includeResourceData is true.
240229
nullable: true
241230
expirationDateTime:
242231
pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$'
@@ -261,18 +250,18 @@ components:
261250
nullable: true
262251
notificationQueryOptions:
263252
type: string
264-
description: 'Optional. OData query options for specifying value for the targeting resource. Clients receive notifications when resource reaches the state matching the query options provided here. With this new property in the subscription creation payload along with all existing properties, Webhooks will deliver notifications whenever a resource reaches the desired state mentioned in the notificationQueryOptions property. For example, when the print job is completed or when a print job resource isFetchable property value becomes true etc.'
253+
description: 'Optional. OData query options for specifying the value for the targeting resource. Clients receive notifications when the resource reaches the state matching the query options provided here. With this new property in the subscription creation payload along with all existing properties, Webhooks will deliver notifications whenever a resource reaches the desired state mentioned in the notificationQueryOptions property. For example, when the print job is completed or when a print job resource isFetchable property value becomes true etc.'
265254
nullable: true
266255
notificationUrl:
267256
type: string
268-
description: Required. The URL of the endpoint that will receive the change notifications. This URL must make use of the HTTPS protocol.
257+
description: Required. The URL of the endpoint that receives the change notifications. This URL must make use of the HTTPS protocol.
269258
notificationUrlAppId:
270259
type: string
271260
description: Optional. The app ID that the subscription service can use to generate the validation token. This allows the client to validate the authenticity of the notification received.
272261
nullable: true
273262
resource:
274263
type: string
275-
description: Required. Specifies the resource that will be monitored for changes. Do not include the base URL (https://graph.microsoft.com/v1.0/). See the possible resource path values for each supported resource.
264+
description: Required. Specifies the resource that will be monitored for changes. Do not include the base URL (https://graph.microsoft.com/beta/). See the possible resource path values for each supported resource.
276265
additionalProperties:
277266
type: object
278267
microsoft.graph.entity:
@@ -284,16 +273,28 @@ components:
284273
description: Read-only.
285274
additionalProperties:
286275
type: object
287-
odata.error:
276+
microsoft.graph.subscriptionCollectionResponse:
277+
title: Collection of subscription
278+
type: object
279+
properties:
280+
value:
281+
type: array
282+
items:
283+
$ref: '#/components/schemas/microsoft.graph.subscription'
284+
'@odata.nextLink':
285+
type: string
286+
additionalProperties:
287+
type: object
288+
microsoft.graph.ODataErrors.ODataError:
288289
required:
289290
- error
290291
type: object
291292
properties:
292293
error:
293-
$ref: '#/components/schemas/odata.error.main'
294+
$ref: '#/components/schemas/microsoft.graph.ODataErrors.MainError'
294295
additionalProperties:
295296
type: object
296-
odata.error.main:
297+
microsoft.graph.ODataErrors.MainError:
297298
required:
298299
- code
299300
- message
@@ -305,18 +306,16 @@ components:
305306
type: string
306307
target:
307308
type: string
309+
nullable: true
308310
details:
309311
type: array
310312
items:
311-
$ref: '#/components/schemas/odata.error.detail'
313+
$ref: '#/components/schemas/microsoft.graph.ODataErrors.ErrorDetails'
312314
innererror:
313-
type: object
314-
additionalProperties:
315-
type: object
316-
description: The structure of this object is service-specific
315+
$ref: '#/components/schemas/microsoft.graph.ODataErrors.InnerError'
317316
additionalProperties:
318317
type: object
319-
odata.error.detail:
318+
microsoft.graph.ODataErrors.ErrorDetails:
320319
required:
321320
- code
322321
- message
@@ -328,15 +327,27 @@ components:
328327
type: string
329328
target:
330329
type: string
330+
nullable: true
331331
additionalProperties:
332332
type: object
333+
microsoft.graph.ODataErrors.InnerError:
334+
type: object
335+
additionalProperties:
336+
type: object
337+
description: The structure of this object is service-specific
333338
responses:
339+
microsoft.graph.subscriptionCollectionResponse:
340+
description: Retrieved collection
341+
content:
342+
application/json:
343+
schema:
344+
$ref: '#/components/schemas/microsoft.graph.subscriptionCollectionResponse'
334345
error:
335346
description: error
336347
content:
337348
application/json:
338349
schema:
339-
$ref: '#/components/schemas/odata.error'
350+
$ref: '#/components/schemas/microsoft.graph.ODataErrors.ODataError'
340351
parameters:
341352
search:
342353
name: $search

0 commit comments

Comments
 (0)