File storage with key
or Authentication Token
based access.
Authentication Token
- user authentication token. Available by/api/token
after registration.key
-FILE-ACCESS-KEY
field in request form-data.
File owner
can access all the file, that he uploaded.
Any file uploaded with key
might be accesses (inc. deleted
) by request with key
.
File owner
- user, that usedAuthentication Token
to upload file.
Anonymous user
can upload and access their files by the key
.
Anonymous user
- user, that didn't usedAuthentication Token
to upload file.
- docker
- docker compose
docker compose -f docker-compose.yml up
{
'/storage': {
'GET': 'List files',
'POST': 'Upload file',
},
'/storage/*': {
'DELETE': 'Delete file by id',
'LINK': 'Download file by id',
},
'/profiles': {
'GET': 'List profiles'
},
'/token': {
'POST': 'Get token',
},
'/register': {
'Register using base auth'
},
'/': {
'GET': 'List available API routines'
}
}