- Create a new company
- Get a list of companies
- Get a single company
- Update a single company
- Delete a single company
POST /companies
Name | Type | Description |
---|---|---|
name | string | a company name |
{
"name": "company name"
}
Status: 200 OK
Content-Type: text/html
{
"_id": "id",
"name": "company name"
}
GET /companies
There aren't any required parameters for this route
Status: 200 OK
Content-Type: text/html
[
{
"_id": "id",
"name": "company name"
},
{
"_id": "id",
"name": "company name"
},
...
]