Forgejo · Schema

Attachment

Attachment a generic attachment

GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen SourceForgeRepositoriesIssuesPull Requests

Properties

Name Type Description
browser_download_url string
created_at string
download_count integer
id integer
name string
size integer
type string
uuid string
View JSON Schema on GitHub

JSON Schema

attachment.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Attachment",
  "description": "Attachment a generic attachment",
  "type": "object",
  "properties": {
    "browser_download_url": {
      "type": "string",
      "x-go-name": "DownloadURL"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "x-go-name": "Created"
    },
    "download_count": {
      "type": "integer",
      "format": "int64",
      "x-go-name": "DownloadCount"
    },
    "id": {
      "type": "integer",
      "format": "int64",
      "x-go-name": "ID"
    },
    "name": {
      "type": "string",
      "x-go-name": "Name"
    },
    "size": {
      "type": "integer",
      "format": "int64",
      "x-go-name": "Size"
    },
    "type": {
      "type": "string",
      "enum": [
        "attachment",
        "external"
      ],
      "x-go-name": "Type"
    },
    "uuid": {
      "type": "string",
      "x-go-name": "UUID"
    }
  },
  "x-go-package": "forgejo.org/modules/structs"
}