Forgejo · Schema

TagProtection

TagProtection represents a tag protection

GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen SourceForgeRepositoriesIssuesPull Requests

Properties

Name Type Description
created_at string
id integer
name_pattern string
updated_at string
whitelist_teams array
whitelist_usernames array
View JSON Schema on GitHub

JSON Schema

tagprotection.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "TagProtection",
  "description": "TagProtection represents a tag protection",
  "type": "object",
  "properties": {
    "created_at": {
      "type": "string",
      "format": "date-time",
      "x-go-name": "Created"
    },
    "id": {
      "type": "integer",
      "format": "int64",
      "x-go-name": "ID"
    },
    "name_pattern": {
      "type": "string",
      "x-go-name": "NamePattern"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "x-go-name": "Updated"
    },
    "whitelist_teams": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "x-go-name": "WhitelistTeams"
    },
    "whitelist_usernames": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "x-go-name": "WhitelistUsernames"
    }
  },
  "x-go-package": "forgejo.org/modules/structs"
}