You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/openapi-spec/v1.0.yaml
+137-9Lines changed: 137 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -142,15 +142,15 @@ paths:
142
142
default:
143
143
$ref: '#/components/responses/error'
144
144
delete:
145
-
tags:
146
-
- me.photo
147
-
summary: Delete the current user's profile photo
148
-
operationId: DeleteOwnUserPhoto
149
-
responses:
150
-
'204':
151
-
description: Success
152
-
default:
153
-
$ref: '#/components/responses/error'
145
+
tags:
146
+
- me.photo
147
+
summary: Delete the current user's profile photo
148
+
operationId: DeleteOwnUserPhoto
149
+
responses:
150
+
'204':
151
+
description: Success
152
+
default:
153
+
$ref: '#/components/responses/error'
154
154
'/v1beta1/extensions/org.libregraph/activities':
155
155
get:
156
156
tags:
@@ -2593,6 +2593,66 @@ paths:
2593
2593
$ref: '#/components/responses/error'
2594
2594
x-ms-docs-operation-type: operation
2595
2595
2596
+
/v1.0/invitations:
2597
+
post:
2598
+
tags:
2599
+
- invitations
2600
+
summary: Create a new invitation
2601
+
operationId: CreateInvitation
2602
+
requestBody:
2603
+
description: New invitation
2604
+
content:
2605
+
application/json:
2606
+
schema:
2607
+
$ref: '#/components/schemas/invitation'
2608
+
responses:
2609
+
'201':
2610
+
description: Invitation created successfully
2611
+
content:
2612
+
application/json:
2613
+
schema:
2614
+
$ref: '#/components/schemas/invitation'
2615
+
x-ms-docs-operation-type: operation
2616
+
get:
2617
+
tags:
2618
+
- invitations
2619
+
summary: Get a list of invitations
2620
+
operationId: ListInvitations
2621
+
responses:
2622
+
'200':
2623
+
description: Retrieved invitations
2624
+
content:
2625
+
application/json:
2626
+
schema:
2627
+
title: Collection of invitations
2628
+
type: object
2629
+
properties:
2630
+
value:
2631
+
type: array
2632
+
items:
2633
+
$ref: '#/components/schemas/invitation'
2634
+
2635
+
/v1.0/invitations/{invitation-id}:
2636
+
get:
2637
+
tags:
2638
+
- invitations
2639
+
summary: Get an invitation by key
2640
+
operationId: GetInvitation
2641
+
parameters:
2642
+
- name: invitation-id
2643
+
in: path
2644
+
description: 'key: id of invitation'
2645
+
required: true
2646
+
schema:
2647
+
type: string
2648
+
responses:
2649
+
'200':
2650
+
description: Retrieved invitation
2651
+
content:
2652
+
application/json:
2653
+
schema:
2654
+
$ref: '#/components/schemas/invitation'
2655
+
2596
2656
/v1.0/users:
2597
2657
get:
2598
2658
tags:
@@ -4461,6 +4521,74 @@ components:
4461
4521
'@libre.graph.userType':
4462
4522
type: string
4463
4523
description: 'The type of the identity. This can be either "Member" for regular user, "Guest" for guest users or "Federated" for users imported from a federated instance. Can be used by clients to indicate the type of user. For more details, clients should look up and cache the user at the /users endpoint.'
4524
+
invitation:
4525
+
type: object
4526
+
description: |
4527
+
Represents an invitation to a drive item.
4528
+
properties:
4529
+
invitedUserDisplayName:
4530
+
type: string
4531
+
description: The display name of the user being invited.
4532
+
invitedUserEmailAddress:
4533
+
type: string
4534
+
description: The email address of the user being invited. Required.
0 commit comments