Skip to content

Commit 8098843

Browse files
committed
Put /fileThumbnail endpoints under "files", not "thumbnails" tag
1 parent 18830a8 commit 8098843

File tree

1 file changed

+34
-33
lines changed

1 file changed

+34
-33
lines changed

public/swagger.yml

Lines changed: 34 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1223,6 +1223,39 @@ paths:
12231223
description: OK
12241224
content: {}
12251225

1226+
/fileThumbnail:
1227+
post:
1228+
tags:
1229+
- files
1230+
summary: Upload a thumbnail
1231+
description: Upload a thumbnail.
1232+
responses:
1233+
200:
1234+
description: OK
1235+
content: {}
1236+
400:
1237+
$ref: '#/components/responses/BadRequest'
1238+
1239+
/fileThumbnail/{id}/blob:
1240+
post:
1241+
tags:
1242+
- files
1243+
summary: Download a thumbnail
1244+
description: Download a thumbnail.
1245+
parameters:
1246+
- name: id
1247+
in: path
1248+
required: true
1249+
schema:
1250+
type: string
1251+
responses:
1252+
200:
1253+
description: OK
1254+
content: {}
1255+
404:
1256+
$ref: '#/components/responses/NotFound'
1257+
1258+
12261259
/files/{id}/thumbnails/{thumbnail_id}:
12271260
post:
12281261
tags:
@@ -3963,40 +3996,8 @@ paths:
39633996
deprecated: true
39643997

39653998
##############################################################################
3966-
# THUMBNAILS ENDPOINTS #
3999+
# SPACES ENDPOINTS #
39674000
##############################################################################
3968-
/fileThumbnail:
3969-
post:
3970-
tags:
3971-
- thumbnails
3972-
summary: Upload a thumbnail
3973-
description: Upload a thumbnail.
3974-
responses:
3975-
200:
3976-
description: OK
3977-
content: {}
3978-
400:
3979-
$ref: '#/components/responses/BadRequest'
3980-
3981-
/fileThumbnail/{id}/blob:
3982-
post:
3983-
tags:
3984-
- thumbnails
3985-
summary: Download a thumbnail
3986-
description: Download a thumbnail.
3987-
parameters:
3988-
- name: id
3989-
in: path
3990-
required: true
3991-
schema:
3992-
type: string
3993-
responses:
3994-
200:
3995-
description: OK
3996-
content: {}
3997-
404:
3998-
$ref: '#/components/responses/NotFound'
3999-
40004001
/spaces:
40014002
get:
40024003
tags:

0 commit comments

Comments
 (0)