githubUnifiedUserPullRequestsResponseSchema

Social MediaData APIDeveloper ToolsArtificial IntelligenceMarketing
View JSON Schema on GitHub

JSON Schema

scrapeatlas-github-unified-user-pull-requests-response-schema-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/scrapeatlas/main/json-schema/scrapeatlas-github-unified-user-pull-requests-response-schema-schema.json",
  "title": "githubUnifiedUserPullRequestsResponseSchema",
  "x-generated": "2026-10-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/scrapeatlas-openapi.json#/components/schemas/githubUnifiedUserPullRequestsResponseSchema",
  "anyOf": [
    {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "platform": {
              "type": "string",
              "const": "github"
            },
            "endpoint": {
              "type": "string"
            },
            "success": {
              "type": "boolean",
              "const": true
            },
            "status": {
              "type": "string",
              "enum": [
                "success",
                "partial"
              ]
            },
            "requestId": {
              "type": "string",
              "format": "uuid"
            },
            "sourceUrl": {
              "type": "string",
              "format": "uri"
            },
            "fetchedAt": {
              "type": "string",
              "format": "date-time"
            },
            "coverage": {
              "type": "object",
              "properties": {
                "source": {
                  "type": "string",
                  "enum": [
                    "public_api",
                    "public_html"
                  ]
                },
                "complete": {
                  "type": "boolean"
                },
                "warnings": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "required": [
                "source",
                "complete",
                "warnings"
              ],
              "additionalProperties": false
            },
            "accounting": {
              "type": "object",
              "properties": {
                "upstreamRequests": {
                  "type": "integer",
                  "minimum": 0
                },
                "responseBytes": {
                  "type": "integer",
                  "minimum": 0
                },
                "durationMs": {
                  "type": "number",
                  "minimum": 0
                }
              },
              "required": [
                "upstreamRequests",
                "responseBytes",
                "durationMs"
              ],
              "additionalProperties": false
            },
            "pull_requests": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "title": {
                    "type": "string"
                  },
                  "repo": {
                    "type": "string"
                  },
                  "state": {
                    "type": "string",
                    "enum": [
                      "open",
                      "closed"
                    ]
                  },
                  "created_at": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string",
                    "format": "uri"
                  }
                },
                "required": [
                  "title",
                  "repo",
                  "state",
                  "created_at",
                  "url"
                ],
                "additionalProperties": false
              },
              "maxItems": 100
            },
            "cursor": {
              "type": [
                "integer",
                "null"
              ],
              "minimum": 0
            },
            "has_more": {
              "type": "boolean"
            }
          },
          "required": [
            "success",
            "status",
            "requestId",
            "sourceUrl",
            "fetchedAt",
            "coverage",
            "accounting",
            "pull_requests",
            "cursor",
            "has_more"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "success": {
              "type": "boolean",
              "const": false
            },
            "status": {
              "type": "string",
              "enum": [
                "failed",
                "challenged"
              ]
            },
            "requestId": {
              "type": "string",
              "format": "uuid"
            },
            "failure": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "string",
                  "enum": [
                    "invalid_request",
                    "unauthorized",
                    "not_found",
                    "upstream_challenged",
                    "upstream_rate_limited",
                    "upstream_error",
                    "unsupported_page",
                    "response_too_large",
                    "unsafe_redirect",
                    "request_limit",
                    "timeout",
                    "busy",
                    "payload_too_complex",
                    "upstream_pending"
                  ]
                },
                "message": {
                  "type": "string"
                }
              },
              "required": [
                "code",
                "message"
              ],
              "additionalProperties": false
            },
            "accounting": {
              "type": "object",
              "properties": {
                "upstreamRequests": {
                  "type": "integer",
                  "minimum": 0
                },
                "responseBytes": {
                  "type": "integer",
                  "minimum": 0
                },
                "durationMs": {
                  "type": "number",
                  "minimum": 0
                }
              },
              "required": [
                "upstreamRequests",
                "responseBytes",
                "durationMs"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "success",
            "status",
            "requestId",
            "failure",
            "accounting"
          ],
          "additionalProperties": false
        }
      ]
    },
    {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "platform": {
              "type": "string",
              "const": "github"
            },
            "endpoint": {
              "type": "string"
            },
            "success": {
              "type": "boolean",
              "const": true
            },
            "status": {
              "type": "string",
              "enum": [
                "success",
                "partial"
              ]
            },
            "requestId": {
              "type": "string",
              "format": "uuid"
            },
            "sourceUrl": {
              "type": "string",
              "format": "uri"
            },
            "fetchedAt": {
              "type": "string",
              "format": "date-time"
            },
            "coverage": {
              "type": "object",
              "properties": {
                "source": {
                  "type": "string",
                  "enum": [
                    "public_api",
                    "public_html"
                  ]
                },
                "complete": {
                  "type": "boolean"
                },
                "warnings": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "required": [
                "source",
                "complete",
                "warnings"
              ],
              "additionalProperties": false
            },
            "accounting": {
              "type": "object",
              "properties": {
                "upstreamRequests": {
                  "type": "integer",
                  "minimum": 0
                },
                "responseBytes": {
                  "type": "integer",
                  "minimum": 0
                },
                "durationMs": {
                  "type": "number",
                  "minimum": 0
                }
              },
              "required": [
                "upstreamRequests",
                "responseBytes",
                "durationMs"
              ],
              "additionalProperties": false
            },
            "data": {
              "type": "object",
              "properties": {
                "lookupStatus": {
                  "type": "string",
                  "enum": [
                    "found",
                    "not_found"
                  ]
                },
                "pullRequests": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "title": {
                        "type": "string"
                      },
                      "repo": {
                        "type": "string"
                      },
                      "state": {
                        "type": "string",
                        "enum": [
                          "open",
                          "closed"
                        ]
                      },
                      "url": {
                        "type": "string",
                        "format": "uri"
                      },
                      "createdAt": {
                        "type": "string"
                      },
                      "number": {
                        "type": "integer",
                        "minimum": 0
                      }
                    },
                    "required": [
                      "title",
                      "repo",
                      "state",
                      "url",
                      "createdAt",
                      "number"
                    ],
                    "additionalProperties": false
                  },
                  "maxItems": 100
                },
                "page": {
                  "type": "object",
                  "properties": {
                    "nextCursor": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "hasMore": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "nextCursor",
                    "hasMore"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "lookupStatus",
                "pullRequests",
                "page"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "success",
            "status",
            "requestId",
            "sourceUrl",
            "fetchedAt",
            "coverage",
            "accounting",
            "data"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "success": {
              "type": "boolean",
              "const": false
            },
            "status": {
              "type": "string",
              "enum": [
                "failed",
                "challenged"
              ]
            },
            "requestId": {
              "type": "string",
              "format": "uuid"
            },
            "failure": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "string",
                  "enum": [
                    "invalid_request",
                    "unauthorized",
                    "not_found",
                    "upstream_challenged",
                    "upstream_rate_limited",
                    "upstream_error",
                    "unsupported_page",
                    "response_too_large",
                    "unsafe_redirect",
                    "request_limit",
                    "timeout",
                    "busy",
                    "payload_too_complex",
                    "upstream_pending"
                  ]
                },
                "message": {
                  "type": "string"
                }
              },
              "required": [
                "code",
                "message"
              ],
              "additionalProperties": false
            },
            "accounting": {
              "type": "object",
              "properties": {
                "upstreamRequests": {
                  "type": "integer",
                  "minimum": 0
                },
                "responseBytes": {
                  "type": "integer",
                  "minimum": 0
                },
                "durationMs": {
                  "type": "number",
                  "minimum": 0
                }
              },
              "required": [
                "upstreamRequests",
                "responseBytes",
                "durationMs"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "success",
            "status",
            "requestId",
            "failure",
            "accounting"
          ],
          "additionalProperties": false
        }
      ]
    },
    {
      "type": "object",
      "properties": {
        "platform": {
          "type": "string",
          "const": "github"
        },
        "endpoint": {
          "type": "string"
        },
        "success": {
          "type": "boolean",
          "const": true
        },
        "status": {
          "type": "string",
          "enum": [
            "success",
            "partial"
          ]
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "sourceUrl": {
          "type": "string",
          "format": "uri"
        },
        "fetchedAt": {
          "type": "string",
          "format": "date-time"
        },
        "coverage": {
          "type": "object",
          "properties": {
            "source": {
              "type": "string",
              "enum": [
                "public_api",
                "public_html"
              ]
            },
            "complete": {
              "type": "boolean"
            },
            "warnings": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "required": [
            "source",
            "complete",
            "warnings"
          ],
          "additionalProperties": false
        },
        "accounting": {
          "type": "object",
          "properties": {
            "upstreamRequests": {
              "type": "integer",
              "minimum": 0
            },
            "responseBytes": {
              "type": "integer",
              "minimum": 0
            },
            "durationMs": {
              "type": "number",
              "minimum": 0
            }
          },
          "required": [
            "upstreamRequests",
            "responseBytes",
            "durationMs"
          ],
          "additionalProperties": false
        },
        "data": {
          "type": "object",
          "properties": {
            "velocity": {
              "type": "object",
              "properties": {
                "total": {
                  "type": "integer",
                  "minimum": 0
                },
                "merged": {
                  "type": [
                    "integer",
                    "null"
                  ],
                  "minimum": 0
                },
                "open": {
                  "type": [
                    "integer",
                    "null"
                  ],
                  "minimum": 0
                }
              },
              "required": [
                "total",
                "merged"
              ],
              "additionalProperties": false
            },
            "period": {
              "type": "object",
              "properties": {
                "since": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "until": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "basis": {
                  "type": "string",
                  "const": "created"
                }
              },
              "required": [
                "since",
                "until",
                "basis"
              ],
              "additionalProperties": false
            },
            "sampling": {
              "type": "object",
              "properties": {
                "sections": {
                  "type": "string",
                  "enum": [
                    "summary",
                    "repositories",
                    "full"
                  ]
                },
                "authoredPullRequests": {
                  "type": "integer",
                  "minimum": 0
                },
                "externalRepositoryLimit": {
                  "type": "integer",
                  "minimum": 0
                },
                "ownedRepositoryLimit": {
                  "type": "integer",
                  "minimum": 0
                }
              },
              "required": [
                "sections",
                "authoredPullRequests",
                "externalRepositoryLimit",
                "ownedRepositoryLimit"
              ],
              "additionalProperties": false
            },
            "contributed_repos": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "info": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "node_id": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "full_name": {
                        "type": "string"
                      },
                      "owner": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "integer",
                            "minimum": 0
                          },
                          "login": {
                            "type": "string"
                          },
                          "avatar_url": {
                            "type": "string",
                            "format": "uri"
                          },
                          "url": {
                            "type": "string",
                            "format": "uri"
                          },
                          "type": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "login",
                          "avatar_url",
                          "url",
                          "type"
                        ],
                        "additionalProperties": false
                      },
                      "private": {
                        "type": "boolean",
                        "const": false
                      },
                      "description": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "fork": {
                        "type": "boolean"
                      },
                      "homepage": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "language": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "forks_count": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "watchers_count": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "size": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "default_branch": {
                        "type": "string"
                      },
                      "open_issues_count": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "topics": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "license": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "key": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "spdx_id": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "key",
                              "name",
                              "spdx_id"
                            ],
                            "additionalProperties": true
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "archived": {
                        "type": "boolean"
                      },
                      "disabled": {
                        "type": "boolean"
                      },
                      "visibility": {
                        "type": "string"
                      },
                      "pushed_at": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "created_at": {
                        "type": "string"
                      },
                      "updated_at": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string",
                        "format": "uri"
                      },
                      "stars_count": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "subscriberCount": {
                        "type": [
                          "integer",
                          "null"
                        ],
                        "minimum": 0
                      },
                      "networkCount": {
                        "type": [
                          "integer",
                          "null"
                        ],
                        "minimum": 0
                      },
                      "hasIssues": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "hasDiscussions": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "hasWiki": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "hasPages": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "isTemplate": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "parentRepository": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "fullName": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string",
                                "format": "uri"
                              }
                            },
                            "required": [
                              "fullName",
                              "url"
                            ],
                            "additionalProperties": true
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourceRepository": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "fullName": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string",
                                "format": "uri"
                              }
                            },
                            "required": [
                              "fullName",
                              "url"
                            ],
                            "additionalProperties": true
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "stars": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "forks": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "open_issues": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "watchers": {
                        "type": [
                          "integer",
                          "null"
                        ],
                        "minimum": 0
                      }
                    },
                    "required": [
                      "id",
                      "node_id",
                      "name",
                      "full_name",
                      "owner",
                      "private",
                      "description",
                      "fork",
                      "homepage",
                      "language",
                      "forks_count",
                      "watchers_count",
                      "size",
                      "default_branch",
                      "open_issues_count",
                      "topics",
                      "license",
                      "archived",
                      "disabled",
                      "visibility",
                      "pushed_at",
                      "created_at",
                      "updated_at",
                      "url",
                      "stars_count"
                    ],
                    "additionalProperties": true
                  },
                  "releases": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "post": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "url": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "format": "uri"
                                },
                                "content": {
                                  "type": "object",
                                  "properties": {
                                    "text": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "media_urls": {
                                      "anyOf": [
                                        {
                                          "type": "array",
                                          "items": {
                                            "type": "string"
                                          }
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "thumbnail_url": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "duration_seconds": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "text",
                                    "media_urls",
                                    "thumbnail_url",
                                    "duration_seconds"
                                  ],
                                  "additionalProperties": false
                                },
                                "author": {
                                  "type": "object",
                                  "properties": {
                                    "username": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "display_name": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "avatar_url": {
                                      "type": [
                                        "string",
                                        "null"
            

# --- truncated at 32 KB (144 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/scrapeatlas/refs/heads/main/json-schema/scrapeatlas-github-unified-user-pull-requests-response-schema-schema.json

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 Schema
curl "https://apis.io/api/v1/json-schemas/scrapeatlas-github-unified-user-pull-requests-response-schema"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.