GitHub · JSON Structure

Github Gists Public User Structure

Public User

Type: object Properties: 39 Required: 31
CodePipelinesPlatformSoftware DevelopmentSource ControlT1

public-user is a JSON Structure definition published by GitHub, describing 39 properties, of which 31 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

login id node_id avatar_url gravatar_id url html_url followers_url following_url gists_url starred_url subscriptions_url organizations_url repos_url events_url received_events_url type site_admin name company blog location email hireable bio twitter_username public_repos public_gists followers following created_at updated_at plan suspended_at private_gists total_private_repos owned_private_repos disk_usage collaborators

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-public-user-structure.json",
  "name": "public-user",
  "description": "Public User",
  "type": "object",
  "properties": {
    "login": {
      "type": "string",
      "example": "octocat"
    },
    "id": {
      "type": "int32",
      "example": 42
    },
    "node_id": {
      "type": "string",
      "example": "12345678"
    },
    "avatar_url": {
      "type": "uri",
      "example": "https://api.github.com/repos/octocat/Hello-World"
    },
    "gravatar_id": {
      "type": "string",
      "nullable": true,
      "example": "12345678"
    },
    "url": {
      "type": "uri",
      "example": "https://api.github.com/repos/octocat/Hello-World"
    },
    "html_url": {
      "type": "uri",
      "example": "https://api.github.com/repos/octocat/Hello-World"
    },
    "followers_url": {
      "type": "uri",
      "example": "https://api.github.com/repos/octocat/Hello-World"
    },
    "following_url": {
      "type": "string",
      "example": "https://api.github.com/repos/octocat/Hello-World"
    },
    "gists_url": {
      "type": "string",
      "example": "https://api.github.com/repos/octocat/Hello-World"
    },
    "starred_url": {
      "type": "string",
      "example": "https://api.github.com/repos/octocat/Hello-World"
    },
    "subscriptions_url": {
      "type": "uri",
      "example": "https://api.github.com/repos/octocat/Hello-World"
    },
    "organizations_url": {
      "type": "uri",
      "example": "https://api.github.com/repos/octocat/Hello-World"
    },
    "repos_url": {
      "type": "uri",
      "example": "https://api.github.com/repos/octocat/Hello-World"
    },
    "events_url": {
      "type": "string",
      "example": "https://api.github.com/repos/octocat/Hello-World"
    },
    "received_events_url": {
      "type": "uri",
      "example": "https://api.github.com/repos/octocat/Hello-World"
    },
    "type": {
      "type": "string",
      "example": "User"
    },
    "site_admin": {
      "type": "boolean",
      "example": true
    },
    "name": {
      "type": "string",
      "nullable": true,
      "example": "octocat"
    },
    "company": {
      "type": "string",
      "nullable": true,
      "example": "example_value"
    },
    "blog": {
      "type": "string",
      "nullable": true
    },
    "location": {
      "type": "string",
      "nullable": true
    },
    "email": {
      "type": "string",
      "format": "email",
      "nullable": true
    },
    "hireable": {
      "type": "boolean",
      "nullable": true
    },
    "bio": {
      "type": "string",
      "nullable": true
    },
    "twitter_username": {
      "type": "string",
      "nullable": true
    },
    "public_repos": {
      "type": "int32"
    },
    "public_gists": {
      "type": "int32"
    },
    "followers": {
      "type": "int32"
    },
    "following": {
      "type": "int32"
    },
    "created_at": {
      "type": "datetime"
    },
    "updated_at": {
      "type": "datetime"
    },
    "plan": {
      "type": "object",
      "properties": {
        "collaborators": {
          "type": "int32"
        },
        "name": {
          "type": "string"
        },
        "space": {
          "type": "int32"
        },
        "private_repos": {
          "type": "int32"
        }
      },
      "required": [
        "collaborators",
        "name",
        "space",
        "private_repos"
      ]
    },
    "suspended_at": {
      "type": "datetime",
      "nullable": true
    },
    "private_gists": {
      "type": "int32",
      "example": 1
    },
    "total_private_repos": {
      "type": "int32",
      "example": 2
    },
    "owned_private_repos": {
      "type": "int32",
      "example": 2
    },
    "disk_usage": {
      "type": "int32",
      "example": 1
    },
    "collaborators": {
      "type": "int32",
      "example": 3
    }
  },
  "required": [
    "avatar_url",
    "events_url",
    "followers_url",
    "following_url",
    "gists_url",
    "gravatar_id",
    "html_url",
    "id",
    "node_id",
    "login",
    "organizations_url",
    "received_events_url",
    "repos_url",
    "site_admin",
    "starred_url",
    "subscriptions_url",
    "type",
    "url",
    "bio",
    "blog",
    "company",
    "email",
    "followers",
    "following",
    "hireable",
    "location",
    "name",
    "public_gists",
    "public_repos",
    "created_at",
    "updated_at"
  ]
}

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-public-user-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.