package com.nestedworld.nestedworld.api.implementation;

import com.nestedworld.nestedworld.BuildConfig;

public class Constant {
    public final static String BASE_URL = BuildConfig.DEBUG ? "http://eip-api.kokakiwi.net/" : "http://eip-api.kokakiwi.net/";
    public final static String API_VERSION = "v1";

    public final static String BASE_END_POINT = BASE_URL + API_VERSION;

    public static final String USER_SIGN_IN = "/users/auth/login/simple";
    public static final String USER_SIGN_UP = "/users/auth/register";
    public static final String USER_PASSWORD = "/users/password";

}

@@ -375,16 +375,77 @@
 RSION;%0A%0A
+    private static final String AUTH_PREFIX = %22/users/auth%22;%0A
     publ
@@ -482,28 +482,31 @@
 GN_IN = 
-%22/users/auth
+AUTH_PREFIX + %22
 /login/s
@@ -559,28 +559,31 @@
 GN_UP = 
-%22/users/auth
+AUTH_PREFIX + %22
 /registe
@@ -633,24 +633,37 @@
 SWORD = 
-%22/users/
+AUTH_PREFIX + %22/reset
 password
@@ -665,11 +665,10 @@
 sword%22;%0A
-%0A
 %7D%0A

update API reference