Skip to content

Commit 6420823

Browse files
author
github-actions
committed
Update REST API documentation Tue Jul 21 10:07:07 UTC 2026
1 parent 1e33c01 commit 6420823

1 file changed

Lines changed: 67 additions & 2 deletions

File tree

restapi.json

Lines changed: 67 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3032,9 +3032,9 @@
30323032
"type": "string",
30333033
"example": "image.png"
30343034
},
3035-
"path": {
3035+
"url": {
30363036
"type": "string",
3037-
"example": "/uploads/image.png"
3037+
"example": "https://ex.com/api/v2/editor-uploads/image.png"
30383038
},
30393039
"size": {
30403040
"type": "integer",
@@ -3192,6 +3192,45 @@
31923192
}
31933193
}
31943194
},
3195+
"/api/v2/editor-uploads/{filename}": {
3196+
"get": {
3197+
"tags": [
3198+
"editor-uploads"
3199+
],
3200+
"summary": "Get uploaded image by name",
3201+
"description": "Returns an uploaded image file by its name.",
3202+
"operationId": "e6468f87da70512337db720c33725084",
3203+
"parameters": [
3204+
{
3205+
"name": "filename",
3206+
"in": "path",
3207+
"description": "Name of the uploaded image file",
3208+
"required": true,
3209+
"schema": {
3210+
"type": "string"
3211+
}
3212+
}
3213+
],
3214+
"responses": {
3215+
"200": {
3216+
"description": "Success",
3217+
"content": {
3218+
"application/octet-stream": {}
3219+
}
3220+
},
3221+
"404": {
3222+
"description": "File not found",
3223+
"content": {
3224+
"application/json": {
3225+
"schema": {
3226+
"$ref": "#/components/schemas/NotFoundErrorResponse"
3227+
}
3228+
}
3229+
}
3230+
}
3231+
}
3232+
}
3233+
},
31953234
"/api/v2/email-forward/{messageId}": {
31963235
"post": {
31973236
"tags": [
@@ -8461,6 +8500,32 @@
84618500
"type": "object",
84628501
"nullable": true
84638502
},
8503+
"FileListingEntry": {
8504+
"properties": {
8505+
"name": {
8506+
"type": "string",
8507+
"example": "image.png"
8508+
},
8509+
"url": {
8510+
"type": "string",
8511+
"example": "https://ex.com/api/v2/editor-uploads/image.png"
8512+
},
8513+
"size": {
8514+
"type": "integer",
8515+
"example": 12345
8516+
},
8517+
"type": {
8518+
"type": "string",
8519+
"example": "file"
8520+
},
8521+
"modified": {
8522+
"type": "integer",
8523+
"example": 1689255600
8524+
}
8525+
},
8526+
"type": "object",
8527+
"nullable": true
8528+
},
84648529
"ForwardRecipientResult": {
84658530
"properties": {
84668531
"email": {

0 commit comments

Comments
 (0)