Skip to content

Asko-Dev/File_Upload_RESTAPI

Repository files navigation

An API endpoint for file upload

  • User Registration
  • User Token Authentication
  • User Details display (based on the token loaded)
  • API root for Tag API, File Upload API, Public Files API
  • Tag API -> create tags to assign to your files when POSTing files
  • Upload File API ->
    • Upload and name files [validator for extensions]
    • Choose Private/Public privacy settings [Private visible only to owner]
    • Add Tags to your files
    • Add description
    • Date automatically set
  • SHA-512 hash of the file created on save() of the model
    • visible only on the admin site
  • Public File API ->
    • Public files of all users displayed
  • Filtering based on tags and privacy settings for both Private and Public API

DEPLOYED TO HEROKU (Using AWS S3 Bucket for storage)

ROOT URL: https://asko-fileupload.herokuapp.com

URL endpoints:

  • /api/user-create/
  • /api/user-token/
  • /api/user-me/
  • /api/tag/
  • /api/tag/id
  • /api/file-upload/
  • /api/file-upload/id
  • /api/file-upload/?tag=id&visibility='PRV'/'PUB'
  • /api/public-uploads/
  • /api/public-uploads/id
  • /api/public-uploads/?tag=id&visibility='PRV'/'PUB'

About

Private/Public files with tags and filtering

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published