Forgejo · Schema

QuotaUsedAttachment

QuotaUsedAttachment represents an attachment counting towards a user's quota

GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen SourceForgeRepositoriesIssuesPull Requests

Properties

Name Type Description
api_url string API URL for the attachment
contained_in object Context for the attachment: URLs to the containing object
name string Filename of the attachment
size integer Size of the attachment (in bytes)
View JSON Schema on GitHub

JSON Schema

quotausedattachment.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "QuotaUsedAttachment",
  "description": "QuotaUsedAttachment represents an attachment counting towards a user's quota",
  "type": "object",
  "properties": {
    "api_url": {
      "description": "API URL for the attachment",
      "type": "string",
      "x-go-name": "APIURL"
    },
    "contained_in": {
      "description": "Context for the attachment: URLs to the containing object",
      "type": "object",
      "properties": {
        "api_url": {
          "description": "API URL for the object that contains this attachment",
          "type": "string",
          "x-go-name": "APIURL"
        },
        "html_url": {
          "description": "HTML URL for the object that contains this attachment",
          "type": "string",
          "x-go-name": "HTMLURL"
        }
      },
      "x-go-name": "ContainedIn"
    },
    "name": {
      "description": "Filename of the attachment",
      "type": "string",
      "x-go-name": "Name"
    },
    "size": {
      "description": "Size of the attachment (in bytes)",
      "type": "integer",
      "format": "int64",
      "x-go-name": "Size"
    }
  },
  "x-go-package": "forgejo.org/modules/structs"
}