Skip to content

Commit 503237c

Browse files
committed
remove metadata endpoints for photos
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
1 parent 5ce1e73 commit 503237c

1 file changed

Lines changed: 0 additions & 66 deletions

File tree

api/openapi-spec/v1.0.yaml

Lines changed: 0 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -91,35 +91,6 @@ paths:
9191
default:
9292
$ref: '#/components/responses/error'
9393
x-ms-docs-operation-type: operation
94-
/v1.0/me/photo:
95-
get:
96-
tags:
97-
- me.photo
98-
summary: Get the current user's profile photo metadata
99-
operationId: GetOwnUserPhotoMetadata
100-
responses:
101-
'200':
102-
description: Retrieve photo metadata
103-
content:
104-
application/json:
105-
schema:
106-
title: Collection of educationUser
107-
type: object
108-
properties:
109-
value:
110-
type: array
111-
items:
112-
$ref: '#/components/schemas/profilePhotoMetaData'
113-
example:
114-
- id: "240x240"
115-
width: 240
116-
height: 240
117-
'@odata.type': '#microsoft.graph.profilePhotoMetaData'
118-
'@odata.id': "https://graph.microsoft.com/v1.0/users('ddfcd489-628b-7d04-b48b-20075df800e5@1717622f-1d94-c0d4-9d74-f907ad6677b4')/photo"
119-
'@odata.mediaContentType': "image/jpeg"
120-
'@odata.mediaEtag': "\"BA09D118\""
121-
default:
122-
$ref: '#/components/responses/error'
12394
/v1.0/me/photo/$value:
12495
get:
12596
tags:
@@ -2883,43 +2854,6 @@ paths:
28832854
style: simple
28842855
schema:
28852856
type: string
2886-
'/v1.0/users/{user-id}/photo':
2887-
get:
2888-
tags:
2889-
- user.photo
2890-
summary: Get the photo metadata of a user
2891-
operationId: GetUserPhotoMetadata
2892-
parameters:
2893-
- name: user-id
2894-
in: path
2895-
description: 'key: id or name of user'
2896-
required: true
2897-
schema:
2898-
type: string
2899-
x-ms-docs-key-type: user
2900-
responses:
2901-
'200':
2902-
description: Retrieve photo metadata
2903-
content:
2904-
application/json:
2905-
schema:
2906-
title: Collection of ProfilePhotoMetaData
2907-
type: object
2908-
properties:
2909-
value:
2910-
type: array
2911-
items:
2912-
$ref: '#/components/schemas/profilePhotoMetaData'
2913-
example:
2914-
- id: "240x240"
2915-
width: 240
2916-
height: 240
2917-
'@odata.type': '#microsoft.graph.profilePhotoMetaData'
2918-
'@odata.id': "https://graph.microsoft.com/v1.0/users('ddfcd489-628b-7d04-b48b-20075df800e5@1717622f-1d94-c0d4-9d74-f907ad6677b4')/photo"
2919-
'@odata.mediaContentType': "image/jpeg"
2920-
'@odata.mediaEtag': "\"BA09D118\""
2921-
default:
2922-
$ref: '#/components/responses/error'
29232857
'/v1.0/users/{user-id}/photo/$value':
29242858
get:
29252859
tags:

0 commit comments

Comments
 (0)