curl --request POST \
--url https://api.revong.com/api/v1/files \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"fileName": "<string>",
"type": "FILE",
"path": "<string>",
"contentType": "<string>",
"size": 123
}
'ROLES: FILE_ADMIN USER: true SERVICE ACCOUNT: true
curl --request POST \
--url https://api.revong.com/api/v1/files \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"fileName": "<string>",
"type": "FILE",
"path": "<string>",
"contentType": "<string>",
"size": 123
}
'Bearer token with Platform JWT token or API Key.
OK.