Class OrganizationsClient
java.lang.Object
com.ants.platform.client.resources.organizations.OrganizationsClient
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet all memberships for the organization associated with the API key (requires organization-scoped API key)getOrganizationMemberships(RequestOptions requestOptions) Get all memberships for the organization associated with the API key (requires organization-scoped API key)Get all projects for the organization associated with the API key (requires organization-scoped API key)getOrganizationProjects(RequestOptions requestOptions) Get all projects for the organization associated with the API key (requires organization-scoped API key)getProjectMemberships(String projectId) Get all memberships for a specific project (requires organization-scoped API key)getProjectMemberships(String projectId, RequestOptions requestOptions) Get all memberships for a specific project (requires organization-scoped API key)Create or update a membership for the organization associated with the API key (requires organization-scoped API key)updateOrganizationMembership(MembershipRequest request, RequestOptions requestOptions) Create or update a membership for the organization associated with the API key (requires organization-scoped API key)updateProjectMembership(String projectId, MembershipRequest request) Create or update a membership for a specific project (requires organization-scoped API key).updateProjectMembership(String projectId, MembershipRequest request, RequestOptions requestOptions) Create or update a membership for a specific project (requires organization-scoped API key).
-
Field Details
-
clientOptions
-
-
Constructor Details
-
OrganizationsClient
-
-
Method Details
-
getOrganizationMemberships
Get all memberships for the organization associated with the API key (requires organization-scoped API key) -
getOrganizationMemberships
Get all memberships for the organization associated with the API key (requires organization-scoped API key) -
updateOrganizationMembership
Create or update a membership for the organization associated with the API key (requires organization-scoped API key) -
updateOrganizationMembership
public MembershipResponse updateOrganizationMembership(MembershipRequest request, RequestOptions requestOptions) Create or update a membership for the organization associated with the API key (requires organization-scoped API key) -
getProjectMemberships
Get all memberships for a specific project (requires organization-scoped API key) -
getProjectMemberships
Get all memberships for a specific project (requires organization-scoped API key) -
updateProjectMembership
Create or update a membership for a specific project (requires organization-scoped API key). The user must already be a member of the organization. -
updateProjectMembership
public MembershipResponse updateProjectMembership(String projectId, MembershipRequest request, RequestOptions requestOptions) Create or update a membership for a specific project (requires organization-scoped API key). The user must already be a member of the organization. -
getOrganizationProjects
Get all projects for the organization associated with the API key (requires organization-scoped API key) -
getOrganizationProjects
Get all projects for the organization associated with the API key (requires organization-scoped API key)
-