feat: attachment upload by url

Signed-off-by: Pranav C <pranavxc@gmail.com>
This commit is contained in:
Pranav C
2022-05-28 12:53:09 +05:30
parent 4874d95967
commit 72ce83af50
34 changed files with 12689 additions and 118 deletions

View File

@@ -2625,14 +2625,14 @@
"name": "tableName",
"in": "path",
"required": true
},{
},
{
"schema": {
"type": "string"
},
"in": "query",
"name": "column_name",
"description":
"Column name of the column you want to group by, eg. `column_name=column1`"
"description": "Column name of the column you want to group by, eg. `column_name=column1`"
}
],
"get": {
@@ -2907,14 +2907,14 @@
"name": "viewName",
"in": "path",
"required": true
},{
},
{
"schema": {
"type": "string"
},
"in": "query",
"name": "column_name",
"description":
"Column name of the column you want to group by, eg. `column_name=column1`"
"description": "Column name of the column you want to group by, eg. `column_name=column1`"
}
],
"get": {
@@ -5248,6 +5248,52 @@
]
}
},
"/api/v1/db/storage/upload-by-url": {
"post": {
"summary": "Attachment",
"operationId": "storage-upload-by-url",
"responses": {},
"tags": [
"Storage"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"fileName": {
"type": "string"
},
"mimetype": {
"type": "string"
},
"size": {
"type": "string"
}
}
}
}
}
}
},
"parameters": [
{
"schema": {
"type": "string"
},
"name": "path",
"in": "query",
"required": true
}
]
}
},
"/api/v1/db/meta/projects/{projectId}/users/{userId}/resend-invite": {
"parameters": [
{