LegendarySpork9 / Hunter-Industries-API

File Store for the Assistant API
Other
0 stars 0 forks source link

Plan API #2

Closed LegendarySpork9 closed 9 months ago

LegendarySpork9 commented 9 months ago

Design the Assistant API.

LegendarySpork9 commented 9 months ago

https://medium.com/@AdanRobles00/how-to-build-a-fully-functional-restful-api-using-c-and-asp-net-core-38fc647b3a16

LegendarySpork9 commented 9 months ago

Base URL: https://hunter-industries.co.uk/ Tokens: Bearer, Last 15 minutes Domain Purchased for 1 Year through GODaddy. Renew it next year.

https://hunter-industries.co.uk/api/auth/token - POST - Pass Client ID, Secret and application phrase - Returns token https://hunter-industries.co.uk/api/audithistory - GET - Pass token - Variables are date, assistant name, endpoint, page size and page number - Returns JSON result https://hunter-industries.co.uk/api/assistant/config - GET - Pass token and asisstant name - Returns Global Config JSON https://hunter-industries.co.uk/api/assistant/config - POST - Pass token and new config - Returns success https://hunter-industries.co.uk/api/assistant/Version - GET - Pass token and asisstant name - Returns version number https://hunter-industries.co.uk/api/assistant/Version - PATCH - Pass token, asisstant name and new value - Returns success https://hunter-industries.co.uk/api/assistant/Deletion - GET - Pass token and asisstant name - Returns deletion value https://hunter-industries.co.uk/api/assistant/Deletion - PATCH - Pass token, asisstant name and new value - Returns success https://hunter-industries.co.uk/api/assistant/Location - GET - Pass token and asisstant name - Returns location data https://hunter-industries.co.uk/api/assistant/Location - PATCH - Pass token, asisstant name and new value(s) - Returns success