Files
Upload a file
Upload a file.
post/lucca-files/api/uploads
Request
- Base URLhttps://example.ilucca.net
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Accept'application/json' required
HTTP request header used for content-negotiation.
Content-Type'multipart/form-data' required
HTTP response header used for content-negotiation.
Request body multipart/form-data
Response
Created
Example response
{
"id": "552cb7db-b7e2-4f39-a675-c4b140f41eea",
"name": "test.pdf",
"createdAt": "2023-10-24T12:19:54.7243377Z",
"deletedAt": null,
"contentLength": 95683,
"contentType": "application/pdf",
"extension": ".pdf",
"totalPages": 3
}Changes
No recorded changes to this operation across all 1 revision of this API.