Files
It is used to retrive information about files. Also to create or modify existing file.
File type options:
- 1 - directory
- 2 - file
- 3 - attachment
- 4 - project
- 5 - group
- 6 - decition reg.
- 7 - exemption
- 8 - library
- 9 - admission
Endpoints
Type | URI | Description |
---|---|---|
GET | ./fisiere | It is used to get information about a directory. |
GET | ./fisiere/detalii | It is used to get the details about a directory. |
GET | ./fisiere/new | It is use to return the list with all the files received as shared and not accepted. |
DELETE | ./fisiere | It is used to delete a file for a user not accepted. |
POST | ./fisiere | It is used to create a new directory. |
PUT | ./fisiere | It is used to modify a directory. |
GET | ./fisiere/usage | Returns data about occupied space and available space. |
POST | ./fisiere/share | It is used to share a file/directory. |
DELETE | ./fisiere/share | It is used to delete a group of share. |
GET | ./fisiere/public_url | It is used to download a file based on a public url. |
POST | ./fisiere/public_url | It is used to create a public url for a file. |
DELETE | ./fisiere/public_url | It is used to delete a public url that was generated for a file. |
GET | ./fisiere/download | It is used to download a file. |
GET | ./fisiere/download_zip | It is used to download an archive with all the files. |
POST | ./fisiere/upload | It is used to uplaod a file. |
POST | ./fisiere/upload_tmp | It is used to upload a file temporary. |