working snowboard API

This commit is contained in:
Filip Bucek 2019-09-30 18:14:14 +02:00
parent fdc6ec96d7
commit f8e2593299
2 changed files with 11 additions and 7 deletions

View File

@ -37,10 +37,19 @@ curl -k --user "spaceti:E7FEA07DBC82FB9BA34B2E453E2EFE89F0583E7187543507EF11E847
### Snowboard ### Snowboard
#### Necesarry to allow
- Self signed certificate: [Stack overflow](https://superuser.com/a/1235250)
- Enable CORS:
- Safari: Develop->Disable cross origin restrictions
`snowboard http -c snowboard.yml --playground colnod.apib` `snowboard http -c snowboard.yml --playground colnod.apib`
[Colnod API snowboard documentation](http://localhost:8088) [Colnod API snowboard documentation](http://localhost:8088)
#### Install snowboard #### Install snowboard
`npm install -g snowboard` `npm install -g snowboard`

View File

@ -8,11 +8,6 @@ and response body content.
# Notes [/AaaManager/authSession] # Notes [/AaaManager/authSession]
+ Body
+ username: spaceti (required) - User identifier
+ password: E7FEA07DBC82FB9BA34B2E453E2EFE89F0583E7187543507EF11E84726071FE428445372F2E46B455EB0C79747C51E362F403CE39473A2A8C2DFA0CE5C9826C0 (required) - sha512 password
## Get a note [POST] ## Get a note [POST]
Gets a single note by its unique identifier. Gets a single note by its unique identifier.
@ -21,8 +16,8 @@ Gets a single note by its unique identifier.
+ Body + Body
{ {
"user": "String", "password": "E7FEA07DBC82FB9BA34B2E453E2EFE89F0583E7187543507EF11E84726071FE428445372F2E46B455EB0C79747C51E362F403CE39473A2A8C2DFA0CE5C9826C0",
"password": "String ", "username": "spaceti"
} }
+ Schema + Schema