Skip to content

a dockerized micro-service for adding, updating, retrieving and deleting files

Notifications You must be signed in to change notification settings

ajibadeabd/falconMicroservices

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File Manager(open to edit)

a dockerized micro-service for adding, updating, retrieving and deleting files

Quick Start

Testing

Files

Create a File

{
    "file": "mark.png"
}
  • Sample Response
{
    "status": true,
    "message": "File Uploaded"
}

Get all Files

{
    "status": true,
    "message": "Files Found",
    "files": [
        {
            "id": "5e6288bc8c7fec6308a1d499",
            "file": "s3://falcon-bucket/files/mark.png"
        },
        {
            "id": "5e6288bc8c7fec6308a1d498",
            "file": "s3://falcon-bucket/files/essien.gif"
        },
        {
            "id": "5e6288bc8c7fec6308a1d497",
            "file": "s3://falcon-bucket/files/seyi.jpg"
        },
        {
            "id": "5e6288bc8c7fec6308a1d496",
            "file": "s3://falcon-bucket/files/john.gif"
        },
        {
            "id": "5e6288bc8c7fec6308a1d495",
            "file": "s3://falcon-bucket/files/doe.jpeg"
        }
    ]
}

Get a File

{
    "status": true,
    "message": "File Found",
    "file": {
        "id": "5e6288bc8c7fec6308a1d499",
        "file": "s3://falcon-bucket/files/mark.png"
    }
}

Update a File

{
    "id": "5e6288bc8c7fec6308a1d499",
    "file": "s3://falcon-bucket/files/mark.png"
}
  • Sample Response
{
    "status": true,
    "message": "File Updated"
}

Delete a File

{
    "id": "5e6288bc8c7fec6308a1d499"
}
  • Sample Response
{
    "status": true,
    "message": "File Deleted"
}

Search a File

Get all Files - Paging

About

a dockerized micro-service for adding, updating, retrieving and deleting files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%