@Path(value="currentuser")
public interface ICurrentUserResource
| Modifier and Type | Method and Description |
|---|---|
List<io.apiman.manager.api.beans.summary.ApplicationSummaryBean> |
getApplications()
Use this endpoint to list all of the Applications the current user has permission
to edit.
|
List<io.apiman.manager.api.beans.summary.OrganizationSummaryBean> |
getAppOrganizations()
This endpoint returns a list of all the organizations for which the current user
has permission to edit applications.
|
io.apiman.manager.api.beans.idm.CurrentUserBean |
getInfo()
Use this endpoint to get information about the currently authenticated user.
|
List<io.apiman.manager.api.beans.summary.OrganizationSummaryBean> |
getPlanOrganizations()
This endpoint returns a list of all the organizations for which the current user
has permission to edit plans.
|
List<io.apiman.manager.api.beans.summary.OrganizationSummaryBean> |
getServiceOrganizations()
This endpoint returns a list of all the organizations for which the current user
has permission to edit services.
|
List<io.apiman.manager.api.beans.summary.ServiceSummaryBean> |
getServices()
Use this endpoint to list all of the Services the current user has permission
to edit.
|
void |
updateInfo(io.apiman.manager.api.beans.idm.UpdateUserBean info)
This endpoint allows updating information about the authenticated user.
|
@GET @Path(value="info") @Produces(value="application/json") io.apiman.manager.api.beans.idm.CurrentUserBean getInfo()
@PUT @Path(value="info") @Consumes(value="application/json") void updateInfo(io.apiman.manager.api.beans.idm.UpdateUserBean info)
info - Data to use when updating the user.@GET @Path(value="apporgs") @Produces(value="application/json") List<io.apiman.manager.api.beans.summary.OrganizationSummaryBean> getAppOrganizations()
@GET @Path(value="svcorgs") @Produces(value="application/json") List<io.apiman.manager.api.beans.summary.OrganizationSummaryBean> getServiceOrganizations()
@GET @Path(value="planorgs") @Produces(value="application/json") List<io.apiman.manager.api.beans.summary.OrganizationSummaryBean> getPlanOrganizations()
@GET @Path(value="applications") @Produces(value="application/json") List<io.apiman.manager.api.beans.summary.ApplicationSummaryBean> getApplications()
@GET @Path(value="services") @Produces(value="application/json") List<io.apiman.manager.api.beans.summary.ServiceSummaryBean> getServices()
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.