mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-03 08:21:07 +00:00
Updated path to models on Github. Closes #4720
This commit is contained in:
parent
a2783400ab
commit
78e124c576
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ html
|
|||
p All API requests should be prefaced by <code>https://habitrpg.com</code>. Every authenticated request should include two headers. Your api key (<code>x-api-key</code>) and your user id (<code>x-api-user</code>). Do not include <code>{}</code> braces in your header (<code>-H 'x-api-user: a94b6d9d-6b64-43ae-856c-2c3f211bd426'</code>)
|
||||
h2 Requirements:
|
||||
p The base-url for all routes is /api/v2. So /user actions will be at https://habitrpg.com/api/v2/*. You need to send x-api-user and x-api-key headers for each request.
|
||||
p For create & edit paths (PUT & POST), you'll need to know the schema of the object you're trying to create or edit. See Schema <a href='https://github.com/HabitRPG/habitrpg/tree/develop/src/models' target="_blank">definitions here</a>
|
||||
p For create & edit paths (PUT & POST), you'll need to know the schema of the object you're trying to create or edit. See Schema <a href='https://github.com/HabitRPG/habitrpg/tree/develop/website/src/models' target="_blank">definitions here</a>
|
||||
p If any of the documentation is lacking or you're having trouble with it, please post an issue to <a href='https://github.com/HabitRPG/habitrpg/issues' target='_blank'>Github</a>
|
||||
#message-bar.swagger-ui-wrap
|
||||
#swagger-ui-container.swagger-ui-wrap
|
||||
|
|
|
|||
Loading…
Reference in a new issue