Checks whether the current actor has an authority over a branch

POST /repositories/{repositoryId}/branches/authorities/check

Parameters

Name Required Type Description
repositoryId true string The ID of the repository

Response

{
  "type": "object",
  "description": "Status Check",
  "properties": {
    "ok": {
      "type": "boolean",
      "description": "Indicates whether the operation succeeded or not"
    },
    "check": {
      "type": "boolean"
    }
  },
  "extends": "status"
}