| Package | Description |
|---|---|
| engineer.nightowl.groupsio.api.resource |
| Modifier and Type | Method and Description |
|---|---|
Subscription |
MemberResource.approveMember(Integer groupId,
Integer subscriptionId)
Approve a member to a group
|
Subscription |
MemberResource.banMember(Integer groupId,
Integer subscriptionId)
Ban a member if they aren't already banned
|
protected <T> T |
BaseResource.callApi(org.apache.http.client.methods.HttpUriRequest request,
Class<T> type)
Main API call method.
|
protected <T> T |
BaseResource.callApi(org.apache.http.client.methods.HttpUriRequest request,
Class<T> type,
Boolean login)
Main API call method.
|
void |
MemberResource.directAddMember(Integer groupId,
List<String> emails)
Add members directly to a group
|
Group |
GroupResource.getGroup(Integer groupId)
Gets a
Group for the specified group ID |
Subscription |
MemberResource.getMemberInGroup(Integer groupId,
Integer memberId)
Gets a user's
Subscription for the specified group and member IDs |
List<Subscription> |
MemberResource.getMembersInGroup(Integer groupId)
Gets a list of members (represented by
Subscription) subscribed
to a particular group. |
Permissions |
GroupResource.getPermissions(Integer groupId)
Gets a user's
Permissions for the specified group ID |
List<Group> |
GroupResource.getSubgroups(Integer groupId)
Gets a list of groups for a given group ID
|
Subscription |
UserResource.getSubscription(Integer groupId)
Gets a user's
Subscription for the specified group ID |
List<Subscription> |
UserResource.getSubscriptions()
Gets a list of
Subscriptions that the current user is subscribed
to. |
List<Topic> |
ArchiveResource.getTopics(Integer groupId)
Gets a list of
Topics from the specified group. |
User |
UserResource.getUser()
Get the user information associated with the currently-logged in user.
|
String |
BaseResource.login(String password)
Carry out initial login to the Groups.io API and set the API token.
|
Subscription |
MemberResource.removeMember(Integer groupId,
Integer subscriptionId)
Remove a member from a group
|
List<Subscription> |
MemberResource.searchMembers(Integer groupId,
String query)
Gets a list of members (represented by
Subscription) subscribed
to a particular group. |
Subscription |
MemberResource.sendBounceProbe(Integer groupId,
Integer subscriptionId)
Send a bounce probe to a user if they are bouncing
|
Subscription |
MemberResource.sendConfirmationEmail(Integer groupId,
Integer subscriptionId)
Send a confirmation email to a user if they are not yet confirmed
|
Group |
GroupResource.updateGroup(Group group)
Update a group given a blank
Group object with only the updated
fields set. |
Subscription |
MemberResource.updateMember(Subscription subscription)
Update a subscription to a group given a blank
Subscription
object with only the updated
fields set. |
User |
UserResource.updateUser(User user)
Update a user given a blank
User object with only the updated
fields set. |
Copyright © 2017–2019. All rights reserved.