GitHub · JSON Structure

Github Gists Gist Simple Structure

Gist Simple

Type: object Properties: 21
CodePipelinesPlatformSoftware DevelopmentSource ControlT1

gist-simple is a JSON Structure definition published by GitHub, describing 21 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

forks history fork_of url forks_url commits_url id node_id git_pull_url git_push_url html_url files public created_at updated_at description comments user comments_url owner truncated

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/github/refs/heads/main/json-structure/github-gists-gist-simple-structure.json",
  "name": "gist-simple",
  "description": "Gist Simple",
  "type": "object",
  "properties": {
    "forks": {
      "deprecated": true,
      "nullable": true,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "url": {
            "type": "uri"
          },
          "user": {
            "$ref": "#/components/schemas/public-user"
          },
          "created_at": {
            "type": "datetime"
          },
          "updated_at": {
            "type": "datetime"
          }
        }
      }
    },
    "history": {
      "deprecated": true,
      "nullable": true,
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/gist-history"
      }
    },
    "fork_of": {
      "nullable": true,
      "name": "Gist",
      "description": "Gist",
      "type": "object",
      "properties": {
        "url": {
          "type": "uri"
        },
        "forks_url": {
          "type": "uri"
        },
        "commits_url": {
          "type": "uri"
        },
        "id": {
          "type": "string"
        },
        "node_id": {
          "type": "string"
        },
        "git_pull_url": {
          "type": "uri"
        },
        "git_push_url": {
          "type": "uri"
        },
        "html_url": {
          "type": "uri"
        },
        "files": {
          "type": "object",
          "additionalProperties": {
            "type": "object",
            "properties": {
              "filename": {
                "type": "string"
              },
              "type": {
                "type": "string"
              },
              "language": {
                "type": "string"
              },
              "raw_url": {
                "type": "string"
              },
              "size": {
                "type": "integer"
              }
            }
          }
        },
        "public": {
          "type": "boolean"
        },
        "created_at": {
          "type": "datetime"
        },
        "updated_at": {
          "type": "datetime"
        },
        "description": {
          "type": "string",
          "nullable": true
        },
        "comments": {
          "type": "int32"
        },
        "user": {
          "$ref": "#/components/schemas/nullable-simple-user"
        },
        "comments_url": {
          "type": "uri"
        },
        "owner": {
          "$ref": "#/components/schemas/nullable-simple-user"
        },
        "truncated": {
          "type": "boolean"
        },
        "forks": {
          "type": "array",
          "items": {}
        },
        "history": {
          "type": "array",
          "items": {}
        }
      },
      "required": [
        "id",
        "node_id",
        "url",
        "forks_url",
        "commits_url",
        "git_pull_url",
        "git_push_url",
        "html_url",
        "comments_url",
        "public",
        "description",
        "comments",
        "user",
        "files",
        "created_at",
        "updated_at"
      ]
    },
    "url": {
      "type": "string",
      "example": "https://api.github.com/repos/octocat/Hello-World"
    },
    "forks_url": {
      "type": "string",
      "example": "https://api.github.com/repos/octocat/Hello-World"
    },
    "commits_url": {
      "type": "string",
      "example": "https://api.github.com/repos/octocat/Hello-World"
    },
    "id": {
      "type": "string",
      "example": "12345678"
    },
    "node_id": {
      "type": "string",
      "example": "12345678"
    },
    "git_pull_url": {
      "type": "string",
      "example": "https://api.github.com/repos/octocat/Hello-World"
    },
    "git_push_url": {
      "type": "string",
      "example": "https://api.github.com/repos/octocat/Hello-World"
    },
    "html_url": {
      "type": "string",
      "example": "https://api.github.com/repos/octocat/Hello-World"
    },
    "files": {
      "type": "object",
      "additionalProperties": {
        "nullable": true,
        "type": "object",
        "properties": {
          "filename": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "language": {
            "type": "string"
          },
          "raw_url": {
            "type": "string"
          },
          "size": {
            "type": "integer"
          },
          "truncated": {
            "type": "boolean"
          },
          "content": {
            "type": "string"
          }
        }
      }
    },
    "public": {
      "type": "boolean",
      "example": true
    },
    "created_at": {
      "type": "string",
      "example": "2026-04-17T12:00:00Z"
    },
    "updated_at": {
      "type": "string",
      "example": "2026-04-17T12:00:00Z"
    },
    "description": {
      "type": "string",
      "nullable": true,
      "example": "This is an example repository"
    },
    "comments": {
      "type": "int32",
      "example": 42
    },
    "user": {
      "type": "string",
      "nullable": true,
      "example": "example_value"
    },
    "comments_url": {
      "type": "string",
      "example": "https://api.github.com/repos/octocat/Hello-World"
    },
    "owner": {
      "$ref": "#/components/schemas/simple-user"
    },
    "truncated": {
      "type": "boolean"
    }
  }
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/github-gists-gist-simple-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.