Skip to content

Commit

Permalink
chore: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
panaaj committed Dec 13, 2020
1 parent e1bb8f4 commit 2f1411a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

- Add capability to define additional resource paths.

- Serve list of available resource types on the server at `/signalk/v1/api/resources`.

### v1.2.1

- Add validation when retrieving data from file storage.
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,20 @@ This Signal K node server plugin acts as a resource provider for the following r

as well as allowing the user to define additional paths under `/signalk/v1/api/resources` to serve user provided resource data sets.

- _example:_ `resources/fishing`

Each path is provisioned with `GET`, `PUT`, `POST` and `DELETE` operations enabled.

Operation of all paths is as set out in the Signal K specification.

---

Additionally, the path `/signalk/v1/api/resources` will return an array of __ALL__ available resource paths on the server, not just the ones provided by the `sk-resources-fs` plugin.

_Example:_
```
["buddies","routes","waypoints","notes","regions","tracks","fishing"]
```
---
## Installation and Configuration:

Expand Down

0 comments on commit 2f1411a

Please sign in to comment.