All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.baltoro.client.AdminEP Maven / Gradle / Ivy

There is a newer version: 4.0.12
Show newest version
package io.baltoro.client;

import io.baltoro.features.EPReturnType;
import io.baltoro.features.Endpoint;
import io.baltoro.features.Param;
import io.baltoro.to.AppTO;
import io.baltoro.to.BaseTO;
import io.baltoro.to.UserTO;

public interface AdminEP
{
	
	@Endpoint(appName="admin",path="/api/adminlogin")
	public UserTO adminLogin(@Param("email") String email,@Param("password") String password);
	
	
	@Endpoint(appName="admin",path="/api/app/createUser")
	public UserTO createUser(@Param("email") String email,@Param("password") String password);
	
	@Endpoint(appName="admin",path="/api/app/createApp")
	public AppTO createApp(@Param("name") String name);
	
	
	@Endpoint(appName="admin", path="/api/app/get")
	 T getBO(@Param("base-uuid") String baseUuid, @EPReturnType Class type) throws Exception;
	
	@Endpoint(appName="admin", path="/api/app/getMyApps")
	AppTO[] getMyApps() throws Exception;
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy