package com.kryptnostic.directory.v1.http;

import java.util.UUID;

import retrofit.http.Body;
import retrofit.http.POST;

import com.kryptnostic.registration.v1.models.UserCreationRequest;

public interface RegistrationApi {
    String CONTROLLER = "/registration";
    String USER       = "/user";

    /**
     * Registers a normal user using the domain of their e-mail as their domain.
     *
     * @param request
     * @return
     */
    @POST( USER )
    UUID register( @Body UserCreationRequest request );

}

@@ -445,16 +445,29 @@
   @POST(
+ CONTROLLER +
  USER )%0A

use CONTROLLER variable in api