Forgejo · Schema

GeneralAttachmentSettings

GeneralAttachmentSettings contains global Attachment settings exposed by API

GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen SourceForgeRepositoriesIssuesPull Requests

Properties

Name Type Description
allowed_types string
enabled boolean
max_files integer
max_size integer
View JSON Schema on GitHub

JSON Schema

generalattachmentsettings.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "GeneralAttachmentSettings",
  "description": "GeneralAttachmentSettings contains global Attachment settings exposed by API",
  "type": "object",
  "properties": {
    "allowed_types": {
      "type": "string",
      "x-go-name": "AllowedTypes"
    },
    "enabled": {
      "type": "boolean",
      "x-go-name": "Enabled"
    },
    "max_files": {
      "type": "integer",
      "format": "int64",
      "x-go-name": "MaxFiles"
    },
    "max_size": {
      "type": "integer",
      "format": "int64",
      "x-go-name": "MaxSize"
    }
  },
  "x-go-package": "forgejo.org/modules/structs"
}