API:2/guild/permissions

From Guild Wars 2 Wiki
< API:2‎ | guild
Jump to: navigation, search

/v2/guild/permissions

HTTP method
GET
Format
json
API version
version 2
Release date
2015-12-09
Scope
none
Optional
none

This resource returns information about all guild permissions.

Parameters

  • lang (string) – Request localized content.

Response

If the root endpoint (/v2/guild/permissions) is accessed without specifying an id, a list of all ids is returned. When multiple ids are requested using the ids parameter, a list of response objects is returned.

For each requested permission id, an object with the following properties is returned:

  • id (string) – The permission id.
  • name (string) – The name of the permission.
  • description (string) – The description of the permission.

Example

https://api.guildwars2.com/v2/guild/permissions?ids=ClaimableEditOptions,Admin,EditAnthem
[
  {
    "id": "ClaimableEditOptions",
    "name": "Edit Claimable Options",
    "description": "Allowed to edit options at guild-owned claimables."
  },
  {
    "id": "Admin",
    "name": "Admin Lower Ranks.",
    "description": "Invite new players to the guild. Promote, demote, and kick current members only from lower ranks."
  },
  {
    "id": "EditAnthem",
    "name": "Change Guild Anthem",
    "description": "Change the guild's anthem."
  }
]