POST /api/signup

Description

Sign up and login in the platform. If success, returns a Bearer Token.

Input

Output

POST /api/login

Description

Authentificate in the platform and returns a Bearer Token.

Input

Output

GET /api/list/files

Description

List all yours files.

Input

Output

POST /api/files

Description

Uploads multiple files to the system

Input

Output

PUT /api/files/:hash

Description

Edits a file

Input

Output

GET /api/files/:hash

Description

Downloads a file

Input

Output

POST /api/archive/:hash

Description

Set a file as archived

Input

Output

POST /api/unarchive/:hash

Description

Set a file as unarchived

Input

Output

POST /api/files/audit

Description

Check if a file already exists in the system.

Input

Output

POST /api/files/access

Description

Give acces to the file to a user's specific public key.

Input

Output

DELETE /api/files/access

Description

Remove acces to the file to a user's specific address.

Input

Output

POST /api/user/details

Description

Get the user details from address, publicKey or email

Input

Output

Get /api/files/:hash/info

Description

Get the file info by hash

Input

Output

Get /api/comments/:hash

Description

Gets the file comments

Input

Output

POST /api/comments/

Description

Create a new comment to a file

Input

Output

POST /api/folders

Description

Creates a folder

Input

Output

POST /api/folders

Description

Change the directory of a files list

Input

Output