Skip to content

Commit

Permalink
#335 touchup docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tariqksoliman committed Feb 23, 2023
1 parent ba5347f commit 3034a87
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions docs/pages/APIs/Configure/Configure_REST_API.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,25 @@ Gets a list of all configured missions. _Auth token not needed._

#### Example

`curl -X GET http://localhost:8889/api/configure/missions` => `{status: "success", missions: ["Earth", "MSL", "Time"]}`

`curl -X GET http://localhost:8889/api/configure/missions?full` => `{status: "success", missions: [{mission: "name", version: 1, config: {}}, ...]}`
`curl -X GET http://localhost:8889/api/configure/missions`

```javascript
=> {status: "success", missions: ["Mission1", "Mission2"]}
```

`curl -X GET http://localhost:8889/api/configure/missions?full`

```javascript
=> {
status: "success",
missions: [
{
mission: "name", version: 99, config: {}
},
...
]
}
```

---

Expand Down

0 comments on commit 3034a87

Please sign in to comment.