/api/files/

API requests for files

Get all files from user

GET https://cloud.daneeskripter.dev/api/files/

Query Parameters

Name
Type
Description

username*

String

Username of user

Headers

Name
Type
Description

API-Key*

Auth

API key for authentication

Delete a file

POST https://cloud.daneeskripter.dev/api/files/delete

Query Parameters

Name
Type
Description

username*

String

Username of user

file*

String

Name of file

Headers

Name
Type
Description

API-Key*

Auth

API key for authentication

Rename a file

POST https://cloud.daneeskripter.dev/api/files/rename

Query Parameters

Name
Type
Description

username*

String

Username of user

file*

String

Name of file

newname

String

New name of file

Headers

Name
Type
Description

API-Key*

Auth

API key for authentication

Share a file

POST https://cloud.daneeskripter.dev/api/files/share

Query Parameters

Name
Type
Description

username*

String

Username of user

file

String

Name of file

Headers

Name
Type
Description

API-Key*

Auth

API key for authentication

Set file as not shared

POST https://cloud.daneeskripter.dev/api/files/noshare

Query Parameters

Name
Type
Description

username*

String

Username of user

file*

String

Name of file

Headers

Name
Type
Description

API-Key*

Auth

API key for authentication

Last updated