Contents |
URL
https://api.geoloqi.com/1/group/create
Description
Create a new group.
Supported Request Methods
POST
Parameters
- title OptionalThe title of the group to create.
- descriptionThe description of the group.
- visibilitypublic, open, or invite. Public groups are listed publicly. Open groups can be read by anybody with the group token. Invite groups can only be read if you are first added to the group by the group owner. Probably "open" is fine.
- publish_accessopen, closed. If set to "open", anybody who can see the group can join it and begin publishing messages to it. If set to "closed", only people added by the group owner can publish to the group. Probably "open" is fine.
Example Request
{ "title":"MapAttack", "visibility":"open", "publish_access":"open" }
Response
Success
If the group was created successfully, you will get the group token in the response and a "200 OK" response code.
HTTP/1.1 200 OK {"group_token":"C8f233E"}