Updated README.md
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
## RESTful APIs:
|
||||
|
||||
|
||||
http Methods:
|
||||
**http Methods:**
|
||||
GET - get ressource
|
||||
POST - create a new ressource
|
||||
DELETE - deleting ressources
|
||||
@@ -12,6 +12,8 @@ collection: /status
|
||||
* DELETE
|
||||
|
||||
|
||||
### GETTING information
|
||||
|
||||
## Getting the state of NewGon:
|
||||
|
||||
**Definition**
|
||||
@@ -43,6 +45,19 @@ collection: /status
|
||||
}
|
||||
```
|
||||
|
||||
## Getting individual variables of NewGon:
|
||||
**Definition**
|
||||
|
||||
`GET /status/<variable>`
|
||||
|
||||
**Response**
|
||||
- `404 Not Found` if the variable does not exist
|
||||
- `200 OK` on success
|
||||
|
||||
|
||||
|
||||
|
||||
### SETTING INFORMATION
|
||||
|
||||
## Setting the variables to NewGon
|
||||
**Definition**
|
||||
|
||||
Reference in New Issue
Block a user