v1

latestSwagger 2.02026-07-17652667.3 KB
basic

Register new file

post/file-storage/{store_name}

Path parameters

store_namestring required

Name of the store

Request body

detail_typestring required
store_namestring required

Name of the file store

uidinteger

Unique file id

namestring required

Name of the file

linkstring
store_dataobject required

Store specific data

Example request

{
  "detail_type": "FileSummary",
  "store_name": "dropbox",
  "uid": 323492,
  "name": "test.mp4",
  "link": "http://localhost/api/v0/files/989/test.mp4"
}

Response

File created