{ "components": { "schemas": { "blob": { "properties": { "content": { "type": "string" }, "encoding": { "$ref": "#/components/schemas/encoding" }, "url": { "type": "string" }, "sha": { "type": "string" }, "size": { "type": "integer", "format": "int64" } }, "required": [ "content", "encoding", "url", "sha", "size" ], "type": "object" }, "blob_created": { "properties": { "url": { "type": "string" }, "sha": { "type": "string" } }, "required": [ "url", "sha" ], "type": "object" }, "blob_form": { "properties": { "content": { "type": "string" }, "encoding": { "$ref": "#/components/schemas/encoding", "default": "utf-8" } }, "required": [ "content", "encoding" ], "type": "object" }, "commit": { "properties": { "sha": { "type": "string", "example": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc" }, "url": { "type": "string", "example": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc" }, "html_url": { "type": "string" }, "author": { "$ref": "#/components/schemas/person" }, "committer": { "$ref": "#/components/schemas/person" }, "tree": { "$ref": "#/components/schemas/tree_summary" }, "message": { "type": "string" }, "parents": { "items": { "$ref": "#/components/schemas/commit_summary" }, "type": "array" } }, "required": [ "sha", "url", "html_url", "author", "committer", "tree", "message", "parents" ], "type": "object" }, "commit_form": { "properties": { "message": { "type": "string" }, "tree": { "type": "string" }, "parents": { "items": { "type": "string" }, "type": "array" }, "author": { "$ref": "#/components/schemas/person" }, "committer": { "$ref": "#/components/schemas/person" } }, "required": [ "message", "tree", "parents", "author", "committer" ], "type": "object" }, "commit_response": { "properties": { "sha": { "type": "string" }, "url": { "type": "string" }, "author": { "$ref": "#/components/schemas/person" }, "committer": { "$ref": "#/components/schemas/person" }, "message": { "type": "string" }, "tree": { "$ref": "#/components/schemas/tree_summary" }, "parents": { "items": { "$ref": "#/components/schemas/tree_summary" }, "type": "array" } }, "required": [ "sha", "url", "author", "committer", "message", "tree", "parents" ], "type": "object" }, "commit_summary": { "properties": { "sha": { "type": "string", "example": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc" }, "url": { "type": "string", "example": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc" } }, "required": [ "sha", "url" ], "type": "object" }, "contents": { "properties": { "type": { "$ref": "#/components/schemas/contents_type" }, "encoding": { "$ref": "#/components/schemas/encoding" }, "size": { "type": "integer", "format": "int64" }, "name": { "type": "string" }, "path": { "type": "string" }, "content": { "type": "string", "description": "If file, then present" }, "sha": { "type": "string" }, "url": { "type": "string" }, "git_url": { "type": "string" }, "html_url": { "type": "string" }, "download_url": { "type": "string" } }, "required": [ "type", "encoding", "size", "name", "path", "sha", "url", "git_url", "html_url", "download_url" ], "type": "object" }, "create_tree_form": { "properties": { "base_tree": { "type": "string" }, "tree": { "items": { "$ref": "#/components/schemas/tree_form" }, "type": "array" } }, "required": [ "base_tree", "tree" ], "type": "object" }, "create_tree_response": { "properties": { "sha": { "type": "string" }, "url": { "type": "string" }, "tree_result": { "$ref": "#/components/schemas/tree" } }, "required": [ "sha", "url", "tree_result" ], "type": "object" }, "error": { "properties": { "resource": { "type": "string", "example": "Issue" }, "field": { "type": "string", "example": "title" }, "code": { "type": "string", "example": "missing_field" } }, "required": [ "resource", "field", "code" ], "type": "object" }, "github_object": { "properties": { "type": { "type": "string", "example": "commit" }, "sha": { "type": "string" }, "url": { "type": "string" } }, "required": [ "type", "sha", "url" ], "type": "object" }, "hook": { "description": "See https://developer.github.com/v3/repos/hooks/#create-a-hook", "properties": { "id": { "type": "integer", "format": "int64" }, "url": { "type": "string" }, "test_url": { "type": "string" }, "ping_url": { "type": "string" }, "name": { "type": "string" }, "events": { "items": { "$ref": "#/components/schemas/hook_event" }, "type": "array" }, "active": { "type": "boolean" }, "config": { "$ref": "#/components/schemas/hook_config" }, "updated_at": { "type": "string", "format": "date-time" }, "created_at": { "type": "string", "format": "date-time" } }, "required": [ "id", "url", "test_url", "ping_url", "name", "events", "active", "config", "updated_at", "created_at" ], "type": "object" }, "hook_config": { "properties": { "url": { "type": "string" }, "content_type": { "type": "string", "example": "json or form" } }, "type": "object" }, "hook_form": { "properties": { "name": { "type": "string", "example": "web" }, "config": { "$ref": "#/components/schemas/hook_config" }, "events": { "items": { "$ref": "#/components/schemas/hook_event" }, "type": "array" }, "active": { "type": "boolean" } }, "required": [ "name", "config", "events", "active" ], "type": "object" }, "node": { "properties": { "path": { "type": "string" }, "mode": { "type": "string", "description": "100644 file (blob), 100755 executable (blob), 040000 subdirectory (tree), 160000 submodule (commit)" }, "type": { "$ref": "#/components/schemas/node_type" }, "size": { "type": "integer", "format": "int64" }, "sha": { "type": "string" }, "url": { "type": "string" } }, "required": [ "path", "mode", "type", "size", "sha", "url" ], "type": "object" }, "node_form": { "properties": { "path": { "type": "string" }, "mode": { "type": "string", "description": "100644 file (blob), 100755 executable (blob), 040000 subdirectory (tree), 160000 submodule (commit)" }, "type": { "$ref": "#/components/schemas/node_type" }, "sha": { "type": "string" } }, "required": [ "path", "mode", "type", "sha" ], "type": "object" }, "person": { "properties": { "name": { "type": "string" }, "email": { "type": "string" }, "date": { "type": "string", "format": "date-time" } }, "required": [ "name", "email", "date" ], "type": "object" }, "pull_request": { "properties": { "id": { "type": "integer", "format": "int64" }, "url": { "type": "string" }, "number": { "type": "integer", "format": "int64" }, "html_url": { "type": "string" }, "head": { "$ref": "#/components/schemas/pull_request_head" } }, "required": [ "id", "url", "number", "html_url", "head" ], "type": "object" }, "pull_request_form": { "properties": { "title": { "type": "string" }, "head": { "type": "string" }, "base": { "type": "string" }, "body": { "type": "string" } }, "required": [ "title", "head", "base" ], "type": "object" }, "pull_request_head": { "properties": { "ref": { "type": "string" } }, "required": [ "ref" ], "type": "object" }, "ref": { "properties": { "ref": { "type": "string", "example": "refs/heads/featureA or refs/heads/main" }, "url": { "type": "string" }, "object": { "$ref": "#/components/schemas/github_object" } }, "required": [ "ref", "url", "object" ], "type": "object" }, "ref_form": { "properties": { "ref": { "type": "string", "example": "refs/heads/featureA or refs/heads/main" }, "sha": { "type": "string", "example": "940bd336248efae0f9ee5bc7b2d5c985887b16ac" } }, "required": [ "ref", "sha" ], "type": "object" }, "ref_update_form": { "properties": { "sha": { "type": "string", "example": "940bd336248efae0f9ee5bc7b2d5c985887b16ac" } }, "required": [ "sha" ], "type": "object" }, "repository": { "properties": { "id": { "type": "integer", "format": "int64" }, "owner": { "$ref": "#/components/schemas/user" }, "name": { "type": "string" }, "full_name": { "type": "string" }, "private": { "type": "boolean" }, "description": { "type": "string" }, "url": { "type": "string" }, "html_url": { "type": "string" }, "default_branch": { "type": "string" } }, "required": [ "id", "owner", "name", "full_name", "private", "url", "html_url", "default_branch" ], "type": "object" }, "tag": { "properties": { "tag": { "type": "string", "example": "v0.0.1" }, "sha": { "type": "string", "example": "940bd336248efae0f9ee5bc7b2d5c985887b16ac" }, "url": { "type": "string", "example": "https://api.github.com/repos/octocat/Hello-World/git/tags/940bd336248efae0f9ee5bc7b2d5c985887b16ac" }, "message": { "type": "string", "example": "initial version" }, "tagger": { "$ref": "#/components/schemas/tagger" }, "object": { "$ref": "#/components/schemas/github_object" } }, "required": [ "tag", "sha", "url", "message", "tagger", "object" ], "type": "object" }, "tag_form": { "properties": { "tag": { "type": "string", "example": "v0.0.1" }, "message": { "type": "string" }, "object": { "type": "string", "description": "The SHA of the git object this is tagging", "example": "940bd336248efae0f9ee5bc7b2d5c985887b16ac" }, "type": { "type": "string", "default": "commit" }, "tagger": { "$ref": "#/components/schemas/tagger" } }, "required": [ "tag", "message", "object", "type", "tagger" ], "type": "object" }, "tag_summary": { "properties": { "name": { "type": "string", "example": "v0.1" }, "commit": { "$ref": "#/components/schemas/commit_summary" } }, "required": [ "name", "commit" ], "type": "object" }, "tagger": { "properties": { "name": { "type": "string" }, "email": { "type": "string" }, "date": { "type": "string", "format": "date-time" } }, "required": [ "name", "email", "date" ], "type": "object" }, "tree": { "properties": { "sha": { "type": "string" }, "url": { "type": "string" }, "truncated": { "type": "boolean" }, "tree": { "items": { "$ref": "#/components/schemas/node" }, "type": "array" } }, "required": [ "sha", "url", "truncated", "tree" ], "type": "object" }, "tree_form": { "properties": { "path": { "type": "string" }, "mode": { "type": "string", "description": "100644 file (blob), 100755 executable (blob), 040000 subdirectory (tree), 160000 submodule (commit)" }, "type": { "$ref": "#/components/schemas/node_type" }, "sha": { "type": "string" }, "content": { "type": "string" } }, "required": [ "path", "mode", "type" ], "type": "object" }, "tree_result": { "properties": { "path": { "type": "string" }, "mode": { "type": "string", "description": "100644 file (blob), 100755 executable (blob), 040000 subdirectory (tree), 160000 submodule (commit)" }, "type": { "$ref": "#/components/schemas/node_type" }, "size": { "type": "integer", "format": "int64" }, "sha": { "type": "string" }, "url": { "type": "string" } }, "required": [ "path", "mode", "type", "size", "sha", "url" ], "type": "object" }, "tree_summary": { "properties": { "url": { "type": "string" }, "sha": { "type": "string" } }, "required": [ "url", "sha" ], "type": "object" }, "unprocessable_entity": { "properties": { "message": { "type": "string", "example": "Validation Failed" }, "errors": { "items": { "$ref": "#/components/schemas/error" }, "type": "array" } }, "required": [ "message" ], "type": "object" }, "user": { "properties": { "id": { "type": "integer", "format": "int64" }, "login": { "type": "string" }, "name": { "type": "string" }, "email": { "type": "string" }, "avatar_url": { "type": "string" }, "gravatar_id": { "type": "string" }, "url": { "type": "string" }, "html_url": { "type": "string" }, "type": { "$ref": "#/components/schemas/owner_type" } }, "required": [ "id", "login", "url", "html_url", "type" ], "type": "object" }, "user_email": { "properties": { "email": { "type": "string" }, "verified": { "type": "boolean" }, "primary": { "type": "boolean" } }, "required": [ "email", "verified", "primary" ], "type": "object" }, "user_org": { "properties": { "login": { "type": "string" } }, "required": [ "login" ], "type": "object" }, "contents_type": { "description": "Possible values: file,dir,symlink,submodule.", "enum": [ "file", "dir", "symlink", "submodule" ], "type": "string" }, "encoding": { "description": "Possible values: base64,utf-8.", "enum": [ "base64", "utf-8" ], "type": "string" }, "hook_event": { "description": "Possible values: push,pull_request.", "enum": [ "push", "pull_request" ], "type": "string" }, "node_type": { "description": "Possible values: blob,tree,commit.", "enum": [ "blob", "tree", "commit" ], "type": "string" }, "owner_type": { "description": "Possible values: User.", "enum": [ "User" ], "type": "string" }, "visibility": { "description": "Possible values: all,public,private.", "enum": [ "all", "public", "private" ], "type": "string" } } }, "info": { "contact": { "name": "Michael Bryzek", "url": "http://twitter.com/mbryzek", "email": "mbryzek@alum.mit.edu" }, "description": "See https://developer.github.com/v3/", "license": { "name": "MIT", "url": "http://opensource.org/licenses/MIT" }, "termsOfService": "", "title": "Github", "version": "0.4.67" }, "openapi": "3.0.2", "paths": { "/repos/:owner/:repo/git/blobs/:sha": { "get": { "operationId": "get--repos-owner-repo-git-blobs-sha", "parameters": [ { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "owner" }, { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "repo" }, { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "sha" } ], "responses": { "200": { "description": "io.flow.github.v0.models.blob", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/blob" } } }, "headers": {} }, "404": { "description": "unit", "content": { "application/json": { "schema": { "type": "integer", "nullable": true } } }, "headers": {} } }, "tags": [ "blob" ] } }, "/repos/:owner/:repo/git/blobs": { "post": { "operationId": "post--repos-owner-repo-git-blobs", "parameters": [ { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "owner" }, { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "repo" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/blob_form" } } } }, "responses": { "201": { "description": "io.flow.github.v0.models.blob_created", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/blob_created" } } }, "headers": {} }, "404": { "description": "unit", "content": { "application/json": { "schema": { "type": "integer", "nullable": true } } }, "headers": {} }, "422": { "description": "io.flow.github.v0.models.unprocessable_entity", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/unprocessable_entity" } } }, "headers": {} } }, "tags": [ "blob" ] } }, "/repos/:owner/:repo/git/commits/:sha": { "get": { "operationId": "get--repos-owner-repo-git-commits-sha", "parameters": [ { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "owner" }, { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "repo" }, { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "sha" } ], "responses": { "200": { "description": "io.flow.github.v0.models.commit", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/commit" } } }, "headers": {} }, "404": { "description": "unit", "content": { "application/json": { "schema": { "type": "integer", "nullable": true } } }, "headers": {} }, "422": { "description": "io.flow.github.v0.models.unprocessable_entity", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/unprocessable_entity" } } }, "headers": {} } }, "tags": [ "commit" ] } }, "/repos/:owner/:repo/git/commits": { "post": { "operationId": "post--repos-owner-repo-git-commits", "parameters": [ { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "owner" }, { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "repo" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/commit_form" } } } }, "responses": { "201": { "description": "io.flow.github.v0.models.commit_response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/commit_response" } } }, "headers": {} }, "404": { "description": "unit", "content": { "application/json": { "schema": { "type": "integer", "nullable": true } } }, "headers": {} }, "422": { "description": "io.flow.github.v0.models.unprocessable_entity", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/unprocessable_entity" } } }, "headers": {} } }, "tags": [ "commit" ] } }, "/repos/:owner/:repo/readme": { "get": { "operationId": "get--repos-owner-repo-readme", "parameters": [ { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "owner" }, { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "repo" }, { "deprecated": false, "example": "main", "in": "query", "required": true, "schema": { "type": "string" }, "name": "ref" } ], "responses": { "200": { "description": "io.flow.github.v0.models.contents", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/contents" } } }, "headers": {} }, "401": { "description": "unit", "content": { "application/json": { "schema": { "type": "integer", "nullable": true } } }, "headers": {} }, "404": { "description": "unit", "content": { "application/json": { "schema": { "type": "integer", "nullable": true } } }, "headers": {} } }, "tags": [ "contents" ] } }, "/repos/:owner/:repo/contents/:path": { "get": { "operationId": "get--repos-owner-repo-contents-path", "parameters": [ { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "owner" }, { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "repo" }, { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "path" }, { "deprecated": false, "example": "main", "in": "query", "required": true, "schema": { "type": "string" }, "name": "ref" } ], "responses": { "200": { "description": "io.flow.github.v0.models.contents", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/contents" } } }, "headers": {} }, "401": { "description": "unit", "content": { "application/json": { "schema": { "type": "integer", "nullable": true } } }, "headers": {} }, "404": { "description": "unit", "content": { "application/json": { "schema": { "type": "integer", "nullable": true } } }, "headers": {} } }, "tags": [ "contents" ] } }, "/repos/:owner/:repo/hooks": { "get": { "operationId": "get--repos-owner-repo-hooks", "parameters": [ { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "owner" }, { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "repo" } ], "responses": { "200": { "description": "[io.flow.github.v0.models.hook]", "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/hook" }, "type": "array" } } }, "headers": {} }, "404": { "description": "unit", "content": { "application/json": { "schema": { "type": "integer", "nullable": true } } }, "headers": {} } }, "tags": [ "hook" ] }, "post": { "operationId": "post--repos-owner-repo-hooks", "parameters": [ { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "owner" }, { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "repo" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/hook_form" } } } }, "responses": { "201": { "description": "io.flow.github.v0.models.hook", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/hook" } } }, "headers": {} }, "404": { "description": "unit", "content": { "application/json": { "schema": { "type": "integer", "nullable": true } } }, "headers": {} }, "422": { "description": "io.flow.github.v0.models.unprocessable_entity", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/unprocessable_entity" } } }, "headers": {} } }, "tags": [ "hook" ] } }, "/repos/:owner/:repo/hooks/:id": { "get": { "operationId": "get--repos-owner-repo-hooks-id", "parameters": [ { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "owner" }, { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "repo" }, { "deprecated": false, "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" }, "name": "id" } ], "responses": { "200": { "description": "io.flow.github.v0.models.hook", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/hook" } } }, "headers": {} }, "404": { "description": "unit", "content": { "application/json": { "schema": { "type": "integer", "nullable": true } } }, "headers": {} } }, "tags": [ "hook" ] }, "delete": { "operationId": "delete--repos-owner-repo-hooks-id", "parameters": [ { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "owner" }, { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "repo" }, { "deprecated": false, "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" }, "name": "id" } ], "responses": { "204": { "description": "unit", "content": { "application/json": { "schema": { "type": "integer", "nullable": true } } }, "headers": {} }, "404": { "description": "unit", "content": { "application/json": { "schema": { "type": "integer", "nullable": true } } }, "headers": {} } }, "tags": [ "hook" ] } }, "/repos/:owner/:repo/pulls": { "post": { "operationId": "post--repos-owner-repo-pulls", "parameters": [ { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "owner" }, { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "repo" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/pull_request_form" } } } }, "responses": { "201": { "description": "io.flow.github.v0.models.pull_request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/pull_request" } } }, "headers": {} }, "404": { "description": "unit", "content": { "application/json": { "schema": { "type": "integer", "nullable": true } } }, "headers": {} }, "422": { "description": "io.flow.github.v0.models.unprocessable_entity", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/unprocessable_entity" } } }, "headers": {} } }, "tags": [ "pull_request" ] }, "get": { "operationId": "get--repos-owner-repo-pulls", "parameters": [ { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "owner" }, { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "repo" }, { "deprecated": false, "example": "1", "in": "query", "required": true, "schema": { "type": "integer", "format": "int64" }, "name": "page" } ], "responses": { "200": { "description": "[io.flow.github.v0.models.pull_request]", "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/pull_request" }, "type": "array" } } }, "headers": {} }, "404": { "description": "unit", "content": { "application/json": { "schema": { "type": "integer", "nullable": true } } }, "headers": {} } }, "tags": [ "pull_request" ] } }, "/repos/:owner/:repo/git/refs": { "get": { "operationId": "get--repos-owner-repo-git-refs", "parameters": [ { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "owner" }, { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "repo" } ], "responses": { "200": { "description": "[io.flow.github.v0.models.ref]", "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/ref" }, "type": "array" } } }, "headers": {} }, "404": { "description": "unit", "content": { "application/json": { "schema": { "type": "integer", "nullable": true } } }, "headers": {} } }, "tags": [ "ref" ] }, "post": { "operationId": "post--repos-owner-repo-git-refs", "parameters": [ { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "owner" }, { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "repo" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ref_form" } } } }, "responses": { "201": { "description": "io.flow.github.v0.models.ref", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ref" } } }, "headers": {} }, "404": { "description": "unit", "content": { "application/json": { "schema": { "type": "integer", "nullable": true } } }, "headers": {} }, "422": { "description": "io.flow.github.v0.models.unprocessable_entity", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/unprocessable_entity" } } }, "headers": {} } }, "tags": [ "ref" ] } }, "/repos/:owner/:repo/git/refs/:ref": { "get": { "operationId": "get--repos-owner-repo-git-refs-ref", "parameters": [ { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "owner" }, { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "repo" }, { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "ref" } ], "responses": { "200": { "description": "io.flow.github.v0.models.ref", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ref" } } }, "headers": {} }, "404": { "description": "unit", "content": { "application/json": { "schema": { "type": "integer", "nullable": true } } }, "headers": {} } }, "tags": [ "ref" ] }, "put": { "operationId": "put--repos-owner-repo-git-refs-ref", "parameters": [ { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "owner" }, { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "repo" }, { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "ref" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ref_update_form" } } } }, "responses": { "201": { "description": "io.flow.github.v0.models.ref", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ref" } } }, "headers": {} }, "404": { "description": "unit", "content": { "application/json": { "schema": { "type": "integer", "nullable": true } } }, "headers": {} }, "422": { "description": "io.flow.github.v0.models.unprocessable_entity", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/unprocessable_entity" } } }, "headers": {} } }, "tags": [ "ref" ] } }, "/user/repos": { "get": { "operationId": "get--user-repos", "parameters": [ { "deprecated": false, "example": "1", "in": "query", "required": true, "schema": { "type": "integer", "format": "int64" }, "name": "page" }, { "deprecated": false, "example": "all", "in": "query", "required": true, "schema": { "$ref": "#/components/schemas/visibility" }, "name": "visibility" }, { "deprecated": false, "in": "query", "required": false, "schema": { "type": "string" }, "name": "affiliation" }, { "deprecated": false, "in": "query", "required": false, "schema": { "type": "string" }, "name": "type" }, { "deprecated": false, "example": "full_name", "in": "query", "required": true, "schema": { "type": "string" }, "name": "sort" }, { "deprecated": false, "example": "asc", "in": "query", "required": true, "schema": { "type": "string" }, "name": "direction" } ], "responses": { "200": { "description": "[io.flow.github.v0.models.repository]", "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/repository" }, "type": "array" } } }, "headers": {} }, "401": { "description": "unit", "content": { "application/json": { "schema": { "type": "integer", "nullable": true } } }, "headers": {} } }, "tags": [ "repository" ] } }, "/users/:username/repos": { "get": { "description": "List public repositories for the specified user.", "operationId": "get--users-username-repos", "parameters": [ { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "username" }, { "deprecated": false, "example": "1", "in": "query", "required": true, "schema": { "type": "integer", "format": "int64" }, "name": "page" }, { "deprecated": false, "example": "owner", "in": "query", "required": true, "schema": { "type": "string" }, "name": "type" }, { "deprecated": false, "example": "full_name", "in": "query", "required": true, "schema": { "type": "string" }, "name": "sort" }, { "deprecated": false, "example": "asc", "in": "query", "required": true, "schema": { "type": "string" }, "name": "direction" } ], "responses": { "200": { "description": "[io.flow.github.v0.models.repository]", "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/repository" }, "type": "array" } } }, "headers": {} }, "401": { "description": "unit", "content": { "application/json": { "schema": { "type": "integer", "nullable": true } } }, "headers": {} } }, "tags": [ "repository" ] } }, "/orgs/:org/repos": { "get": { "description": "List repositories for the specified org.", "operationId": "get--orgs-org-repos", "parameters": [ { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "org" }, { "deprecated": false, "example": "1", "in": "query", "required": true, "schema": { "type": "integer", "format": "int64" }, "name": "page" }, { "deprecated": false, "example": "all", "in": "query", "required": true, "schema": { "type": "string" }, "name": "type" }, { "deprecated": false, "example": "full_name", "in": "query", "required": true, "schema": { "type": "string" }, "name": "sort" }, { "deprecated": false, "example": "asc", "in": "query", "required": true, "schema": { "type": "string" }, "name": "direction" } ], "responses": { "200": { "description": "[io.flow.github.v0.models.repository]", "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/repository" }, "type": "array" } } }, "headers": {} }, "401": { "description": "unit", "content": { "application/json": { "schema": { "type": "integer", "nullable": true } } }, "headers": {} } }, "tags": [ "repository" ] } }, "/repos/:owner/:repo/tags": { "get": { "operationId": "get--repos-owner-repo-tags", "parameters": [ { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "owner" }, { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "repo" }, { "deprecated": false, "example": "1", "in": "query", "required": true, "schema": { "type": "integer", "format": "int64" }, "name": "page" }, { "deprecated": false, "example": "30", "in": "query", "required": true, "schema": { "type": "integer", "format": "int64" }, "name": "per_page" } ], "responses": { "200": { "description": "[io.flow.github.v0.models.tag_summary]", "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/tag_summary" }, "type": "array" } } }, "headers": {} }, "404": { "description": "unit", "content": { "application/json": { "schema": { "type": "integer", "nullable": true } } }, "headers": {} } }, "tags": [ "tag" ] } }, "/repos/:owner/:repo/tags/:sha": { "get": { "operationId": "get--repos-owner-repo-tags-sha", "parameters": [ { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "owner" }, { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "repo" }, { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "sha" } ], "responses": { "200": { "description": "io.flow.github.v0.models.tag", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/tag" } } }, "headers": {} }, "404": { "description": "unit", "content": { "application/json": { "schema": { "type": "integer", "nullable": true } } }, "headers": {} } }, "tags": [ "tag" ] } }, "/repos/:owner/:repo/git/tags": { "post": { "operationId": "post--repos-owner-repo-git-tags", "parameters": [ { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "owner" }, { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "repo" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/tag_form" } } } }, "responses": { "201": { "description": "io.flow.github.v0.models.tag", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/tag" } } }, "headers": {} }, "404": { "description": "unit", "content": { "application/json": { "schema": { "type": "integer", "nullable": true } } }, "headers": {} }, "422": { "description": "io.flow.github.v0.models.unprocessable_entity", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/unprocessable_entity" } } }, "headers": {} } }, "tags": [ "tag" ] } }, "/repos/:owner/:repo/git/trees": { "post": { "operationId": "post--repos-owner-repo-git-trees", "parameters": [ { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "owner" }, { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string" }, "name": "repo" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/create_tree_form" } } } }, "responses": { "201": { "description": "io.flow.github.v0.models.create_tree_response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/create_tree_response" } } }, "headers": {} }, "404": { "description": "unit", "content": { "application/json": { "schema": { "type": "integer", "nullable": true } } }, "headers": {} }, "422": { "description": "io.flow.github.v0.models.unprocessable_entity", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/unprocessable_entity" } } }, "headers": {} } }, "tags": [ "tree" ] } }, "/user": { "get": { "operationId": "get--user", "parameters": [], "responses": { "200": { "description": "io.flow.github.v0.models.user", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/user" } } }, "headers": {} }, "401": { "description": "unit", "content": { "application/json": { "schema": { "type": "integer", "nullable": true } } }, "headers": {} } }, "tags": [ "user" ] } }, "/user/orgs": { "get": { "operationId": "get--user-orgs", "parameters": [ { "deprecated": false, "example": "1", "in": "query", "required": true, "schema": { "type": "integer", "format": "int64" }, "name": "page" }, { "deprecated": false, "in": "query", "required": false, "schema": { "type": "integer", "format": "int64" }, "name": "per_page" } ], "responses": { "200": { "description": "[io.flow.github.v0.models.user_org]", "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/user_org" }, "type": "array" } } }, "headers": {} }, "401": { "description": "unit", "content": { "application/json": { "schema": { "type": "integer", "nullable": true } } }, "headers": {} } }, "tags": [ "user" ] } }, "/user/emails": { "get": { "operationId": "get--user-emails", "parameters": [], "responses": { "200": { "description": "[io.flow.github.v0.models.user_email]", "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/user_email" }, "type": "array" } } }, "headers": {} }, "401": { "description": "unit", "content": { "application/json": { "schema": { "type": "integer", "nullable": true } } }, "headers": {} } }, "tags": [ "user_email" ] } } }, "servers": [ { "url": "https://api.github.com" } ] }