Organization Custom Repository Role

Custom repository roles created by organization owners

APIs.ioEngineeringPlatform

Properties

Name Type Description
id integer The unique identifier of the custom role.
name string The name of the custom role.
description string A short description about who this role is for or what permissions it grants.
base_role string The system role from which this role inherits permissions.
permissions array A list of additional permissions included in this role.
organization object
created_at string
updated_at string
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-organization-custom-repository-role-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/organization-custom-repository-role",
  "title": "Organization Custom Repository Role",
  "description": "Custom repository roles created by organization owners",
  "type": "object",
  "properties": {
    "id": {
      "description": "The unique identifier of the custom role.",
      "type": "integer"
    },
    "name": {
      "description": "The name of the custom role.",
      "type": "string"
    },
    "description": {
      "description": "A short description about who this role is for or what permissions it grants.",
      "type": "string",
      "nullable": true
    },
    "base_role": {
      "type": "string",
      "description": "The system role from which this role inherits permissions.",
      "enum": [
        "read",
        "triage",
        "write",
        "maintain"
      ]
    },
    "permissions": {
      "description": "A list of additional permissions included in this role.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "organization": {
      "$ref": "#/components/schemas/simple-user"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "id",
    "name",
    "base_role",
    "permissions",
    "organization",
    "created_at",
    "updated_at"
  ]
}