curl --request POST \
--url https://api.bundle.social/api/v1/upload/ \
--header 'Content-Type: multipart/form-data' \
--header 'x-api-key: <api-key>' \
--form 'teamId=<string>'
{
"id": "<string>",
"teamId": "<string>",
"organizationId": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"iconUrl": "<string>",
"thumbnailUrl": "<string>",
"url": "<string>",
"iconPath": "<string>",
"thumbnailPath": "<string>",
"path": "<string>",
"type": "image",
"width": 123,
"height": 123,
"fileSize": 123,
"videoLength": 123,
"mime": "<string>",
"ext": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
Upload a file. This is the only endpoint that uses multipart/form-data.
curl --request POST \
--url https://api.bundle.social/api/v1/upload/ \
--header 'Content-Type: multipart/form-data' \
--header 'x-api-key: <api-key>' \
--form 'teamId=<string>'
{
"id": "<string>",
"teamId": "<string>",
"organizationId": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"iconUrl": "<string>",
"thumbnailUrl": "<string>",
"url": "<string>",
"iconPath": "<string>",
"thumbnailPath": "<string>",
"path": "<string>",
"type": "image",
"width": 123,
"height": 123,
"fileSize": 123,
"videoLength": 123,
"mime": "<string>",
"ext": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
Body
The body is of type object
.
200
The response is of type object
.
Was this page helpful?