From 9b56899d0ff2a7b74ffc83d5a216c0bad6be0214 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Wed, 1 Jan 2014 22:47:38 -0700 Subject: [PATCH] #2217 add note about base-url for api routes --- views/static/api.jade | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/views/static/api.jade b/views/static/api.jade index 8b19ff59e1..16b55d8277 100644 --- a/views/static/api.jade +++ b/views/static/api.jade @@ -72,8 +72,9 @@ html //.input a#explore(href='#') Explore br - p You'll need to set x-api-user and x-api-key headers for each request, read more here. (TODO: We need to move that Wiki document into this file and delete the Wiki) + h2 Requirements: + p The base-url for all routes is /api/v2. So /user actions will be at https://beta.habitrpg.com/api/v2/user/*. You need to send x-api-user and x-api-key headers for each request, read more here. (TODO: We need to move that Wiki document into this file and delete the Wiki) 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 definitions here - p If any of the documentation is insufficient or you're having trouble with it, please post an issue to Github + p If any of the documentation is lacking or you're having trouble with it, please post an issue to Github #message-bar.swagger-ui-wrap #swagger-ui-container.swagger-ui-wrap