Gitea · JSON Structure

Gitea Rest Api Package Structure

JSON Structure description of the Gitea Package entity.

Type: object Properties: 9
GitSource ControlDevOpsCI/CDCode HostingOpen SourceSelf HostedPackage RegistryIssue TrackingPull Requests

Package is a JSON Structure definition published by Gitea, describing 9 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

created_at creator html_url id name owner repository type version

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-structure/gitea-rest-api-package-structure.json",
  "name": "Package",
  "description": "JSON Structure description of the Gitea Package entity.",
  "type": "object",
  "properties": {
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "creator": {
      "type": "string"
    },
    "html_url": {
      "type": "string",
      "description": "The HTML URL to view the package"
    },
    "id": {
      "type": "integer",
      "description": "The unique identifier of the package",
      "format": "int64"
    },
    "name": {
      "type": "string",
      "description": "The name of the package"
    },
    "owner": {
      "type": "string"
    },
    "repository": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "description": "The type of the package (e.g., npm, maven, docker)"
    },
    "version": {
      "type": "string",
      "description": "The version of the package"
    }
  }
}