Skip to main content
POST
/
api
/
v1
/
files
File explorer.
curl --request POST \
  --url https://api.revong.com/api/v1/files \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "fileName": "<string>",
  "contentType": "<string>",
  "type": "FILE",
  "size": 123,
  "path": "<string>"
}'

Authorizations

Authorization
string
header
required

Bearer token with Platform JWT token or API Key.

Body

application/json
fileName
string
required

File name.

type
enum<string>
required

Type.

Available options:
FILE,
FOLDER
path
string
required

path.

contentType
string

contentType

size
number

Size of file (in bytes).

Response

OK.