Forgejo · Schema

EditAttachmentOptions

EditAttachmentOptions options for editing attachments

GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen SourceForgeRepositoriesIssuesPull Requests

Properties

Name Type Description
browser_download_url string (Can only be set if existing attachment is of external type)
name string
View JSON Schema on GitHub

JSON Schema

editattachmentoptions.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "EditAttachmentOptions",
  "description": "EditAttachmentOptions options for editing attachments",
  "type": "object",
  "properties": {
    "browser_download_url": {
      "description": "(Can only be set if existing attachment is of external type)",
      "type": "string",
      "x-go-name": "DownloadURL"
    },
    "name": {
      "type": "string",
      "x-go-name": "Name"
    }
  },
  "x-go-package": "forgejo.org/modules/structs"
}