Документация внутреннего API Felmee (0.0.2)
Общий формат ответа для всех REST endpoints:
{
"success": true,
"message": "...",
"codeError": null,
"data": {}
}- Productionhttps://felmee.com/api/file/upload
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://felmee.com/api/file/upload \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: multipart/form-data' \
-F purpose=AVATARResponse
application/json
{ "success": true, "message": "File upload successfully", "codeError": null, "data": { "file_id": "<object_key>" } }
- Productionhttps://felmee.com/file/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://felmee.com/file/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
No content