Campus Directories¶
Note
These calls are exclusive to users who are already members of campus directories. For simplicity, this documentation will not cover how to join a campus domain via the API, but it does discuss how to navigate and manage one once you're a member.
Index¶
List information about the campus directory you're a member of
HTTP Request | |
---|---|
Leave Domain¶
Disconnect your account from a campus directory
HTTP Request | |
---|---|
Parameters
-
directory_id
String - the ID of the directory you're trying to leave
Index Groups¶
Returns a paginated list of groups that are a part of the domain.
Important
This request is relative to https://api.groupme.com/v1/
, not https://api.groupme.com/v3/
.
HTTP Request | |
---|---|
Parameters
-
per_page
Integer - Defines how many groups to return in the response. This value maxes out at 10,000 and defaults to 20 if omitted.
-
from
Integer - The offset index to begin returning results from in the paginated list of groups. For example, from=0 returns results starting at the beginning, from=20 skips the first 20 groups. Defaults to 0 if omitted.
Index Members¶
Return a list containing all of the users who are visible to you within the campus directory. Note that the responses you get are also dependant on the privacy status of other users in the directory. Some people have their profiles set to be visible to only their major or graduation year, or hidden entirely.
Important
This request is relative to https://api.groupme.com/v1/
, not https://api.groupme.com/v3/
.
HTTP Request | |
---|---|
Parameters
-
per_page
Integer - Defines how many groups to return in the response. This value maxes out at 10,000 and defaults to 20 if omitted.
-
from
Integer - The offset index to begin returning results from in the paginated list of groups. For example, from=0 returns results starting at the beginning, from=20 skips the first 20 groups. Defaults to 0 if omitted.
-
majors
Integer - A major code you'd like to filter by. The full dictionary of majors and their assigned codes can be found here: https://web.groupme.com/assets/majors/majors.en-US.json. You can include this parameter multiple times in one request to filter by multiple majors.
-
graduation_year
Integer - A graduation year you'd like to filter users by.