Skip to content

NetraGhaisas/flora.ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flora.ai

AI based crop identification app

Made by team 99 for Smart India Hackathon 2020

Faux API service

Usage

All responses will have the form

{
    "id": "Unique identifier",
    "title": "A random title"
}

Below are the impleented methods, use Postman or something similar to query them and test out

Link to hosted service

https://todo-fpko6i4yjq-uc.a.run.app

List all devices

Definition

GET /list

Response

  • 200 OK on success
[
    {
        "id": "1",
        "title": "This is a random title"
    },
    {
        "id": "2",
        "title": "This is another random title"
    }
]

Add a new device

Definition

POST /add

Arguments

    {
        "id": "1",
        "title": "This is a random title"
    }

Response

  • 200 OK on success
{
    "success": true
}

Update a device

Definition POST /update

Arguments

{
    "id": "1",
    "title": "This is a random title"
}

Response

  • 200 OK on success
{
    "success": true
}

Delete a device

Definition DELETE /delete

arguments

{
    "id": "1"
}

Response

  • 200 OK on success
{
    "success": true
}

About

For Smart India Hackathon 2020

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •