Role

lists role permissions (Auth policies: role:view)

get/api/roles/permissions/{roleName}

Request

  • Base URL
    https://api.ganjoor.net (the document declares no server; this is the origin it was published from)
  • Auth
    API key in header Authorization

Path parameters

roleNamestring required

Response

OK

Example response

[
  [
    {
      "shortName": "user",
      "description": "کاربران",
      "operations": [
        {
          "shortName": "view",
          "description": "مشاهده",
          "prerequisites": [
            {
              "secureItemShortName": "job",
              "operationShortName": "view"
            }
          ]
        }
      ]
    }
  ]
]

Changes

No recorded changes to this operation across all 43 revisions of this API.