public int addApp ( ApplicationCreate app ) { return getResourceFactory ( ) . getApiResource ( "/app/" ) . entity ( app , MediaType . APPLICATION_JSON_TYPE ) . post ( ApplicationCreateResponse . class ) . getId ( ) ; }
Creates a new app on a space .