Forgejo · Schema

CreateQuotaRuleOptions

CreateQuotaRuleOptions represents the options for creating a quota rule

GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen SourceForgeRepositoriesIssuesPull Requests

Properties

Name Type Description
limit integer The limit set by the rule
name string Name of the rule to create
subjects array The subjects affected by the rule
View JSON Schema on GitHub

JSON Schema

createquotaruleoptions.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "CreateQuotaRuleOptions",
  "description": "CreateQuotaRuleOptions represents the options for creating a quota rule",
  "type": "object",
  "properties": {
    "limit": {
      "description": "The limit set by the rule",
      "type": "integer",
      "format": "int64",
      "x-go-name": "Limit"
    },
    "name": {
      "description": "Name of the rule to create",
      "type": "string",
      "x-go-name": "Name"
    },
    "subjects": {
      "description": "The subjects affected by the rule",
      "type": "array",
      "items": {
        "type": "string"
      },
      "x-go-name": "Subjects"
    }
  },
  "x-go-package": "forgejo.org/modules/structs"
}