Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
RoryConnollyLIT committed Aug 6, 2019
1 parent f2492e7 commit 80fc977
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,21 +55,26 @@ You should see a notification in your terminal that your server is now running l

http://localhost:3000/api/swag-docs

http://localhost:3000/api/fetch/all (returns all dog collar response in db - caution may cause performance issues if db is large)
http://localhost:3000/api/fetch/all
(returns all dog collar response in db - caution may cause performance issues if db is large)

http://localhost:3000/api/fetch/allByCollarId?collarId=abc3 (returns all responses associated with a specific collar. Takes 'collarId' as a param)
http://localhost:3000/api/fetch/allByCollarId?collarId=abc3
(returns all responses associated with a specific collar. Takes 'collarId' as a param)

http://localhost:3000/api/fetch/allByBarking?barking=low (returns all responses with a specific level of barking. Takes 'barking' as a param)
http://localhost:3000/api/fetch/allByBarking?barking=low
(returns all responses with a specific level of barking. Takes 'barking' as a param)

http://localhost:3000/api/fetch/allByActivity?activity=low (returns all responses with a specific level of activity. Takes 'activity' as a param)
http://localhost:3000/api/fetch/allByActivity?activity=low
(returns all responses with a specific level of activity. Takes 'activity' as a param)

http://localhost:3000/api/fetch/allByLocation?location=37901

http://localhost:3000/api/fetch/SpecificCollarRespByID?collarId=abc1&collarResp=1

http://localhost:3000/api/remove?collarId=abc3&collarResp=11

http://localhost:3000/api/pushCollarData (this one requires a request object)
http://localhost:3000/api/pushCollarData
(this one requires a request object)



Expand Down

0 comments on commit 80fc977

Please sign in to comment.