{ "basePath": "/", "host": "api.github.com", "info": { "description": "The GitHub API", "title": "GitHub API", "version": "v3" }, "paths": { "/app": { "get": { "parameters": [], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "created_at": { "minLength": 1, "type": "string" }, "description": { "type": "string" }, "external_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "hooks_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issues_url": { "minLength": 1, "type": "string" }, "login": { "minLength": 1, "type": "string" }, "members_url": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "public_members_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "login", "id", "node_id", "url", "repos_url", "events_url", "hooks_url", "issues_url", "members_url", "public_members_url", "avatar_url", "description" ], "type": "object" }, "updated_at": { "minLength": 1, "type": "string" } }, "required": [ "id", "node_id", "owner", "name", "description", "external_url", "html_url", "created_at", "updated_at" ], "type": "object" } } } } }, "/app/installations": { "get": { "parameters": [], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "access_tokens_url": { "minLength": 1, "type": "string" }, "account": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "hooks_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issues_url": { "minLength": 1, "type": "string" }, "login": { "minLength": 1, "type": "string" }, "members_url": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "public_members_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "login", "id", "node_id", "url", "repos_url", "events_url", "hooks_url", "issues_url", "members_url", "public_members_url", "avatar_url", "description" ], "type": "object" }, "app_id": { "type": "number" }, "events": { "items": { "properties": {} }, "type": "array" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "permissions": { "properties": { "contents": { "minLength": 1, "type": "string" }, "issues": { "minLength": 1, "type": "string" }, "metadata": { "minLength": 1, "type": "string" }, "single_file": { "minLength": 1, "type": "string" } }, "required": [ "metadata", "contents", "issues", "single_file" ], "type": "object" }, "repositories_url": { "minLength": 1, "type": "string" }, "repository_selection": { "minLength": 1, "type": "string" }, "single_file_name": { "minLength": 1, "type": "string" }, "target_id": { "type": "number" }, "target_type": { "minLength": 1, "type": "string" } }, "required": [ "id", "account", "access_tokens_url", "repositories_url", "html_url", "app_id", "target_id", "target_type", "permissions", "events", "single_file_name", "repository_selection" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/app/installations/{installation_id}": { "get": { "parameters": [ { "in": "path", "name": "installation_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "access_tokens_url": { "minLength": 1, "type": "string" }, "account": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "hooks_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issues_url": { "minLength": 1, "type": "string" }, "login": { "minLength": 1, "type": "string" }, "members_url": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "public_members_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "login", "id", "node_id", "url", "repos_url", "events_url", "hooks_url", "issues_url", "members_url", "public_members_url", "avatar_url", "description" ], "type": "object" }, "app_id": { "type": "number" }, "events": { "items": { "properties": {} }, "type": "array" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "permissions": { "properties": { "contents": { "minLength": 1, "type": "string" }, "issues": { "minLength": 1, "type": "string" }, "metadata": { "minLength": 1, "type": "string" }, "single_file": { "minLength": 1, "type": "string" } }, "required": [ "metadata", "contents", "issues", "single_file" ], "type": "object" }, "repositories_url": { "minLength": 1, "type": "string" }, "repository_selection": { "minLength": 1, "type": "string" }, "single_file_name": { "minLength": 1, "type": "string" }, "target_id": { "type": "number" }, "target_type": { "minLength": 1, "type": "string" } }, "required": [ "id", "account", "access_tokens_url", "repositories_url", "html_url", "app_id", "target_id", "target_type", "permissions", "events", "single_file_name", "repository_selection" ], "type": "object" } } } } }, "/app/installations/{installation_id}/access_tokens": { "post": { "parameters": [ { "in": "path", "name": "installation_id", "required": true, "type": "string" } ], "responses": { "201": { "description": "Created", "schema": { "description": "", "properties": { "expires_at": { "minLength": 1, "type": "string" }, "token": { "minLength": 1, "type": "string" } }, "required": [ "token", "expires_at" ], "type": "object" } } } } }, "/applications/{client_id}/grants/{access_token}": { "delete": { "parameters": [ { "in": "path", "name": "client_id", "required": true, "type": "string" }, { "in": "path", "name": "access_token", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } } }, "/applications/{client_id}/tokens/{access_token}": { "delete": { "parameters": [ { "in": "path", "name": "client_id", "required": true, "type": "string" }, { "in": "path", "name": "access_token", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "get": { "parameters": [ { "in": "path", "name": "client_id", "required": true, "type": "string" }, { "in": "path", "name": "access_token", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "app": { "properties": { "client_id": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "name", "client_id" ], "type": "object" }, "created_at": { "minLength": 1, "type": "string" }, "fingerprint": { "minLength": 1, "type": "string" }, "hashed_token": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "note": { "minLength": 1, "type": "string" }, "note_url": { "minLength": 1, "type": "string" }, "scopes": { "items": { "properties": {} }, "type": "array" }, "token": { "minLength": 1, "type": "string" }, "token_last_eight": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "id", "url", "scopes", "token", "token_last_eight", "hashed_token", "app", "note", "note_url", "updated_at", "created_at", "fingerprint", "user" ], "type": "object" } } } }, "post": { "parameters": [ { "in": "path", "name": "client_id", "required": true, "type": "string" }, { "in": "path", "name": "access_token", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "app": { "properties": { "client_id": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "name", "client_id" ], "type": "object" }, "created_at": { "minLength": 1, "type": "string" }, "fingerprint": { "minLength": 1, "type": "string" }, "hashed_token": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "note": { "minLength": 1, "type": "string" }, "note_url": { "minLength": 1, "type": "string" }, "scopes": { "items": { "properties": {} }, "type": "array" }, "token": { "minLength": 1, "type": "string" }, "token_last_eight": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "id", "url", "scopes", "token", "token_last_eight", "hashed_token", "app", "note", "note_url", "updated_at", "created_at", "fingerprint", "user" ], "type": "object" } } } } }, "/applications/grants": { "get": { "parameters": [], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "app": { "properties": { "client_id": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "name", "client_id" ], "type": "object" }, "created_at": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "scopes": { "items": { "properties": {} }, "type": "array" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "url", "app", "created_at", "updated_at", "scopes" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/applications/grants/{grant_id}": { "delete": { "parameters": [ { "in": "path", "name": "grant_id", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "get": { "parameters": [ { "in": "path", "name": "grant_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "app": { "properties": { "client_id": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "name", "client_id" ], "type": "object" }, "created_at": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "scopes": { "items": { "properties": {} }, "type": "array" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "url", "app", "created_at", "updated_at", "scopes" ], "type": "object" } } } } }, "/apps/{app_slug}": { "get": { "parameters": [ { "in": "path", "name": "app_slug", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "created_at": { "minLength": 1, "type": "string" }, "description": { "type": "string" }, "external_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "hooks_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issues_url": { "minLength": 1, "type": "string" }, "login": { "minLength": 1, "type": "string" }, "members_url": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "public_members_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "login", "id", "node_id", "url", "repos_url", "events_url", "hooks_url", "issues_url", "members_url", "public_members_url", "avatar_url", "description" ], "type": "object" }, "updated_at": { "minLength": 1, "type": "string" } }, "required": [ "id", "node_id", "owner", "name", "description", "external_url", "html_url", "created_at", "updated_at" ], "type": "object" } } } } }, "/authorizations": { "get": { "parameters": [], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "app": { "properties": { "client_id": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "name", "client_id" ], "type": "object" }, "created_at": { "minLength": 1, "type": "string" }, "fingerprint": { "minLength": 1, "type": "string" }, "hashed_token": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "note": { "minLength": 1, "type": "string" }, "note_url": { "minLength": 1, "type": "string" }, "scopes": { "items": { "properties": {} }, "type": "array" }, "token": { "type": "string" }, "token_last_eight": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "url", "scopes", "token", "token_last_eight", "hashed_token", "app", "note", "note_url", "updated_at", "created_at", "fingerprint" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } }, "post": { "parameters": [ { "in": "body", "name": "body", "schema": { "properties": { "client_id": { "type": "string" }, "client_secret": { "type": "string" }, "fingerprint": { "type": "string" }, "note": { "type": "string" }, "note_url": { "type": "string" }, "scopes": { "type": "array" } } } } ], "responses": { "201": { "description": "Created", "schema": { "description": "", "properties": { "app": { "properties": { "client_id": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "name", "client_id" ], "type": "object" }, "created_at": { "minLength": 1, "type": "string" }, "fingerprint": { "type": "string" }, "hashed_token": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "note": { "minLength": 1, "type": "string" }, "note_url": { "minLength": 1, "type": "string" }, "scopes": { "items": { "properties": {} }, "type": "array" }, "token": { "minLength": 1, "type": "string" }, "token_last_eight": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "url", "scopes", "token", "token_last_eight", "hashed_token", "app", "note", "note_url", "updated_at", "created_at", "fingerprint" ], "type": "object" } } } } }, "/authorizations/{authorization_id}": { "delete": { "parameters": [ { "in": "path", "name": "authorization_id", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "get": { "parameters": [ { "in": "path", "name": "authorization_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "app": { "properties": { "client_id": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "name", "client_id" ], "type": "object" }, "created_at": { "minLength": 1, "type": "string" }, "fingerprint": { "minLength": 1, "type": "string" }, "hashed_token": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "note": { "minLength": 1, "type": "string" }, "note_url": { "minLength": 1, "type": "string" }, "scopes": { "items": { "properties": {} }, "type": "array" }, "token": { "type": "string" }, "token_last_eight": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "url", "scopes", "token", "token_last_eight", "hashed_token", "app", "note", "note_url", "updated_at", "created_at", "fingerprint" ], "type": "object" } } } }, "patch": { "parameters": [ { "in": "body", "name": "body", "schema": { "properties": { "add_scopes": { "type": "array" }, "fingerprint": { "type": "string" }, "note": { "type": "string" }, "note_url": { "type": "string" }, "remove_scopes": { "type": "array" }, "scopes": { "type": "array" } } } }, { "in": "path", "name": "authorization_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "app": { "properties": { "client_id": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "name", "client_id" ], "type": "object" }, "created_at": { "minLength": 1, "type": "string" }, "fingerprint": { "minLength": 1, "type": "string" }, "hashed_token": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "note": { "minLength": 1, "type": "string" }, "note_url": { "minLength": 1, "type": "string" }, "scopes": { "items": { "properties": {} }, "type": "array" }, "token": { "type": "string" }, "token_last_eight": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "url", "scopes", "token", "token_last_eight", "hashed_token", "app", "note", "note_url", "updated_at", "created_at", "fingerprint" ], "type": "object" } } } } }, "/authorizations/clients/{client_id}": { "put": { "parameters": [ { "in": "body", "name": "body", "schema": { "properties": { "client_secret": { "type": "string" }, "fingerprint": { "type": "string" }, "note": { "type": "string" }, "note_url": { "type": "string" }, "scopes": { "type": "array" } } } }, { "in": "path", "name": "client_id", "required": true, "type": "string" } ], "responses": { "201": { "description": "Created", "schema": { "description": "", "properties": { "app": { "properties": { "client_id": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "name", "client_id" ], "type": "object" }, "created_at": { "minLength": 1, "type": "string" }, "fingerprint": { "type": "string" }, "hashed_token": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "note": { "minLength": 1, "type": "string" }, "note_url": { "minLength": 1, "type": "string" }, "scopes": { "items": { "properties": {} }, "type": "array" }, "token": { "minLength": 1, "type": "string" }, "token_last_eight": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "url", "scopes", "token", "token_last_eight", "hashed_token", "app", "note", "note_url", "updated_at", "created_at", "fingerprint" ], "type": "object" } } } } }, "/authorizations/clients/{client_id}/{fingerprint}": { "put": { "parameters": [ { "in": "body", "name": "body", "schema": { "properties": { "client_secret": { "type": "string" }, "note": { "type": "string" }, "note_url": { "type": "string" }, "scopes": { "type": "array" } } } }, { "in": "path", "name": "client_id", "required": true, "type": "string" }, { "in": "path", "name": "fingerprint", "required": true, "type": "string" } ], "responses": { "201": { "description": "Created", "schema": { "description": "", "properties": { "app": { "properties": { "client_id": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "name", "client_id" ], "type": "object" }, "created_at": { "minLength": 1, "type": "string" }, "fingerprint": { "minLength": 1, "type": "string" }, "hashed_token": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "note": { "minLength": 1, "type": "string" }, "note_url": { "minLength": 1, "type": "string" }, "scopes": { "items": { "properties": {} }, "type": "array" }, "token": { "minLength": 1, "type": "string" }, "token_last_eight": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "url", "scopes", "token", "token_last_eight", "hashed_token", "app", "note", "note_url", "updated_at", "created_at", "fingerprint" ], "type": "object" } } } } }, "/events": { "get": { "parameters": [], "responses": { "default": { "description": "Unknown" } } } }, "/feeds": { "get": { "parameters": [], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "_links": { "properties": { "current_user": { "properties": { "href": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" } }, "required": [ "href", "type" ], "type": "object" }, "current_user_actor": { "properties": { "href": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" } }, "required": [ "href", "type" ], "type": "object" }, "current_user_organization": { "properties": { "href": { "type": "string" }, "type": { "type": "string" } }, "required": [ "href", "type" ], "type": "object" }, "current_user_organizations": { "items": { "properties": { "href": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" } }, "required": [ "href", "type" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "current_user_public": { "properties": { "href": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" } }, "required": [ "href", "type" ], "type": "object" }, "security_advisories": { "properties": { "href": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" } }, "required": [ "href", "type" ], "type": "object" }, "timeline": { "properties": { "href": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" } }, "required": [ "href", "type" ], "type": "object" }, "user": { "properties": { "href": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" } }, "required": [ "href", "type" ], "type": "object" } }, "required": [ "timeline", "user", "current_user_public", "current_user", "current_user_actor", "current_user_organization", "current_user_organizations", "security_advisories" ], "type": "object" }, "current_user_actor_url": { "minLength": 1, "type": "string" }, "current_user_organization_url": { "type": "string" }, "current_user_organization_urls": { "items": { "properties": {} }, "type": "array" }, "current_user_public_url": { "minLength": 1, "type": "string" }, "current_user_url": { "minLength": 1, "type": "string" }, "security_advisories_url": { "minLength": 1, "type": "string" }, "timeline_url": { "minLength": 1, "type": "string" }, "user_url": { "minLength": 1, "type": "string" } }, "required": [ "timeline_url", "user_url", "current_user_public_url", "current_user_url", "current_user_actor_url", "current_user_organization_url", "current_user_organization_urls", "security_advisories_url", "_links" ], "type": "object" } } } } }, "/gists": { "post": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "description": { "minLength": 1, "type": "string" }, "files": { "properties": { "hello_world_python.txt": { "properties": { "content": { "minLength": 1, "type": "string" } }, "required": [ "content" ], "type": "object" }, "hello_world_ruby.txt": { "properties": { "content": { "minLength": 1, "type": "string" } }, "required": [ "content" ], "type": "object" }, "hello_world.py": { "properties": { "content": { "minLength": 1, "type": "string" } }, "required": [ "content" ], "type": "object" }, "hello_world.rb": { "properties": { "content": { "minLength": 1, "type": "string" } }, "required": [ "content" ], "type": "object" } }, "required": [ "hello_world.rb", "hello_world.py", "hello_world_ruby.txt", "hello_world_python.txt" ], "type": "object" }, "public": { "type": "boolean" } }, "required": [ "description", "public", "files" ], "type": "object" } } ], "responses": { "201": { "description": "Created", "schema": { "description": "", "properties": { "comments": { "type": "number" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "files": { "properties": { "hello_world_python.txt": { "properties": { "content": { "minLength": 1, "type": "string" }, "filename": { "minLength": 1, "type": "string" }, "language": { "minLength": 1, "type": "string" }, "raw_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "truncated": { "type": "boolean" }, "type": { "minLength": 1, "type": "string" } }, "required": [ "filename", "type", "language", "raw_url", "size", "truncated", "content" ], "type": "object" }, "hello_world_ruby.txt": { "properties": { "content": { "minLength": 1, "type": "string" }, "filename": { "minLength": 1, "type": "string" }, "language": { "minLength": 1, "type": "string" }, "raw_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "truncated": { "type": "boolean" }, "type": { "minLength": 1, "type": "string" } }, "required": [ "filename", "type", "language", "raw_url", "size", "truncated", "content" ], "type": "object" }, "hello_world.py": { "properties": { "content": { "minLength": 1, "type": "string" }, "filename": { "minLength": 1, "type": "string" }, "language": { "minLength": 1, "type": "string" }, "raw_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "truncated": { "type": "boolean" }, "type": { "minLength": 1, "type": "string" } }, "required": [ "filename", "type", "language", "raw_url", "size", "truncated", "content" ], "type": "object" }, "hello_world.rb": { "properties": { "content": { "minLength": 1, "type": "string" }, "filename": { "minLength": 1, "type": "string" }, "language": { "minLength": 1, "type": "string" }, "raw_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "truncated": { "type": "boolean" }, "type": { "minLength": 1, "type": "string" } }, "required": [ "filename", "type", "language", "raw_url", "size", "truncated", "content" ], "type": "object" } }, "required": [ "hello_world.rb", "hello_world.py", "hello_world_ruby.txt", "hello_world_python.txt" ], "type": "object" }, "forks": { "items": { "properties": { "created_at": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "url", "id", "created_at", "updated_at" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "forks_url": { "minLength": 1, "type": "string" }, "git_pull_url": { "minLength": 1, "type": "string" }, "git_push_url": { "minLength": 1, "type": "string" }, "history": { "items": { "properties": { "change_status": { "properties": { "additions": { "type": "number" }, "deletions": { "type": "number" }, "total": { "type": "number" } }, "required": [ "deletions", "additions", "total" ], "type": "object" }, "committed_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "version": { "minLength": 1, "type": "string" } }, "required": [ "url", "version", "committed_at" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "html_url": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "public": { "type": "boolean" }, "truncated": { "type": "boolean" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": {} }, "required": [ "url", "forks_url", "commits_url", "id", "node_id", "git_pull_url", "git_push_url", "html_url", "files", "public", "created_at", "updated_at", "description", "comments", "comments_url", "owner", "truncated", "forks", "history" ], "type": "object" } } } } }, "/gists/{gist_id}": { "delete": { "parameters": [ { "in": "path", "name": "gist_id", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "get": { "parameters": [ { "in": "path", "name": "gist_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "comments": { "type": "number" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "files": { "properties": { "hello_world_python.txt": { "properties": { "content": { "minLength": 1, "type": "string" }, "filename": { "minLength": 1, "type": "string" }, "language": { "minLength": 1, "type": "string" }, "raw_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "truncated": { "type": "boolean" }, "type": { "minLength": 1, "type": "string" } }, "required": [ "filename", "type", "language", "raw_url", "size", "truncated", "content" ], "type": "object" }, "hello_world_ruby.txt": { "properties": { "content": { "minLength": 1, "type": "string" }, "filename": { "minLength": 1, "type": "string" }, "language": { "minLength": 1, "type": "string" }, "raw_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "truncated": { "type": "boolean" }, "type": { "minLength": 1, "type": "string" } }, "required": [ "filename", "type", "language", "raw_url", "size", "truncated", "content" ], "type": "object" }, "hello_world.py": { "properties": { "content": { "minLength": 1, "type": "string" }, "filename": { "minLength": 1, "type": "string" }, "language": { "minLength": 1, "type": "string" }, "raw_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "truncated": { "type": "boolean" }, "type": { "minLength": 1, "type": "string" } }, "required": [ "filename", "type", "language", "raw_url", "size", "truncated", "content" ], "type": "object" }, "hello_world.rb": { "properties": { "content": { "minLength": 1, "type": "string" }, "filename": { "minLength": 1, "type": "string" }, "language": { "minLength": 1, "type": "string" }, "raw_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "truncated": { "type": "boolean" }, "type": { "minLength": 1, "type": "string" } }, "required": [ "filename", "type", "language", "raw_url", "size", "truncated", "content" ], "type": "object" } }, "required": [ "hello_world.rb", "hello_world.py", "hello_world_ruby.txt", "hello_world_python.txt" ], "type": "object" }, "forks": { "items": { "properties": { "created_at": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "url", "id", "created_at", "updated_at" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "forks_url": { "minLength": 1, "type": "string" }, "git_pull_url": { "minLength": 1, "type": "string" }, "git_push_url": { "minLength": 1, "type": "string" }, "history": { "items": { "properties": { "change_status": { "properties": { "additions": { "type": "number" }, "deletions": { "type": "number" }, "total": { "type": "number" } }, "required": [ "deletions", "additions", "total" ], "type": "object" }, "committed_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "version": { "minLength": 1, "type": "string" } }, "required": [ "url", "version", "committed_at" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "html_url": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "public": { "type": "boolean" }, "truncated": { "type": "boolean" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": {} }, "required": [ "url", "forks_url", "commits_url", "id", "node_id", "git_pull_url", "git_push_url", "html_url", "files", "public", "created_at", "updated_at", "description", "comments", "comments_url", "owner", "truncated", "forks", "history" ], "type": "object" } } } }, "patch": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "description": { "minLength": 1, "type": "string" }, "files": { "properties": { "hello_world_python.txt": {}, "hello_world_ruby.txt": { "properties": { "content": { "minLength": 1, "type": "string" }, "filename": { "minLength": 1, "type": "string" } }, "required": [ "content", "filename" ], "type": "object" }, "new_file.txt": { "properties": { "content": { "minLength": 1, "type": "string" } }, "required": [ "content" ], "type": "object" } }, "required": [ "hello_world_ruby.txt", "new_file.txt" ], "type": "object" } }, "required": [ "description", "files" ], "type": "object" } }, { "in": "path", "name": "gist_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "comments": { "type": "number" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "files": { "properties": { "hello_world.md": { "properties": { "content": { "minLength": 1, "type": "string" }, "filename": { "minLength": 1, "type": "string" }, "language": { "minLength": 1, "type": "string" }, "raw_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "truncated": { "type": "boolean" }, "type": { "minLength": 1, "type": "string" } }, "required": [ "filename", "type", "language", "raw_url", "size", "truncated", "content" ], "type": "object" }, "hello_world.py": { "properties": { "content": { "minLength": 1, "type": "string" }, "filename": { "minLength": 1, "type": "string" }, "language": { "minLength": 1, "type": "string" }, "raw_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "truncated": { "type": "boolean" }, "type": { "minLength": 1, "type": "string" } }, "required": [ "filename", "type", "language", "raw_url", "size", "truncated", "content" ], "type": "object" }, "hello_world.rb": { "properties": { "content": { "minLength": 1, "type": "string" }, "filename": { "minLength": 1, "type": "string" }, "language": { "minLength": 1, "type": "string" }, "raw_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "truncated": { "type": "boolean" }, "type": { "minLength": 1, "type": "string" } }, "required": [ "filename", "type", "language", "raw_url", "size", "truncated", "content" ], "type": "object" }, "new_file.txt": { "properties": { "content": { "minLength": 1, "type": "string" }, "filename": { "minLength": 1, "type": "string" }, "language": { "minLength": 1, "type": "string" }, "raw_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "truncated": { "type": "boolean" }, "type": { "minLength": 1, "type": "string" } }, "required": [ "filename", "type", "language", "raw_url", "size", "truncated", "content" ], "type": "object" } }, "required": [ "hello_world.rb", "hello_world.py", "hello_world.md", "new_file.txt" ], "type": "object" }, "forks": { "items": { "properties": { "created_at": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "url", "id", "created_at", "updated_at" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "forks_url": { "minLength": 1, "type": "string" }, "git_pull_url": { "minLength": 1, "type": "string" }, "git_push_url": { "minLength": 1, "type": "string" }, "history": { "items": { "properties": { "change_status": { "properties": { "additions": { "type": "number" }, "deletions": { "type": "number" }, "total": { "type": "number" } }, "required": [ "deletions", "additions", "total" ], "type": "object" }, "committed_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "version": { "minLength": 1, "type": "string" } }, "required": [ "url", "version", "committed_at" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "html_url": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "public": { "type": "boolean" }, "truncated": { "type": "boolean" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": {} }, "required": [ "url", "forks_url", "commits_url", "id", "node_id", "git_pull_url", "git_push_url", "html_url", "files", "public", "created_at", "updated_at", "description", "comments", "comments_url", "owner", "truncated", "forks", "history" ], "type": "object" } } } } }, "/gists/{gist_id}/{sha}": { "get": { "parameters": [ { "in": "path", "name": "gist_id", "required": true, "type": "string" }, { "in": "path", "name": "sha", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "comments": { "type": "number" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "files": { "properties": { "hello_world_python.txt": { "properties": { "content": { "minLength": 1, "type": "string" }, "filename": { "minLength": 1, "type": "string" }, "language": { "minLength": 1, "type": "string" }, "raw_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "truncated": { "type": "boolean" }, "type": { "minLength": 1, "type": "string" } }, "required": [ "filename", "type", "language", "raw_url", "size", "truncated", "content" ], "type": "object" }, "hello_world_ruby.txt": { "properties": { "content": { "minLength": 1, "type": "string" }, "filename": { "minLength": 1, "type": "string" }, "language": { "minLength": 1, "type": "string" }, "raw_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "truncated": { "type": "boolean" }, "type": { "minLength": 1, "type": "string" } }, "required": [ "filename", "type", "language", "raw_url", "size", "truncated", "content" ], "type": "object" }, "hello_world.py": { "properties": { "content": { "minLength": 1, "type": "string" }, "filename": { "minLength": 1, "type": "string" }, "language": { "minLength": 1, "type": "string" }, "raw_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "truncated": { "type": "boolean" }, "type": { "minLength": 1, "type": "string" } }, "required": [ "filename", "type", "language", "raw_url", "size", "truncated", "content" ], "type": "object" }, "hello_world.rb": { "properties": { "content": { "minLength": 1, "type": "string" }, "filename": { "minLength": 1, "type": "string" }, "language": { "minLength": 1, "type": "string" }, "raw_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "truncated": { "type": "boolean" }, "type": { "minLength": 1, "type": "string" } }, "required": [ "filename", "type", "language", "raw_url", "size", "truncated", "content" ], "type": "object" } }, "required": [ "hello_world.rb", "hello_world.py", "hello_world_ruby.txt", "hello_world_python.txt" ], "type": "object" }, "forks": { "items": { "properties": { "created_at": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "url", "id", "created_at", "updated_at" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "forks_url": { "minLength": 1, "type": "string" }, "git_pull_url": { "minLength": 1, "type": "string" }, "git_push_url": { "minLength": 1, "type": "string" }, "history": { "items": { "properties": { "change_status": { "properties": { "additions": { "type": "number" }, "deletions": { "type": "number" }, "total": { "type": "number" } }, "required": [ "deletions", "additions", "total" ], "type": "object" }, "committed_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "version": { "minLength": 1, "type": "string" } }, "required": [ "url", "version", "committed_at" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "html_url": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "public": { "type": "boolean" }, "truncated": { "type": "boolean" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": {} }, "required": [ "url", "forks_url", "commits_url", "id", "node_id", "git_pull_url", "git_push_url", "html_url", "files", "public", "created_at", "updated_at", "description", "comments", "comments_url", "owner", "truncated", "forks", "history" ], "type": "object" } } } } }, "/gists/{gist_id}/comments": { "get": { "parameters": [ { "in": "path", "name": "gist_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "body": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "id", "node_id", "url", "body", "user", "created_at", "updated_at" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } }, "post": { "parameters": [ { "in": "body", "name": "body", "schema": { "properties": { "body": { "type": "string" } } } }, { "in": "path", "name": "gist_id", "required": true, "type": "string" } ], "responses": { "201": { "description": "Created", "schema": { "description": "", "properties": { "body": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "id", "node_id", "url", "body", "user", "created_at", "updated_at" ], "type": "object" } } } } }, "/gists/{gist_id}/comments/{comment_id}": { "delete": { "parameters": [ { "in": "path", "name": "gist_id", "required": true, "type": "string" }, { "in": "path", "name": "comment_id", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "get": { "parameters": [ { "in": "path", "name": "gist_id", "required": true, "type": "string" }, { "in": "path", "name": "comment_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "body": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "id", "node_id", "url", "body", "user", "created_at", "updated_at" ], "type": "object" } } } }, "patch": { "parameters": [ { "in": "path", "name": "gist_id", "required": true, "type": "string" }, { "in": "path", "name": "comment_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "body": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "id", "node_id", "url", "body", "user", "created_at", "updated_at" ], "type": "object" } } } } }, "/gists/{gist_id}/commits": { "get": { "parameters": [ { "in": "path", "name": "gist_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "change_status": { "properties": { "additions": { "type": "number" }, "deletions": { "type": "number" }, "total": { "type": "number" } }, "required": [ "deletions", "additions", "total" ], "type": "object" }, "committed_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "version": { "minLength": 1, "type": "string" } }, "required": [ "url", "version", "user", "change_status", "committed_at" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/gists/{gist_id}/forks": { "get": { "parameters": [ { "in": "path", "name": "gist_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "created_at": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "user", "url", "id", "created_at", "updated_at" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } }, "post": { "parameters": [ { "in": "path", "name": "gist_id", "required": true, "type": "string" } ], "responses": { "201": { "description": "Created", "schema": { "description": "", "properties": { "comments": { "type": "number" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "files": { "properties": { "hello_world.rb": { "properties": { "filename": { "minLength": 1, "type": "string" }, "language": { "minLength": 1, "type": "string" }, "raw_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "type": { "minLength": 1, "type": "string" } }, "required": [ "filename", "type", "language", "raw_url", "size" ], "type": "object" } }, "required": [ "hello_world.rb" ], "type": "object" }, "forks_url": { "minLength": 1, "type": "string" }, "git_pull_url": { "minLength": 1, "type": "string" }, "git_push_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "public": { "type": "boolean" }, "truncated": { "type": "boolean" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": {} }, "required": [ "url", "forks_url", "commits_url", "id", "node_id", "git_pull_url", "git_push_url", "html_url", "files", "public", "created_at", "updated_at", "description", "comments", "comments_url", "owner", "truncated" ], "type": "object" } } } } }, "/gists/{gist_id}/star": { "delete": { "parameters": [ { "in": "path", "name": "gist_id", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "get": { "parameters": [ { "in": "path", "name": "gist_id", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "put": { "parameters": [ { "in": "path", "name": "gist_id", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } } }, "/gists/public": { "get": { "parameters": [ { "description": "This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. Only gists updated at or after this time are returned.", "in": "query", "name": "since", "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "comments": { "type": "number" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "files": { "properties": { "hello_world.rb": { "properties": { "filename": { "minLength": 1, "type": "string" }, "language": { "minLength": 1, "type": "string" }, "raw_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "type": { "minLength": 1, "type": "string" } }, "required": [ "filename", "type", "language", "raw_url", "size" ], "type": "object" } }, "required": [ "hello_world.rb" ], "type": "object" }, "forks_url": { "minLength": 1, "type": "string" }, "git_pull_url": { "minLength": 1, "type": "string" }, "git_push_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "public": { "type": "boolean" }, "truncated": { "type": "boolean" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": {} }, "required": [ "url", "forks_url", "commits_url", "id", "node_id", "git_pull_url", "git_push_url", "html_url", "files", "public", "created_at", "updated_at", "description", "comments", "comments_url", "owner", "truncated" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/gists/starred": { "get": { "parameters": [ { "description": "This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. Only gists updated at or after this time are returned.", "in": "query", "name": "since", "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "comments": { "type": "number" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "files": { "properties": { "hello_world.rb": { "properties": { "filename": { "minLength": 1, "type": "string" }, "language": { "minLength": 1, "type": "string" }, "raw_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "type": { "minLength": 1, "type": "string" } }, "required": [ "filename", "type", "language", "raw_url", "size" ], "type": "object" } }, "required": [ "hello_world.rb" ], "type": "object" }, "forks_url": { "minLength": 1, "type": "string" }, "git_pull_url": { "minLength": 1, "type": "string" }, "git_push_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "public": { "type": "boolean" }, "truncated": { "type": "boolean" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": {} }, "required": [ "url", "forks_url", "commits_url", "id", "node_id", "git_pull_url", "git_push_url", "html_url", "files", "public", "created_at", "updated_at", "description", "comments", "comments_url", "owner", "truncated" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/gitignore/templates": { "get": { "parameters": [], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": {}, "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/gitignore/templates/{name}": { "get": { "parameters": [ { "in": "path", "name": "name", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "name": { "minLength": 1, "type": "string" }, "source": { "minLength": 1, "type": "string" } }, "required": [ "name", "source" ], "type": "object" } } } } }, "/installation/repositories": { "get": { "parameters": [], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "repositories": { "items": { "properties": { "allow_merge_commit": { "type": "boolean" }, "allow_rebase_merge": { "type": "boolean" }, "allow_squash_merge": { "type": "boolean" }, "archive_url": { "minLength": 1, "type": "string" }, "archived": { "type": "boolean" }, "assignees_url": { "minLength": 1, "type": "string" }, "blobs_url": { "minLength": 1, "type": "string" }, "branches_url": { "minLength": 1, "type": "string" }, "clone_url": { "minLength": 1, "type": "string" }, "collaborators_url": { "minLength": 1, "type": "string" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "compare_url": { "minLength": 1, "type": "string" }, "contents_url": { "minLength": 1, "type": "string" }, "contributors_url": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "default_branch": { "minLength": 1, "type": "string" }, "deployments_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "downloads_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "fork": { "type": "boolean" }, "forks_count": { "type": "number" }, "forks_url": { "minLength": 1, "type": "string" }, "full_name": { "minLength": 1, "type": "string" }, "git_commits_url": { "minLength": 1, "type": "string" }, "git_refs_url": { "minLength": 1, "type": "string" }, "git_tags_url": { "minLength": 1, "type": "string" }, "git_url": { "minLength": 1, "type": "string" }, "has_downloads": { "type": "boolean" }, "has_issues": { "type": "boolean" }, "has_pages": { "type": "boolean" }, "has_projects": { "type": "boolean" }, "has_wiki": { "type": "boolean" }, "homepage": { "minLength": 1, "type": "string" }, "hooks_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issue_comment_url": { "minLength": 1, "type": "string" }, "issue_events_url": { "minLength": 1, "type": "string" }, "issues_url": { "minLength": 1, "type": "string" }, "keys_url": { "minLength": 1, "type": "string" }, "labels_url": { "minLength": 1, "type": "string" }, "language": {}, "languages_url": { "minLength": 1, "type": "string" }, "merges_url": { "minLength": 1, "type": "string" }, "milestones_url": { "minLength": 1, "type": "string" }, "mirror_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "network_count": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "notifications_url": { "minLength": 1, "type": "string" }, "open_issues_count": { "type": "number" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "private": { "type": "boolean" }, "pulls_url": { "minLength": 1, "type": "string" }, "pushed_at": { "minLength": 1, "type": "string" }, "releases_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "ssh_url": { "minLength": 1, "type": "string" }, "stargazers_count": { "type": "number" }, "stargazers_url": { "minLength": 1, "type": "string" }, "statuses_url": { "minLength": 1, "type": "string" }, "subscribers_count": { "type": "number" }, "subscribers_url": { "minLength": 1, "type": "string" }, "subscription_url": { "minLength": 1, "type": "string" }, "svn_url": { "minLength": 1, "type": "string" }, "tags_url": { "minLength": 1, "type": "string" }, "teams_url": { "minLength": 1, "type": "string" }, "topics": { "items": { "properties": {} }, "type": "array" }, "trees_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "watchers_count": { "type": "number" } }, "required": [ "id", "node_id", "name", "full_name", "private", "html_url", "description", "fork", "url", "archive_url", "assignees_url", "blobs_url", "branches_url", "collaborators_url", "comments_url", "commits_url", "compare_url", "contents_url", "contributors_url", "deployments_url", "downloads_url", "events_url", "forks_url", "git_commits_url", "git_refs_url", "git_tags_url", "git_url", "issue_comment_url", "issue_events_url", "issues_url", "keys_url", "labels_url", "languages_url", "merges_url", "milestones_url", "notifications_url", "pulls_url", "releases_url", "ssh_url", "stargazers_url", "statuses_url", "subscribers_url", "subscription_url", "tags_url", "teams_url", "trees_url", "clone_url", "mirror_url", "hooks_url", "svn_url", "homepage", "forks_count", "stargazers_count", "watchers_count", "size", "default_branch", "open_issues_count", "has_issues", "has_projects", "has_wiki", "has_pages", "has_downloads", "archived", "pushed_at", "created_at", "updated_at", "allow_rebase_merge", "allow_squash_merge", "allow_merge_commit", "subscribers_count", "network_count" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "total_count": { "type": "number" } }, "required": [ "total_count", "repositories" ], "type": "object" } } } } }, "/legacy/issues/search/{owner}/{repository}/{state}/{keyword}": { "get": { "parameters": [ { "description": "The search term.", "in": "path", "name": "keyword", "required": true, "type": "string" }, { "description": "Indicates the state of the issues to return. Can be either open or closed.", "in": "path", "name": "state", "required": true, "type": "string" }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repository", "required": true, "type": "string" } ], "responses": { "default": { "description": "Unknown" } } } }, "/legacy/repos/search/{keyword}": { "get": { "parameters": [ { "description": "The search term.", "in": "path", "name": "keyword", "required": true, "type": "string" }, { "description": "Filter results by language.", "in": "query", "name": "language", "type": "string" }, { "description": "The sort field. if sort param is provided. Can be either asc or desc.", "in": "query", "name": "order", "type": "string" }, { "description": "The sort field. One of stars, forks, or updated. Default: results are sorted by best match.", "in": "query", "name": "sort", "type": "string" }, { "description": "The page number to fetch.", "in": "query", "name": "start_page", "type": "string" } ], "responses": { "default": { "description": "Unknown" } } } }, "/legacy/user/email/{email}": { "get": { "parameters": [ { "description": "The email address.", "in": "path", "name": "email", "required": true, "type": "string" } ], "responses": { "default": { "description": "Unknown" } } } }, "/legacy/user/search/{keyword}": { "get": { "parameters": [ { "description": "The search term.", "in": "path", "name": "keyword", "required": true, "type": "string" }, { "description": "The sort field. if sort param is provided. Can be either asc or desc.", "in": "query", "name": "order", "type": "string" }, { "description": "The sort field. One of stars, forks, or updated. Default: results are sorted by best match.", "in": "query", "name": "sort", "type": "string" }, { "description": "The page number to fetch.", "in": "query", "name": "start_page", "type": "string" } ], "responses": { "default": { "description": "Unknown" } } } }, "/licenses": { "get": { "parameters": [], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "key": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "spdx_id": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "key", "name", "spdx_id", "url", "node_id" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/licenses/{license}": { "get": { "parameters": [ { "in": "path", "name": "license", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "body": { "minLength": 1, "type": "string" }, "conditions": { "items": { "properties": {} }, "type": "array" }, "description": { "minLength": 1, "type": "string" }, "featured": { "type": "boolean" }, "html_url": { "minLength": 1, "type": "string" }, "implementation": { "minLength": 1, "type": "string" }, "key": { "minLength": 1, "type": "string" }, "limitations": { "items": { "properties": {} }, "type": "array" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "permissions": { "items": { "properties": {} }, "type": "array" }, "spdx_id": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "key", "name", "spdx_id", "url", "node_id", "html_url", "description", "implementation", "permissions", "conditions", "limitations", "body", "featured" ], "type": "object" } } } } }, "/markdown": { "post": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "context": { "minLength": 1, "type": "string" }, "mode": { "minLength": 1, "type": "string" }, "text": { "minLength": 1, "type": "string" } }, "required": [ "text", "mode", "context" ], "type": "object" } } ], "responses": { "200": { "description": "OK" } } } }, "/markdown/raw": { "post": { "parameters": [], "responses": { "200": { "description": "OK" } } } }, "/marketplace_listing/accounts/{account_id}": { "get": { "parameters": [ { "in": "path", "name": "account_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "email": {}, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "marketplace_pending_change": { "properties": { "effective_date": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "plan": { "properties": { "accounts_url": { "minLength": 1, "type": "string" }, "bullets": { "items": { "properties": {} }, "type": "array" }, "description": { "minLength": 1, "type": "string" }, "has_free_trial": { "type": "boolean" }, "id": { "type": "number" }, "monthly_price_in_cents": { "type": "number" }, "name": { "minLength": 1, "type": "string" }, "number": { "type": "number" }, "price_model": { "minLength": 1, "type": "string" }, "state": { "minLength": 1, "type": "string" }, "unit_name": {}, "url": { "minLength": 1, "type": "string" }, "yearly_price_in_cents": { "type": "number" } }, "required": [ "url", "accounts_url", "id", "number", "name", "description", "monthly_price_in_cents", "yearly_price_in_cents", "price_model", "has_free_trial", "state", "bullets" ], "type": "object" }, "unit_count": {} }, "required": [ "effective_date", "id", "plan" ], "type": "object" }, "marketplace_purchase": { "properties": { "billing_cycle": { "minLength": 1, "type": "string" }, "free_trial_ends_on": { "minLength": 1, "type": "string" }, "next_billing_date": { "minLength": 1, "type": "string" }, "on_free_trial": { "type": "boolean" }, "plan": { "properties": { "accounts_url": { "minLength": 1, "type": "string" }, "bullets": { "items": { "properties": {} }, "type": "array" }, "description": { "minLength": 1, "type": "string" }, "has_free_trial": { "type": "boolean" }, "id": { "type": "number" }, "monthly_price_in_cents": { "type": "number" }, "name": { "minLength": 1, "type": "string" }, "number": { "type": "number" }, "price_model": { "minLength": 1, "type": "string" }, "state": { "minLength": 1, "type": "string" }, "unit_name": {}, "url": { "minLength": 1, "type": "string" }, "yearly_price_in_cents": { "type": "number" } }, "required": [ "url", "accounts_url", "id", "number", "name", "description", "monthly_price_in_cents", "yearly_price_in_cents", "price_model", "has_free_trial", "state", "bullets" ], "type": "object" }, "unit_count": {}, "updated_at": { "minLength": 1, "type": "string" } }, "required": [ "billing_cycle", "next_billing_date", "on_free_trial", "free_trial_ends_on", "updated_at", "plan" ], "type": "object" }, "organization_billing_email": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "type", "id", "login", "organization_billing_email", "marketplace_pending_change", "marketplace_purchase" ], "type": "object" } } } } }, "/marketplace_listing/plans": { "get": { "parameters": [], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "accounts_url": { "minLength": 1, "type": "string" }, "bullets": { "items": { "properties": {} }, "type": "array" }, "description": { "minLength": 1, "type": "string" }, "has_free_trial": { "type": "boolean" }, "id": { "type": "number" }, "monthly_price_in_cents": { "type": "number" }, "name": { "minLength": 1, "type": "string" }, "number": { "type": "number" }, "price_model": { "minLength": 1, "type": "string" }, "state": { "minLength": 1, "type": "string" }, "unit_name": {}, "url": { "minLength": 1, "type": "string" }, "yearly_price_in_cents": { "type": "number" } }, "required": [ "url", "accounts_url", "id", "number", "name", "description", "monthly_price_in_cents", "yearly_price_in_cents", "price_model", "has_free_trial", "state", "bullets" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/marketplace_listing/plans/{plan_id}/accounts": { "get": { "parameters": [ { "description": "To return the oldest accounts first, set to asc. Can be one of asc or desc. Ignored without the sort parameter.", "in": "query", "name": "direction", "type": "string" }, { "description": "Sorts the GitHub accounts by the date they were created or last updated. Can be one of created or updated. Default: created", "in": "query", "name": "sort", "type": "string" }, { "in": "path", "name": "plan_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "email": {}, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "marketplace_pending_change": { "properties": { "effective_date": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "plan": { "properties": { "accounts_url": { "minLength": 1, "type": "string" }, "bullets": { "items": { "properties": {} }, "type": "array" }, "description": { "minLength": 1, "type": "string" }, "has_free_trial": { "type": "boolean" }, "id": { "type": "number" }, "monthly_price_in_cents": { "type": "number" }, "name": { "minLength": 1, "type": "string" }, "number": { "type": "number" }, "price_model": { "minLength": 1, "type": "string" }, "state": { "minLength": 1, "type": "string" }, "unit_name": {}, "url": { "minLength": 1, "type": "string" }, "yearly_price_in_cents": { "type": "number" } }, "required": [ "url", "accounts_url", "id", "number", "name", "description", "monthly_price_in_cents", "yearly_price_in_cents", "price_model", "has_free_trial", "state", "bullets" ], "type": "object" }, "unit_count": {} }, "required": [ "effective_date", "id", "plan" ], "type": "object" }, "marketplace_purchase": { "properties": { "billing_cycle": { "minLength": 1, "type": "string" }, "free_trial_ends_on": { "minLength": 1, "type": "string" }, "next_billing_date": { "minLength": 1, "type": "string" }, "on_free_trial": { "type": "boolean" }, "plan": { "properties": { "accounts_url": { "minLength": 1, "type": "string" }, "bullets": { "items": { "properties": {} }, "type": "array" }, "description": { "minLength": 1, "type": "string" }, "has_free_trial": { "type": "boolean" }, "id": { "type": "number" }, "monthly_price_in_cents": { "type": "number" }, "name": { "minLength": 1, "type": "string" }, "number": { "type": "number" }, "price_model": { "minLength": 1, "type": "string" }, "state": { "minLength": 1, "type": "string" }, "unit_name": {}, "url": { "minLength": 1, "type": "string" }, "yearly_price_in_cents": { "type": "number" } }, "required": [ "url", "accounts_url", "id", "number", "name", "description", "monthly_price_in_cents", "yearly_price_in_cents", "price_model", "has_free_trial", "state", "bullets" ], "type": "object" }, "unit_count": {}, "updated_at": { "minLength": 1, "type": "string" } }, "required": [ "billing_cycle", "next_billing_date", "on_free_trial", "free_trial_ends_on", "updated_at", "plan" ], "type": "object" }, "organization_billing_email": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "type", "id", "login", "organization_billing_email", "marketplace_pending_change", "marketplace_purchase" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/networks/{owner}/{repo}/events": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "default": { "description": "Unknown" } } } }, "/notifications": { "get": { "parameters": [ { "description": "If true, show notifications marked as read. Default: false", "in": "query", "name": "all", "type": "boolean" }, { "description": "Only show notifications updated before the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.", "in": "query", "name": "before", "type": "string" }, { "in": "body", "name": "body", "schema": { "description": "", "items": { "properties": { "id": { "minLength": 1, "type": "string" }, "last_read_at": { "minLength": 1, "type": "string" }, "reason": { "minLength": 1, "type": "string" }, "repository": { "properties": { "archive_url": { "minLength": 1, "type": "string" }, "assignees_url": { "minLength": 1, "type": "string" }, "blobs_url": { "minLength": 1, "type": "string" }, "branches_url": { "minLength": 1, "type": "string" }, "collaborators_url": { "minLength": 1, "type": "string" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "compare_url": { "minLength": 1, "type": "string" }, "contents_url": { "minLength": 1, "type": "string" }, "contributors_url": { "minLength": 1, "type": "string" }, "deployments_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "downloads_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "fork": { "type": "boolean" }, "forks_url": { "minLength": 1, "type": "string" }, "full_name": { "minLength": 1, "type": "string" }, "git_commits_url": { "minLength": 1, "type": "string" }, "git_refs_url": { "minLength": 1, "type": "string" }, "git_tags_url": { "minLength": 1, "type": "string" }, "git_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issue_comment_url": { "minLength": 1, "type": "string" }, "issue_events_url": { "minLength": 1, "type": "string" }, "issues_url": { "minLength": 1, "type": "string" }, "keys_url": { "minLength": 1, "type": "string" }, "labels_url": { "minLength": 1, "type": "string" }, "languages_url": { "minLength": 1, "type": "string" }, "merges_url": { "minLength": 1, "type": "string" }, "milestones_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "notifications_url": { "minLength": 1, "type": "string" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "private": { "type": "boolean" }, "pulls_url": { "minLength": 1, "type": "string" }, "releases_url": { "minLength": 1, "type": "string" }, "ssh_url": { "minLength": 1, "type": "string" }, "stargazers_url": { "minLength": 1, "type": "string" }, "statuses_url": { "minLength": 1, "type": "string" }, "subscribers_url": { "minLength": 1, "type": "string" }, "subscription_url": { "minLength": 1, "type": "string" }, "tags_url": { "minLength": 1, "type": "string" }, "teams_url": { "minLength": 1, "type": "string" }, "trees_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "node_id", "name", "full_name", "owner", "private", "html_url", "description", "fork", "url", "archive_url", "assignees_url", "blobs_url", "branches_url", "collaborators_url", "comments_url", "commits_url", "compare_url", "contents_url", "contributors_url", "deployments_url", "downloads_url", "events_url", "forks_url", "git_commits_url", "git_refs_url", "git_tags_url", "git_url", "issue_comment_url", "issue_events_url", "issues_url", "keys_url", "labels_url", "languages_url", "merges_url", "milestones_url", "notifications_url", "pulls_url", "releases_url", "ssh_url", "stargazers_url", "statuses_url", "subscribers_url", "subscription_url", "tags_url", "teams_url", "trees_url" ], "type": "object" }, "subject": { "properties": { "latest_comment_url": { "minLength": 1, "type": "string" }, "title": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "title", "url", "latest_comment_url", "type" ], "type": "object" }, "unread": { "type": "boolean" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "repository", "subject", "reason", "unread", "updated_at", "last_read_at", "url" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } }, { "description": "If true, only shows notifications in which the user is directly participating or mentioned. Default: false", "in": "query", "name": "participating", "type": "boolean" }, { "description": "Only show notifications updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.", "in": "query", "name": "since", "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "id": { "minLength": 1, "type": "string" }, "last_read_at": { "minLength": 1, "type": "string" }, "reason": { "minLength": 1, "type": "string" }, "repository": { "properties": { "archive_url": { "minLength": 1, "type": "string" }, "assignees_url": { "minLength": 1, "type": "string" }, "blobs_url": { "minLength": 1, "type": "string" }, "branches_url": { "minLength": 1, "type": "string" }, "collaborators_url": { "minLength": 1, "type": "string" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "compare_url": { "minLength": 1, "type": "string" }, "contents_url": { "minLength": 1, "type": "string" }, "contributors_url": { "minLength": 1, "type": "string" }, "deployments_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "downloads_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "fork": { "type": "boolean" }, "forks_url": { "minLength": 1, "type": "string" }, "full_name": { "minLength": 1, "type": "string" }, "git_commits_url": { "minLength": 1, "type": "string" }, "git_refs_url": { "minLength": 1, "type": "string" }, "git_tags_url": { "minLength": 1, "type": "string" }, "git_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issue_comment_url": { "minLength": 1, "type": "string" }, "issue_events_url": { "minLength": 1, "type": "string" }, "issues_url": { "minLength": 1, "type": "string" }, "keys_url": { "minLength": 1, "type": "string" }, "labels_url": { "minLength": 1, "type": "string" }, "languages_url": { "minLength": 1, "type": "string" }, "merges_url": { "minLength": 1, "type": "string" }, "milestones_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "notifications_url": { "minLength": 1, "type": "string" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "private": { "type": "boolean" }, "pulls_url": { "minLength": 1, "type": "string" }, "releases_url": { "minLength": 1, "type": "string" }, "ssh_url": { "minLength": 1, "type": "string" }, "stargazers_url": { "minLength": 1, "type": "string" }, "statuses_url": { "minLength": 1, "type": "string" }, "subscribers_url": { "minLength": 1, "type": "string" }, "subscription_url": { "minLength": 1, "type": "string" }, "tags_url": { "minLength": 1, "type": "string" }, "teams_url": { "minLength": 1, "type": "string" }, "trees_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "node_id", "name", "full_name", "owner", "private", "html_url", "description", "fork", "url", "archive_url", "assignees_url", "blobs_url", "branches_url", "collaborators_url", "comments_url", "commits_url", "compare_url", "contents_url", "contributors_url", "deployments_url", "downloads_url", "events_url", "forks_url", "git_commits_url", "git_refs_url", "git_tags_url", "git_url", "issue_comment_url", "issue_events_url", "issues_url", "keys_url", "labels_url", "languages_url", "merges_url", "milestones_url", "notifications_url", "pulls_url", "releases_url", "ssh_url", "stargazers_url", "statuses_url", "subscribers_url", "subscription_url", "tags_url", "teams_url", "trees_url" ], "type": "object" }, "subject": { "properties": { "latest_comment_url": { "minLength": 1, "type": "string" }, "title": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "title", "url", "latest_comment_url", "type" ], "type": "object" }, "unread": { "type": "boolean" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "repository", "subject", "reason", "unread", "updated_at", "last_read_at", "url" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } }, "put": { "parameters": [ { "in": "body", "name": "body", "schema": { "properties": { "last_read_at": { "type": "string" } } } } ], "responses": { "205": { "description": "Reset Content" } } } }, "/notifications/threads/{thread_id}": { "get": { "parameters": [ { "in": "path", "name": "thread_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "id": { "minLength": 1, "type": "string" }, "last_read_at": { "minLength": 1, "type": "string" }, "reason": { "minLength": 1, "type": "string" }, "repository": { "properties": { "archive_url": { "minLength": 1, "type": "string" }, "assignees_url": { "minLength": 1, "type": "string" }, "blobs_url": { "minLength": 1, "type": "string" }, "branches_url": { "minLength": 1, "type": "string" }, "collaborators_url": { "minLength": 1, "type": "string" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "compare_url": { "minLength": 1, "type": "string" }, "contents_url": { "minLength": 1, "type": "string" }, "contributors_url": { "minLength": 1, "type": "string" }, "deployments_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "downloads_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "fork": { "type": "boolean" }, "forks_url": { "minLength": 1, "type": "string" }, "full_name": { "minLength": 1, "type": "string" }, "git_commits_url": { "minLength": 1, "type": "string" }, "git_refs_url": { "minLength": 1, "type": "string" }, "git_tags_url": { "minLength": 1, "type": "string" }, "git_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issue_comment_url": { "minLength": 1, "type": "string" }, "issue_events_url": { "minLength": 1, "type": "string" }, "issues_url": { "minLength": 1, "type": "string" }, "keys_url": { "minLength": 1, "type": "string" }, "labels_url": { "minLength": 1, "type": "string" }, "languages_url": { "minLength": 1, "type": "string" }, "merges_url": { "minLength": 1, "type": "string" }, "milestones_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "notifications_url": { "minLength": 1, "type": "string" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "private": { "type": "boolean" }, "pulls_url": { "minLength": 1, "type": "string" }, "releases_url": { "minLength": 1, "type": "string" }, "ssh_url": { "minLength": 1, "type": "string" }, "stargazers_url": { "minLength": 1, "type": "string" }, "statuses_url": { "minLength": 1, "type": "string" }, "subscribers_url": { "minLength": 1, "type": "string" }, "subscription_url": { "minLength": 1, "type": "string" }, "tags_url": { "minLength": 1, "type": "string" }, "teams_url": { "minLength": 1, "type": "string" }, "trees_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "node_id", "name", "full_name", "owner", "private", "html_url", "description", "fork", "url", "archive_url", "assignees_url", "blobs_url", "branches_url", "collaborators_url", "comments_url", "commits_url", "compare_url", "contents_url", "contributors_url", "deployments_url", "downloads_url", "events_url", "forks_url", "git_commits_url", "git_refs_url", "git_tags_url", "git_url", "issue_comment_url", "issue_events_url", "issues_url", "keys_url", "labels_url", "languages_url", "merges_url", "milestones_url", "notifications_url", "pulls_url", "releases_url", "ssh_url", "stargazers_url", "statuses_url", "subscribers_url", "subscription_url", "tags_url", "teams_url", "trees_url" ], "type": "object" }, "subject": { "properties": { "latest_comment_url": { "minLength": 1, "type": "string" }, "title": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "title", "url", "latest_comment_url", "type" ], "type": "object" }, "unread": { "type": "boolean" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "repository", "subject", "reason", "unread", "updated_at", "last_read_at", "url" ], "type": "object" } } } }, "patch": { "parameters": [ { "in": "path", "name": "thread_id", "required": true, "type": "string" } ], "responses": { "205": { "description": "Reset Content" } } } }, "/notifications/threads/{thread_id}/subscription": { "delete": { "parameters": [ { "in": "path", "name": "thread_id", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "get": { "parameters": [ { "in": "path", "name": "thread_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "created_at": { "minLength": 1, "type": "string" }, "ignored": { "type": "boolean" }, "reason": {}, "subscribed": { "type": "boolean" }, "thread_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "subscribed", "ignored", "created_at", "url", "thread_url" ], "type": "object" } } } }, "put": { "parameters": [ { "in": "body", "name": "body", "schema": { "properties": { "ignored": { "type": "boolean" } } } }, { "in": "path", "name": "thread_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "created_at": { "minLength": 1, "type": "string" }, "ignored": { "type": "boolean" }, "reason": {}, "subscribed": { "type": "boolean" }, "thread_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "subscribed", "ignored", "created_at", "url", "thread_url" ], "type": "object" } } } } }, "/organizations": { "get": { "parameters": [ { "description": "The integer ID of the last Organization that you've seen.", "in": "query", "name": "since", "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "hooks_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issues_url": { "minLength": 1, "type": "string" }, "login": { "minLength": 1, "type": "string" }, "members_url": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "public_members_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "login", "id", "node_id", "url", "repos_url", "events_url", "hooks_url", "issues_url", "members_url", "public_members_url", "avatar_url", "description" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/orgs/{org}/blocks": { "get": { "parameters": [ { "in": "path", "name": "org", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/orgs/{org}/blocks/{username}": { "delete": { "parameters": [ { "in": "path", "name": "org", "required": true, "type": "string" }, { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "get": { "parameters": [ { "in": "path", "name": "org", "required": true, "type": "string" }, { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "put": { "parameters": [ { "in": "path", "name": "org", "required": true, "type": "string" }, { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } } }, "/orgs/{org}/events": { "get": { "parameters": [ { "in": "path", "name": "org", "required": true, "type": "string" } ], "responses": { "default": { "description": "Unknown" } } } }, "/orgs/{org}/hooks": { "get": { "parameters": [ { "in": "path", "name": "org", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "active": { "type": "boolean" }, "config": { "properties": { "content_type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "content_type" ], "type": "object" }, "created_at": { "minLength": 1, "type": "string" }, "events": { "items": { "properties": {} }, "type": "array" }, "id": { "type": "number" }, "name": { "minLength": 1, "type": "string" }, "ping_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "url", "ping_url", "name", "events", "active", "config", "updated_at", "created_at" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } }, "post": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "active": { "type": "boolean" }, "config": { "properties": { "content_type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "content_type" ], "type": "object" }, "events": { "items": { "properties": {} }, "type": "array" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "name", "active", "events", "config" ], "type": "object" } }, { "in": "path", "name": "org", "required": true, "type": "string" } ], "responses": { "201": { "description": "Created", "schema": { "description": "", "properties": { "active": { "type": "boolean" }, "config": { "properties": { "content_type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "content_type" ], "type": "object" }, "created_at": { "minLength": 1, "type": "string" }, "events": { "items": { "properties": {} }, "type": "array" }, "id": { "type": "number" }, "name": { "minLength": 1, "type": "string" }, "ping_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "url", "ping_url", "name", "events", "active", "config", "updated_at", "created_at" ], "type": "object" } } } } }, "/orgs/{org}/hooks/{hook_id}": { "delete": { "parameters": [ { "in": "path", "name": "org", "required": true, "type": "string" }, { "in": "path", "name": "hook_id", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "get": { "parameters": [ { "in": "path", "name": "org", "required": true, "type": "string" }, { "in": "path", "name": "hook_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "active": { "type": "boolean" }, "config": { "properties": { "content_type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "content_type" ], "type": "object" }, "created_at": { "minLength": 1, "type": "string" }, "events": { "items": { "properties": {} }, "type": "array" }, "id": { "type": "number" }, "name": { "minLength": 1, "type": "string" }, "ping_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "url", "ping_url", "name", "events", "active", "config", "updated_at", "created_at" ], "type": "object" } } } }, "patch": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "active": { "type": "boolean" }, "config": { "type": "string" }, "events": { "items": { "properties": {} }, "type": "array" } }, "required": [ "active", "events" ], "type": "object" } }, { "in": "path", "name": "org", "required": true, "type": "string" }, { "in": "path", "name": "hook_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "active": { "type": "boolean" }, "config": { "properties": { "content_type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "content_type" ], "type": "object" }, "created_at": { "minLength": 1, "type": "string" }, "events": { "items": { "properties": {} }, "type": "array" }, "id": { "type": "number" }, "name": { "minLength": 1, "type": "string" }, "ping_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "url", "ping_url", "name", "events", "active", "config", "updated_at", "created_at" ], "type": "object" } } } } }, "/orgs/{org}/hooks/{hook_id}/pings": { "post": { "parameters": [ { "in": "path", "name": "org", "required": true, "type": "string" }, { "in": "path", "name": "hook_id", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } } }, "/orgs/{org}/installation": { "get": { "parameters": [ { "in": "path", "name": "org", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "access_tokens_url": { "minLength": 1, "type": "string" }, "account": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "login", "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" ], "type": "object" }, "app_id": { "type": "number" }, "created_at": { "minLength": 1, "type": "string" }, "events": { "items": { "properties": {} }, "type": "array" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "permissions": { "properties": { "checks": { "minLength": 1, "type": "string" }, "contents": { "minLength": 1, "type": "string" }, "metadata": { "minLength": 1, "type": "string" } }, "required": [ "checks", "metadata", "contents" ], "type": "object" }, "repositories_url": { "minLength": 1, "type": "string" }, "repository_selection": { "minLength": 1, "type": "string" }, "single_file_name": {}, "target_id": { "type": "number" }, "target_type": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" } }, "required": [ "id", "account", "repository_selection", "access_tokens_url", "repositories_url", "html_url", "app_id", "target_id", "target_type", "permissions", "events", "created_at", "updated_at" ], "type": "object" } } } } }, "/orgs/{org}/members": { "get": { "parameters": [ { "description": "Filter members returned in the list. Can be one of:* 2fa_disabled - Members without two-factor authentication enabled. Available for organization owners.* all - All members the authenticated user can see.Default: all", "in": "query", "name": "filter", "type": "string" }, { "description": "Filter members returned by their role. Can be one of:* all - All members of the organization, regardless of role.* admin - Organization owners.* member - Non-owner organization members. Default: all", "in": "query", "name": "role", "type": "string" }, { "in": "path", "name": "org", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/orgs/{org}/members/{username}": { "delete": { "parameters": [ { "in": "path", "name": "org", "required": true, "type": "string" }, { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "get": { "parameters": [ { "in": "path", "name": "org", "required": true, "type": "string" }, { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } } }, "/orgs/{org}/memberships/{username}": { "delete": { "parameters": [ { "in": "path", "name": "org", "required": true, "type": "string" }, { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "get": { "parameters": [ { "in": "path", "name": "org", "required": true, "type": "string" }, { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "organization": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "hooks_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issues_url": { "minLength": 1, "type": "string" }, "login": { "minLength": 1, "type": "string" }, "members_url": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "public_members_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "login", "id", "node_id", "url", "repos_url", "events_url", "hooks_url", "issues_url", "members_url", "public_members_url", "avatar_url", "description" ], "type": "object" }, "organization_url": { "minLength": 1, "type": "string" }, "role": { "minLength": 1, "type": "string" }, "state": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "url", "state", "role", "organization_url", "organization", "user" ], "type": "object" } } } }, "put": { "parameters": [ { "in": "body", "name": "body", "schema": { "properties": { "role": { "type": "string" } } } }, { "in": "path", "name": "org", "required": true, "type": "string" }, { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "organization": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "hooks_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issues_url": { "minLength": 1, "type": "string" }, "login": { "minLength": 1, "type": "string" }, "members_url": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "public_members_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "login", "id", "node_id", "url", "repos_url", "events_url", "hooks_url", "issues_url", "members_url", "public_members_url", "avatar_url", "description" ], "type": "object" }, "organization_url": { "minLength": 1, "type": "string" }, "role": { "minLength": 1, "type": "string" }, "state": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "url", "state", "role", "organization_url", "organization", "user" ], "type": "object" } } } } }, "/orgs/{org}/migrations": { "post": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "exclude_attachments": { "type": "boolean" }, "lock_repositories": { "type": "boolean" }, "repositories": { "items": { "properties": {} }, "type": "array" } }, "required": [ "repositories", "lock_repositories" ], "type": "object" } }, { "in": "path", "name": "org", "required": true, "type": "string" } ], "responses": { "201": { "description": "Created", "schema": { "description": "", "properties": { "created_at": { "minLength": 1, "type": "string" }, "exclude_attachments": { "type": "boolean" }, "guid": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "lock_repositories": { "type": "boolean" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "hooks_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issues_url": { "minLength": 1, "type": "string" }, "login": { "minLength": 1, "type": "string" }, "members_url": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "public_members_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "login", "id", "node_id", "url", "repos_url", "events_url", "hooks_url", "issues_url", "members_url", "public_members_url", "avatar_url", "description" ], "type": "object" }, "repositories": { "items": { "properties": { "allow_merge_commit": { "type": "boolean" }, "allow_rebase_merge": { "type": "boolean" }, "allow_squash_merge": { "type": "boolean" }, "archive_url": { "minLength": 1, "type": "string" }, "archived": { "type": "boolean" }, "assignees_url": { "minLength": 1, "type": "string" }, "blobs_url": { "minLength": 1, "type": "string" }, "branches_url": { "minLength": 1, "type": "string" }, "clone_url": { "minLength": 1, "type": "string" }, "collaborators_url": { "minLength": 1, "type": "string" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "compare_url": { "minLength": 1, "type": "string" }, "contents_url": { "minLength": 1, "type": "string" }, "contributors_url": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "default_branch": { "minLength": 1, "type": "string" }, "deployments_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "downloads_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "fork": { "type": "boolean" }, "forks_count": { "type": "number" }, "forks_url": { "minLength": 1, "type": "string" }, "full_name": { "minLength": 1, "type": "string" }, "git_commits_url": { "minLength": 1, "type": "string" }, "git_refs_url": { "minLength": 1, "type": "string" }, "git_tags_url": { "minLength": 1, "type": "string" }, "git_url": { "minLength": 1, "type": "string" }, "has_downloads": { "type": "boolean" }, "has_issues": { "type": "boolean" }, "has_pages": { "type": "boolean" }, "has_projects": { "type": "boolean" }, "has_wiki": { "type": "boolean" }, "homepage": { "minLength": 1, "type": "string" }, "hooks_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issue_comment_url": { "minLength": 1, "type": "string" }, "issue_events_url": { "minLength": 1, "type": "string" }, "issues_url": { "minLength": 1, "type": "string" }, "keys_url": { "minLength": 1, "type": "string" }, "labels_url": { "minLength": 1, "type": "string" }, "language": {}, "languages_url": { "minLength": 1, "type": "string" }, "merges_url": { "minLength": 1, "type": "string" }, "milestones_url": { "minLength": 1, "type": "string" }, "mirror_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "network_count": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "notifications_url": { "minLength": 1, "type": "string" }, "open_issues_count": { "type": "number" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "permissions": { "properties": { "admin": { "type": "boolean" }, "pull": { "type": "boolean" }, "push": { "type": "boolean" } }, "required": [ "admin", "push", "pull" ], "type": "object" }, "private": { "type": "boolean" }, "pulls_url": { "minLength": 1, "type": "string" }, "pushed_at": { "minLength": 1, "type": "string" }, "releases_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "ssh_url": { "minLength": 1, "type": "string" }, "stargazers_count": { "type": "number" }, "stargazers_url": { "minLength": 1, "type": "string" }, "statuses_url": { "minLength": 1, "type": "string" }, "subscribers_count": { "type": "number" }, "subscribers_url": { "minLength": 1, "type": "string" }, "subscription_url": { "minLength": 1, "type": "string" }, "svn_url": { "minLength": 1, "type": "string" }, "tags_url": { "minLength": 1, "type": "string" }, "teams_url": { "minLength": 1, "type": "string" }, "topics": { "items": { "properties": {} }, "type": "array" }, "trees_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "watchers_count": { "type": "number" } }, "required": [ "id", "node_id", "name", "full_name", "private", "html_url", "description", "fork", "url", "archive_url", "assignees_url", "blobs_url", "branches_url", "collaborators_url", "comments_url", "commits_url", "compare_url", "contents_url", "contributors_url", "deployments_url", "downloads_url", "events_url", "forks_url", "git_commits_url", "git_refs_url", "git_tags_url", "git_url", "issue_comment_url", "issue_events_url", "issues_url", "keys_url", "labels_url", "languages_url", "merges_url", "milestones_url", "notifications_url", "pulls_url", "releases_url", "ssh_url", "stargazers_url", "statuses_url", "subscribers_url", "subscription_url", "tags_url", "teams_url", "trees_url", "clone_url", "mirror_url", "hooks_url", "svn_url", "homepage", "forks_count", "stargazers_count", "watchers_count", "size", "default_branch", "open_issues_count", "has_issues", "has_projects", "has_wiki", "has_pages", "has_downloads", "archived", "pushed_at", "created_at", "updated_at", "allow_rebase_merge", "allow_squash_merge", "allow_merge_commit", "subscribers_count", "network_count" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "state": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "owner", "guid", "state", "lock_repositories", "exclude_attachments", "repositories", "url", "created_at", "updated_at" ], "type": "object" } } } } }, "/orgs/{org}/outside_collaborators": { "get": { "parameters": [ { "description": "Filter the list of outside collaborators. Can be one of:* 2fa_disabled: Outside collaborators without two-factor authentication enabled. * all: All outside collaborators.Default: all", "in": "query", "name": "filter", "type": "string" }, { "in": "path", "name": "org", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/orgs/{org}/outside_collaborators/{username}": { "delete": { "parameters": [ { "in": "path", "name": "org", "required": true, "type": "string" }, { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content", "schema": { "description": "", "properties": { "documentation_url": { "minLength": 1, "type": "string" }, "message": { "minLength": 1, "type": "string" } }, "required": [ "message", "documentation_url" ], "type": "object" } } } }, "put": { "parameters": [ { "in": "path", "name": "org", "required": true, "type": "string" }, { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content", "schema": { "description": "", "properties": { "documentation_url": { "minLength": 1, "type": "string" }, "message": { "minLength": 1, "type": "string" } }, "required": [ "message", "documentation_url" ], "type": "object" } } } } }, "/orgs/{org}/public_members": { "get": { "parameters": [ { "in": "path", "name": "org", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/orgs/{org}/public_members/{username}": { "delete": { "parameters": [ { "in": "path", "name": "org", "required": true, "type": "string" }, { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "get": { "parameters": [ { "in": "path", "name": "org", "required": true, "type": "string" }, { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "put": { "parameters": [ { "in": "path", "name": "org", "required": true, "type": "string" }, { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } } }, "/orgs/{org}/repos": { "get": { "parameters": [ { "description": "Can be one of asc or desc. Default: when using full_name: asc, otherwise desc", "in": "query", "name": "direction", "type": "string" }, { "description": "Can be one of created, updated, pushed, full_name. Default: created", "in": "query", "name": "sort", "type": "string" }, { "description": "Can be one of all, public, private, forks, sources, member. Default: all", "in": "query", "name": "type", "type": "string" }, { "in": "path", "name": "org", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "archive_url": { "minLength": 1, "type": "string" }, "archived": { "type": "boolean" }, "assignees_url": { "minLength": 1, "type": "string" }, "blobs_url": { "minLength": 1, "type": "string" }, "branches_url": { "minLength": 1, "type": "string" }, "clone_url": { "minLength": 1, "type": "string" }, "collaborators_url": { "minLength": 1, "type": "string" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "compare_url": { "minLength": 1, "type": "string" }, "contents_url": { "minLength": 1, "type": "string" }, "contributors_url": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "default_branch": { "minLength": 1, "type": "string" }, "deployments_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "downloads_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "fork": { "type": "boolean" }, "forks_count": { "type": "number" }, "forks_url": { "minLength": 1, "type": "string" }, "full_name": { "minLength": 1, "type": "string" }, "git_commits_url": { "minLength": 1, "type": "string" }, "git_refs_url": { "minLength": 1, "type": "string" }, "git_tags_url": { "minLength": 1, "type": "string" }, "git_url": { "minLength": 1, "type": "string" }, "has_downloads": { "type": "boolean" }, "has_issues": { "type": "boolean" }, "has_pages": { "type": "boolean" }, "has_projects": { "type": "boolean" }, "has_wiki": { "type": "boolean" }, "homepage": { "minLength": 1, "type": "string" }, "hooks_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issue_comment_url": { "minLength": 1, "type": "string" }, "issue_events_url": { "minLength": 1, "type": "string" }, "issues_url": { "minLength": 1, "type": "string" }, "keys_url": { "minLength": 1, "type": "string" }, "labels_url": { "minLength": 1, "type": "string" }, "language": {}, "languages_url": { "minLength": 1, "type": "string" }, "license": { "properties": { "key": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "spdx_id": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "key", "name", "spdx_id", "url", "node_id" ], "type": "object" }, "merges_url": { "minLength": 1, "type": "string" }, "milestones_url": { "minLength": 1, "type": "string" }, "mirror_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "network_count": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "notifications_url": { "minLength": 1, "type": "string" }, "open_issues_count": { "type": "number" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "permissions": { "properties": { "admin": { "type": "boolean" }, "pull": { "type": "boolean" }, "push": { "type": "boolean" } }, "required": [ "admin", "push", "pull" ], "type": "object" }, "private": { "type": "boolean" }, "pulls_url": { "minLength": 1, "type": "string" }, "pushed_at": { "minLength": 1, "type": "string" }, "releases_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "ssh_url": { "minLength": 1, "type": "string" }, "stargazers_count": { "type": "number" }, "stargazers_url": { "minLength": 1, "type": "string" }, "statuses_url": { "minLength": 1, "type": "string" }, "subscribers_count": { "type": "number" }, "subscribers_url": { "minLength": 1, "type": "string" }, "subscription_url": { "minLength": 1, "type": "string" }, "svn_url": { "minLength": 1, "type": "string" }, "tags_url": { "minLength": 1, "type": "string" }, "teams_url": { "minLength": 1, "type": "string" }, "topics": { "items": { "properties": {} }, "type": "array" }, "trees_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "watchers_count": { "type": "number" } }, "required": [ "id", "node_id", "name", "full_name", "owner", "private", "html_url", "description", "fork", "url", "archive_url", "assignees_url", "blobs_url", "branches_url", "collaborators_url", "comments_url", "commits_url", "compare_url", "contents_url", "contributors_url", "deployments_url", "downloads_url", "events_url", "forks_url", "git_commits_url", "git_refs_url", "git_tags_url", "git_url", "issue_comment_url", "issue_events_url", "issues_url", "keys_url", "labels_url", "languages_url", "merges_url", "milestones_url", "notifications_url", "pulls_url", "releases_url", "ssh_url", "stargazers_url", "statuses_url", "subscribers_url", "subscription_url", "tags_url", "teams_url", "trees_url", "clone_url", "mirror_url", "hooks_url", "svn_url", "homepage", "forks_count", "stargazers_count", "watchers_count", "size", "default_branch", "open_issues_count", "topics", "has_issues", "has_projects", "has_wiki", "has_pages", "has_downloads", "archived", "pushed_at", "created_at", "updated_at", "permissions", "subscribers_count", "network_count", "license" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/rate_limit": { "get": { "parameters": [], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "rate": { "properties": { "limit": { "type": "number" }, "remaining": { "type": "number" }, "reset": { "type": "number" } }, "required": [ "limit", "remaining", "reset" ], "type": "object" }, "resources": { "properties": { "core": { "properties": { "limit": { "type": "number" }, "remaining": { "type": "number" }, "reset": { "type": "number" } }, "required": [ "limit", "remaining", "reset" ], "type": "object" }, "graphql": { "properties": { "limit": { "type": "number" }, "remaining": { "type": "number" }, "reset": { "type": "number" } }, "required": [ "limit", "remaining", "reset" ], "type": "object" }, "integration_manifest": { "properties": { "limit": { "type": "number" }, "remaining": { "type": "number" }, "reset": { "type": "number" } }, "required": [ "limit", "remaining", "reset" ], "type": "object" }, "search": { "properties": { "limit": { "type": "number" }, "remaining": { "type": "number" }, "reset": { "type": "number" } }, "required": [ "limit", "remaining", "reset" ], "type": "object" } }, "required": [ "core", "search", "graphql", "integration_manifest" ], "type": "object" } }, "required": [ "resources", "rate" ], "type": "object" } } } } }, "/repos/{owner}/{repo}": { "delete": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content", "schema": { "description": "", "properties": { "documentation_url": { "minLength": 1, "type": "string" }, "message": { "minLength": 1, "type": "string" } }, "required": [ "message", "documentation_url" ], "type": "object" } } } }, "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "allow_merge_commit": { "type": "boolean" }, "allow_rebase_merge": { "type": "boolean" }, "allow_squash_merge": { "type": "boolean" }, "archive_url": { "minLength": 1, "type": "string" }, "archived": { "type": "boolean" }, "assignees_url": { "minLength": 1, "type": "string" }, "blobs_url": { "minLength": 1, "type": "string" }, "branches_url": { "minLength": 1, "type": "string" }, "clone_url": { "minLength": 1, "type": "string" }, "collaborators_url": { "minLength": 1, "type": "string" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "compare_url": { "minLength": 1, "type": "string" }, "contents_url": { "minLength": 1, "type": "string" }, "contributors_url": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "default_branch": { "minLength": 1, "type": "string" }, "deployments_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "downloads_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "fork": { "type": "boolean" }, "forks_count": { "type": "number" }, "forks_url": { "minLength": 1, "type": "string" }, "full_name": { "minLength": 1, "type": "string" }, "git_commits_url": { "minLength": 1, "type": "string" }, "git_refs_url": { "minLength": 1, "type": "string" }, "git_tags_url": { "minLength": 1, "type": "string" }, "git_url": { "minLength": 1, "type": "string" }, "has_downloads": { "type": "boolean" }, "has_issues": { "type": "boolean" }, "has_pages": { "type": "boolean" }, "has_projects": { "type": "boolean" }, "has_wiki": { "type": "boolean" }, "homepage": { "minLength": 1, "type": "string" }, "hooks_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issue_comment_url": { "minLength": 1, "type": "string" }, "issue_events_url": { "minLength": 1, "type": "string" }, "issues_url": { "minLength": 1, "type": "string" }, "keys_url": { "minLength": 1, "type": "string" }, "labels_url": { "minLength": 1, "type": "string" }, "language": {}, "languages_url": { "minLength": 1, "type": "string" }, "license": { "properties": { "key": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "spdx_id": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "key", "name", "spdx_id", "url", "node_id" ], "type": "object" }, "merges_url": { "minLength": 1, "type": "string" }, "milestones_url": { "minLength": 1, "type": "string" }, "mirror_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "network_count": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "notifications_url": { "minLength": 1, "type": "string" }, "open_issues_count": { "type": "number" }, "organization": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "parent": { "properties": { "allow_merge_commit": { "type": "boolean" }, "allow_rebase_merge": { "type": "boolean" }, "allow_squash_merge": { "type": "boolean" }, "archive_url": { "minLength": 1, "type": "string" }, "archived": { "type": "boolean" }, "assignees_url": { "minLength": 1, "type": "string" }, "blobs_url": { "minLength": 1, "type": "string" }, "branches_url": { "minLength": 1, "type": "string" }, "clone_url": { "minLength": 1, "type": "string" }, "collaborators_url": { "minLength": 1, "type": "string" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "compare_url": { "minLength": 1, "type": "string" }, "contents_url": { "minLength": 1, "type": "string" }, "contributors_url": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "default_branch": { "minLength": 1, "type": "string" }, "deployments_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "downloads_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "fork": { "type": "boolean" }, "forks_count": { "type": "number" }, "forks_url": { "minLength": 1, "type": "string" }, "full_name": { "minLength": 1, "type": "string" }, "git_commits_url": { "minLength": 1, "type": "string" }, "git_refs_url": { "minLength": 1, "type": "string" }, "git_tags_url": { "minLength": 1, "type": "string" }, "git_url": { "minLength": 1, "type": "string" }, "has_downloads": { "type": "boolean" }, "has_issues": { "type": "boolean" }, "has_pages": { "type": "boolean" }, "has_projects": { "type": "boolean" }, "has_wiki": { "type": "boolean" }, "homepage": { "minLength": 1, "type": "string" }, "hooks_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issue_comment_url": { "minLength": 1, "type": "string" }, "issue_events_url": { "minLength": 1, "type": "string" }, "issues_url": { "minLength": 1, "type": "string" }, "keys_url": { "minLength": 1, "type": "string" }, "labels_url": { "minLength": 1, "type": "string" }, "language": {}, "languages_url": { "minLength": 1, "type": "string" }, "merges_url": { "minLength": 1, "type": "string" }, "milestones_url": { "minLength": 1, "type": "string" }, "mirror_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "network_count": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "notifications_url": { "minLength": 1, "type": "string" }, "open_issues_count": { "type": "number" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "permissions": { "properties": { "admin": { "type": "boolean" }, "pull": { "type": "boolean" }, "push": { "type": "boolean" } }, "required": [ "admin", "push", "pull" ], "type": "object" }, "private": { "type": "boolean" }, "pulls_url": { "minLength": 1, "type": "string" }, "pushed_at": { "minLength": 1, "type": "string" }, "releases_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "ssh_url": { "minLength": 1, "type": "string" }, "stargazers_count": { "type": "number" }, "stargazers_url": { "minLength": 1, "type": "string" }, "statuses_url": { "minLength": 1, "type": "string" }, "subscribers_count": { "type": "number" }, "subscribers_url": { "minLength": 1, "type": "string" }, "subscription_url": { "minLength": 1, "type": "string" }, "svn_url": { "minLength": 1, "type": "string" }, "tags_url": { "minLength": 1, "type": "string" }, "teams_url": { "minLength": 1, "type": "string" }, "topics": { "items": { "properties": {} }, "type": "array" }, "trees_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "watchers_count": { "type": "number" } }, "required": [ "id", "node_id", "name", "full_name", "owner", "private", "html_url", "description", "fork", "url", "archive_url", "assignees_url", "blobs_url", "branches_url", "collaborators_url", "comments_url", "commits_url", "compare_url", "contents_url", "contributors_url", "deployments_url", "downloads_url", "events_url", "forks_url", "git_commits_url", "git_refs_url", "git_tags_url", "git_url", "issue_comment_url", "issue_events_url", "issues_url", "keys_url", "labels_url", "languages_url", "merges_url", "milestones_url", "notifications_url", "pulls_url", "releases_url", "ssh_url", "stargazers_url", "statuses_url", "subscribers_url", "subscription_url", "tags_url", "teams_url", "trees_url", "clone_url", "mirror_url", "hooks_url", "svn_url", "homepage", "forks_count", "stargazers_count", "watchers_count", "size", "default_branch", "open_issues_count", "topics", "has_issues", "has_projects", "has_wiki", "has_pages", "has_downloads", "archived", "pushed_at", "created_at", "updated_at", "permissions", "allow_rebase_merge", "allow_squash_merge", "allow_merge_commit", "subscribers_count", "network_count" ], "type": "object" }, "permissions": { "properties": { "admin": { "type": "boolean" }, "pull": { "type": "boolean" }, "push": { "type": "boolean" } }, "required": [ "admin", "push", "pull" ], "type": "object" }, "private": { "type": "boolean" }, "pulls_url": { "minLength": 1, "type": "string" }, "pushed_at": { "minLength": 1, "type": "string" }, "releases_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "source": { "properties": { "allow_merge_commit": { "type": "boolean" }, "allow_rebase_merge": { "type": "boolean" }, "allow_squash_merge": { "type": "boolean" }, "archive_url": { "minLength": 1, "type": "string" }, "archived": { "type": "boolean" }, "assignees_url": { "minLength": 1, "type": "string" }, "blobs_url": { "minLength": 1, "type": "string" }, "branches_url": { "minLength": 1, "type": "string" }, "clone_url": { "minLength": 1, "type": "string" }, "collaborators_url": { "minLength": 1, "type": "string" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "compare_url": { "minLength": 1, "type": "string" }, "contents_url": { "minLength": 1, "type": "string" }, "contributors_url": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "default_branch": { "minLength": 1, "type": "string" }, "deployments_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "downloads_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "fork": { "type": "boolean" }, "forks_count": { "type": "number" }, "forks_url": { "minLength": 1, "type": "string" }, "full_name": { "minLength": 1, "type": "string" }, "git_commits_url": { "minLength": 1, "type": "string" }, "git_refs_url": { "minLength": 1, "type": "string" }, "git_tags_url": { "minLength": 1, "type": "string" }, "git_url": { "minLength": 1, "type": "string" }, "has_downloads": { "type": "boolean" }, "has_issues": { "type": "boolean" }, "has_pages": { "type": "boolean" }, "has_projects": { "type": "boolean" }, "has_wiki": { "type": "boolean" }, "homepage": { "minLength": 1, "type": "string" }, "hooks_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issue_comment_url": { "minLength": 1, "type": "string" }, "issue_events_url": { "minLength": 1, "type": "string" }, "issues_url": { "minLength": 1, "type": "string" }, "keys_url": { "minLength": 1, "type": "string" }, "labels_url": { "minLength": 1, "type": "string" }, "language": {}, "languages_url": { "minLength": 1, "type": "string" }, "merges_url": { "minLength": 1, "type": "string" }, "milestones_url": { "minLength": 1, "type": "string" }, "mirror_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "network_count": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "notifications_url": { "minLength": 1, "type": "string" }, "open_issues_count": { "type": "number" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "permissions": { "properties": { "admin": { "type": "boolean" }, "pull": { "type": "boolean" }, "push": { "type": "boolean" } }, "required": [ "admin", "push", "pull" ], "type": "object" }, "private": { "type": "boolean" }, "pulls_url": { "minLength": 1, "type": "string" }, "pushed_at": { "minLength": 1, "type": "string" }, "releases_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "ssh_url": { "minLength": 1, "type": "string" }, "stargazers_count": { "type": "number" }, "stargazers_url": { "minLength": 1, "type": "string" }, "statuses_url": { "minLength": 1, "type": "string" }, "subscribers_count": { "type": "number" }, "subscribers_url": { "minLength": 1, "type": "string" }, "subscription_url": { "minLength": 1, "type": "string" }, "svn_url": { "minLength": 1, "type": "string" }, "tags_url": { "minLength": 1, "type": "string" }, "teams_url": { "minLength": 1, "type": "string" }, "topics": { "items": { "properties": {} }, "type": "array" }, "trees_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "watchers_count": { "type": "number" } }, "required": [ "id", "node_id", "name", "full_name", "owner", "private", "html_url", "description", "fork", "url", "archive_url", "assignees_url", "blobs_url", "branches_url", "collaborators_url", "comments_url", "commits_url", "compare_url", "contents_url", "contributors_url", "deployments_url", "downloads_url", "events_url", "forks_url", "git_commits_url", "git_refs_url", "git_tags_url", "git_url", "issue_comment_url", "issue_events_url", "issues_url", "keys_url", "labels_url", "languages_url", "merges_url", "milestones_url", "notifications_url", "pulls_url", "releases_url", "ssh_url", "stargazers_url", "statuses_url", "subscribers_url", "subscription_url", "tags_url", "teams_url", "trees_url", "clone_url", "mirror_url", "hooks_url", "svn_url", "homepage", "forks_count", "stargazers_count", "watchers_count", "size", "default_branch", "open_issues_count", "topics", "has_issues", "has_projects", "has_wiki", "has_pages", "has_downloads", "archived", "pushed_at", "created_at", "updated_at", "permissions", "allow_rebase_merge", "allow_squash_merge", "allow_merge_commit", "subscribers_count", "network_count" ], "type": "object" }, "ssh_url": { "minLength": 1, "type": "string" }, "stargazers_count": { "type": "number" }, "stargazers_url": { "minLength": 1, "type": "string" }, "statuses_url": { "minLength": 1, "type": "string" }, "subscribers_count": { "type": "number" }, "subscribers_url": { "minLength": 1, "type": "string" }, "subscription_url": { "minLength": 1, "type": "string" }, "svn_url": { "minLength": 1, "type": "string" }, "tags_url": { "minLength": 1, "type": "string" }, "teams_url": { "minLength": 1, "type": "string" }, "topics": { "items": { "properties": {} }, "type": "array" }, "trees_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "watchers_count": { "type": "number" } }, "required": [ "id", "node_id", "name", "full_name", "owner", "private", "html_url", "description", "fork", "url", "archive_url", "assignees_url", "blobs_url", "branches_url", "collaborators_url", "comments_url", "commits_url", "compare_url", "contents_url", "contributors_url", "deployments_url", "downloads_url", "events_url", "forks_url", "git_commits_url", "git_refs_url", "git_tags_url", "git_url", "issue_comment_url", "issue_events_url", "issues_url", "keys_url", "labels_url", "languages_url", "merges_url", "milestones_url", "notifications_url", "pulls_url", "releases_url", "ssh_url", "stargazers_url", "statuses_url", "subscribers_url", "subscription_url", "tags_url", "teams_url", "trees_url", "clone_url", "mirror_url", "hooks_url", "svn_url", "homepage", "forks_count", "stargazers_count", "watchers_count", "size", "default_branch", "open_issues_count", "topics", "has_issues", "has_projects", "has_wiki", "has_pages", "has_downloads", "archived", "pushed_at", "created_at", "updated_at", "permissions", "allow_rebase_merge", "allow_squash_merge", "allow_merge_commit", "subscribers_count", "network_count", "license", "organization", "parent", "source" ], "type": "object" } } } }, "patch": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "description": { "minLength": 1, "type": "string" }, "has_issues": { "type": "boolean" }, "has_projects": { "type": "boolean" }, "has_wiki": { "type": "boolean" }, "homepage": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "private": { "type": "boolean" } }, "required": [ "name", "description", "homepage", "private", "has_issues", "has_projects", "has_wiki" ], "type": "object" } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "allow_merge_commit": { "type": "boolean" }, "allow_rebase_merge": { "type": "boolean" }, "allow_squash_merge": { "type": "boolean" }, "archive_url": { "minLength": 1, "type": "string" }, "archived": { "type": "boolean" }, "assignees_url": { "minLength": 1, "type": "string" }, "blobs_url": { "minLength": 1, "type": "string" }, "branches_url": { "minLength": 1, "type": "string" }, "clone_url": { "minLength": 1, "type": "string" }, "collaborators_url": { "minLength": 1, "type": "string" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "compare_url": { "minLength": 1, "type": "string" }, "contents_url": { "minLength": 1, "type": "string" }, "contributors_url": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "default_branch": { "minLength": 1, "type": "string" }, "deployments_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "downloads_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "fork": { "type": "boolean" }, "forks_count": { "type": "number" }, "forks_url": { "minLength": 1, "type": "string" }, "full_name": { "minLength": 1, "type": "string" }, "git_commits_url": { "minLength": 1, "type": "string" }, "git_refs_url": { "minLength": 1, "type": "string" }, "git_tags_url": { "minLength": 1, "type": "string" }, "git_url": { "minLength": 1, "type": "string" }, "has_downloads": { "type": "boolean" }, "has_issues": { "type": "boolean" }, "has_pages": { "type": "boolean" }, "has_projects": { "type": "boolean" }, "has_wiki": { "type": "boolean" }, "homepage": { "minLength": 1, "type": "string" }, "hooks_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issue_comment_url": { "minLength": 1, "type": "string" }, "issue_events_url": { "minLength": 1, "type": "string" }, "issues_url": { "minLength": 1, "type": "string" }, "keys_url": { "minLength": 1, "type": "string" }, "labels_url": { "minLength": 1, "type": "string" }, "language": {}, "languages_url": { "minLength": 1, "type": "string" }, "merges_url": { "minLength": 1, "type": "string" }, "milestones_url": { "minLength": 1, "type": "string" }, "mirror_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "network_count": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "notifications_url": { "minLength": 1, "type": "string" }, "open_issues_count": { "type": "number" }, "organization": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "parent": { "properties": { "allow_merge_commit": { "type": "boolean" }, "allow_rebase_merge": { "type": "boolean" }, "allow_squash_merge": { "type": "boolean" }, "archive_url": { "minLength": 1, "type": "string" }, "archived": { "type": "boolean" }, "assignees_url": { "minLength": 1, "type": "string" }, "blobs_url": { "minLength": 1, "type": "string" }, "branches_url": { "minLength": 1, "type": "string" }, "clone_url": { "minLength": 1, "type": "string" }, "collaborators_url": { "minLength": 1, "type": "string" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "compare_url": { "minLength": 1, "type": "string" }, "contents_url": { "minLength": 1, "type": "string" }, "contributors_url": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "default_branch": { "minLength": 1, "type": "string" }, "deployments_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "downloads_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "fork": { "type": "boolean" }, "forks_count": { "type": "number" }, "forks_url": { "minLength": 1, "type": "string" }, "full_name": { "minLength": 1, "type": "string" }, "git_commits_url": { "minLength": 1, "type": "string" }, "git_refs_url": { "minLength": 1, "type": "string" }, "git_tags_url": { "minLength": 1, "type": "string" }, "git_url": { "minLength": 1, "type": "string" }, "has_downloads": { "type": "boolean" }, "has_issues": { "type": "boolean" }, "has_pages": { "type": "boolean" }, "has_projects": { "type": "boolean" }, "has_wiki": { "type": "boolean" }, "homepage": { "minLength": 1, "type": "string" }, "hooks_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issue_comment_url": { "minLength": 1, "type": "string" }, "issue_events_url": { "minLength": 1, "type": "string" }, "issues_url": { "minLength": 1, "type": "string" }, "keys_url": { "minLength": 1, "type": "string" }, "labels_url": { "minLength": 1, "type": "string" }, "language": {}, "languages_url": { "minLength": 1, "type": "string" }, "merges_url": { "minLength": 1, "type": "string" }, "milestones_url": { "minLength": 1, "type": "string" }, "mirror_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "network_count": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "notifications_url": { "minLength": 1, "type": "string" }, "open_issues_count": { "type": "number" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "permissions": { "properties": { "admin": { "type": "boolean" }, "pull": { "type": "boolean" }, "push": { "type": "boolean" } }, "required": [ "admin", "push", "pull" ], "type": "object" }, "private": { "type": "boolean" }, "pulls_url": { "minLength": 1, "type": "string" }, "pushed_at": { "minLength": 1, "type": "string" }, "releases_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "ssh_url": { "minLength": 1, "type": "string" }, "stargazers_count": { "type": "number" }, "stargazers_url": { "minLength": 1, "type": "string" }, "statuses_url": { "minLength": 1, "type": "string" }, "subscribers_count": { "type": "number" }, "subscribers_url": { "minLength": 1, "type": "string" }, "subscription_url": { "minLength": 1, "type": "string" }, "svn_url": { "minLength": 1, "type": "string" }, "tags_url": { "minLength": 1, "type": "string" }, "teams_url": { "minLength": 1, "type": "string" }, "topics": { "items": { "properties": {} }, "type": "array" }, "trees_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "watchers_count": { "type": "number" } }, "required": [ "id", "node_id", "name", "full_name", "owner", "private", "html_url", "description", "fork", "url", "archive_url", "assignees_url", "blobs_url", "branches_url", "collaborators_url", "comments_url", "commits_url", "compare_url", "contents_url", "contributors_url", "deployments_url", "downloads_url", "events_url", "forks_url", "git_commits_url", "git_refs_url", "git_tags_url", "git_url", "issue_comment_url", "issue_events_url", "issues_url", "keys_url", "labels_url", "languages_url", "merges_url", "milestones_url", "notifications_url", "pulls_url", "releases_url", "ssh_url", "stargazers_url", "statuses_url", "subscribers_url", "subscription_url", "tags_url", "teams_url", "trees_url", "clone_url", "mirror_url", "hooks_url", "svn_url", "homepage", "forks_count", "stargazers_count", "watchers_count", "size", "default_branch", "open_issues_count", "topics", "has_issues", "has_projects", "has_wiki", "has_pages", "has_downloads", "archived", "pushed_at", "created_at", "updated_at", "permissions", "allow_rebase_merge", "allow_squash_merge", "allow_merge_commit", "subscribers_count", "network_count" ], "type": "object" }, "permissions": { "properties": { "admin": { "type": "boolean" }, "pull": { "type": "boolean" }, "push": { "type": "boolean" } }, "required": [ "admin", "push", "pull" ], "type": "object" }, "private": { "type": "boolean" }, "pulls_url": { "minLength": 1, "type": "string" }, "pushed_at": { "minLength": 1, "type": "string" }, "releases_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "source": { "properties": { "allow_merge_commit": { "type": "boolean" }, "allow_rebase_merge": { "type": "boolean" }, "allow_squash_merge": { "type": "boolean" }, "archive_url": { "minLength": 1, "type": "string" }, "archived": { "type": "boolean" }, "assignees_url": { "minLength": 1, "type": "string" }, "blobs_url": { "minLength": 1, "type": "string" }, "branches_url": { "minLength": 1, "type": "string" }, "clone_url": { "minLength": 1, "type": "string" }, "collaborators_url": { "minLength": 1, "type": "string" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "compare_url": { "minLength": 1, "type": "string" }, "contents_url": { "minLength": 1, "type": "string" }, "contributors_url": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "default_branch": { "minLength": 1, "type": "string" }, "deployments_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "downloads_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "fork": { "type": "boolean" }, "forks_count": { "type": "number" }, "forks_url": { "minLength": 1, "type": "string" }, "full_name": { "minLength": 1, "type": "string" }, "git_commits_url": { "minLength": 1, "type": "string" }, "git_refs_url": { "minLength": 1, "type": "string" }, "git_tags_url": { "minLength": 1, "type": "string" }, "git_url": { "minLength": 1, "type": "string" }, "has_downloads": { "type": "boolean" }, "has_issues": { "type": "boolean" }, "has_pages": { "type": "boolean" }, "has_projects": { "type": "boolean" }, "has_wiki": { "type": "boolean" }, "homepage": { "minLength": 1, "type": "string" }, "hooks_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issue_comment_url": { "minLength": 1, "type": "string" }, "issue_events_url": { "minLength": 1, "type": "string" }, "issues_url": { "minLength": 1, "type": "string" }, "keys_url": { "minLength": 1, "type": "string" }, "labels_url": { "minLength": 1, "type": "string" }, "language": {}, "languages_url": { "minLength": 1, "type": "string" }, "merges_url": { "minLength": 1, "type": "string" }, "milestones_url": { "minLength": 1, "type": "string" }, "mirror_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "network_count": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "notifications_url": { "minLength": 1, "type": "string" }, "open_issues_count": { "type": "number" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "permissions": { "properties": { "admin": { "type": "boolean" }, "pull": { "type": "boolean" }, "push": { "type": "boolean" } }, "required": [ "admin", "push", "pull" ], "type": "object" }, "private": { "type": "boolean" }, "pulls_url": { "minLength": 1, "type": "string" }, "pushed_at": { "minLength": 1, "type": "string" }, "releases_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "ssh_url": { "minLength": 1, "type": "string" }, "stargazers_count": { "type": "number" }, "stargazers_url": { "minLength": 1, "type": "string" }, "statuses_url": { "minLength": 1, "type": "string" }, "subscribers_count": { "type": "number" }, "subscribers_url": { "minLength": 1, "type": "string" }, "subscription_url": { "minLength": 1, "type": "string" }, "svn_url": { "minLength": 1, "type": "string" }, "tags_url": { "minLength": 1, "type": "string" }, "teams_url": { "minLength": 1, "type": "string" }, "topics": { "items": { "properties": {} }, "type": "array" }, "trees_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "watchers_count": { "type": "number" } }, "required": [ "id", "node_id", "name", "full_name", "owner", "private", "html_url", "description", "fork", "url", "archive_url", "assignees_url", "blobs_url", "branches_url", "collaborators_url", "comments_url", "commits_url", "compare_url", "contents_url", "contributors_url", "deployments_url", "downloads_url", "events_url", "forks_url", "git_commits_url", "git_refs_url", "git_tags_url", "git_url", "issue_comment_url", "issue_events_url", "issues_url", "keys_url", "labels_url", "languages_url", "merges_url", "milestones_url", "notifications_url", "pulls_url", "releases_url", "ssh_url", "stargazers_url", "statuses_url", "subscribers_url", "subscription_url", "tags_url", "teams_url", "trees_url", "clone_url", "mirror_url", "hooks_url", "svn_url", "homepage", "forks_count", "stargazers_count", "watchers_count", "size", "default_branch", "open_issues_count", "topics", "has_issues", "has_projects", "has_wiki", "has_pages", "has_downloads", "archived", "pushed_at", "created_at", "updated_at", "permissions", "allow_rebase_merge", "allow_squash_merge", "allow_merge_commit", "subscribers_count", "network_count" ], "type": "object" }, "ssh_url": { "minLength": 1, "type": "string" }, "stargazers_count": { "type": "number" }, "stargazers_url": { "minLength": 1, "type": "string" }, "statuses_url": { "minLength": 1, "type": "string" }, "subscribers_count": { "type": "number" }, "subscribers_url": { "minLength": 1, "type": "string" }, "subscription_url": { "minLength": 1, "type": "string" }, "svn_url": { "minLength": 1, "type": "string" }, "tags_url": { "minLength": 1, "type": "string" }, "teams_url": { "minLength": 1, "type": "string" }, "topics": { "items": { "properties": {} }, "type": "array" }, "trees_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "watchers_count": { "type": "number" } }, "required": [ "id", "node_id", "name", "full_name", "owner", "private", "html_url", "description", "fork", "url", "archive_url", "assignees_url", "blobs_url", "branches_url", "collaborators_url", "comments_url", "commits_url", "compare_url", "contents_url", "contributors_url", "deployments_url", "downloads_url", "events_url", "forks_url", "git_commits_url", "git_refs_url", "git_tags_url", "git_url", "issue_comment_url", "issue_events_url", "issues_url", "keys_url", "labels_url", "languages_url", "merges_url", "milestones_url", "notifications_url", "pulls_url", "releases_url", "ssh_url", "stargazers_url", "statuses_url", "subscribers_url", "subscription_url", "tags_url", "teams_url", "trees_url", "clone_url", "mirror_url", "hooks_url", "svn_url", "homepage", "forks_count", "stargazers_count", "watchers_count", "size", "default_branch", "open_issues_count", "topics", "has_issues", "has_projects", "has_wiki", "has_pages", "has_downloads", "archived", "pushed_at", "created_at", "updated_at", "permissions", "allow_rebase_merge", "allow_squash_merge", "allow_merge_commit", "subscribers_count", "network_count", "organization", "parent", "source" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/{archive_format}/{ref}": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "archive_format", "required": true, "type": "string" }, { "in": "path", "name": "ref", "required": true, "type": "string" } ], "responses": { "302": { "description": "Found" } } } }, "/repos/{owner}/{repo}/assignees": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/repos/{owner}/{repo}/assignees/{assignee}": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "assignee", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } } }, "/repos/{owner}/{repo}/branches": { "get": { "parameters": [ { "description": "Setting to true returns only protected branches. When set to false, only unprotected branches are returned. Omitting this parameter returns all branches.", "in": "query", "name": "protected", "type": "boolean" }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "commit": { "properties": { "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "sha", "url" ], "type": "object" }, "name": { "minLength": 1, "type": "string" }, "protected": { "type": "boolean" }, "protection": { "properties": { "enabled": { "type": "boolean" }, "required_status_checks": { "properties": { "contexts": { "items": { "properties": {} }, "type": "array" }, "enforcement_level": { "minLength": 1, "type": "string" } }, "required": [ "enforcement_level", "contexts" ], "type": "object" } }, "required": [ "enabled", "required_status_checks" ], "type": "object" }, "protection_url": { "minLength": 1, "type": "string" } }, "required": [ "name", "commit", "protected", "protection", "protection_url" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/repos/{owner}/{repo}/branches/{branch}": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "branch", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "_links": { "properties": { "html": { "minLength": 1, "type": "string" }, "self": { "minLength": 1, "type": "string" } }, "required": [ "html", "self" ], "type": "object" }, "commit": { "properties": { "author": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "gravatar_id", "avatar_url", "url", "id", "login" ], "type": "object" }, "commit": { "properties": { "author": { "properties": { "date": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "name", "date", "email" ], "type": "object" }, "committer": { "properties": { "date": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "name", "date", "email" ], "type": "object" }, "message": { "minLength": 1, "type": "string" }, "tree": { "properties": { "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "sha", "url" ], "type": "object" }, "url": { "minLength": 1, "type": "string" }, "verification": { "properties": { "payload": {}, "reason": { "minLength": 1, "type": "string" }, "signature": {}, "verified": { "type": "boolean" } }, "required": [ "verified", "reason" ], "type": "object" } }, "required": [ "author", "url", "message", "tree", "committer", "verification" ], "type": "object" }, "committer": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "gravatar_id", "avatar_url", "url", "id", "login" ], "type": "object" }, "node_id": { "minLength": 1, "type": "string" }, "parents": { "items": { "properties": { "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "sha", "url" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "sha", "node_id", "commit", "author", "parents", "url", "committer" ], "type": "object" }, "name": { "minLength": 1, "type": "string" }, "protected": { "type": "boolean" }, "protection": { "properties": { "enabled": { "type": "boolean" }, "required_status_checks": { "properties": { "contexts": { "items": { "properties": {} }, "type": "array" }, "enforcement_level": { "minLength": 1, "type": "string" } }, "required": [ "enforcement_level", "contexts" ], "type": "object" } }, "required": [ "enabled", "required_status_checks" ], "type": "object" }, "protection_url": { "minLength": 1, "type": "string" } }, "required": [ "name", "commit", "_links", "protected", "protection", "protection_url" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/branches/{branch}/protection": { "delete": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "branch", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } } }, "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins": { "delete": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "branch", "required": true, "type": "string" } ], "responses": { "default": { "description": "Unknown" } } }, "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "branch", "required": true, "type": "string" } ], "responses": { "default": { "description": "Unknown" } } }, "post": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "branch", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "enabled": { "type": "boolean" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "enabled" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews": { "delete": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "branch", "required": true, "type": "string" } ], "responses": { "default": { "description": "Unknown" } } } }, "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks": { "delete": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "branch", "required": true, "type": "string" } ], "responses": { "default": { "description": "Unknown" } } }, "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "branch", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "contexts": { "items": { "properties": {} }, "type": "array" }, "contexts_url": { "minLength": 1, "type": "string" }, "strict": { "type": "boolean" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "strict", "contexts", "contexts_url" ], "type": "object" } } } }, "patch": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "contexts": { "items": { "properties": {} }, "type": "array" }, "strict": { "type": "boolean" } }, "required": [ "strict", "contexts" ], "type": "object" } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "branch", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "contexts": { "items": { "properties": {} }, "type": "array" }, "contexts_url": { "minLength": 1, "type": "string" }, "strict": { "type": "boolean" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "strict", "contexts", "contexts_url" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts": { "delete": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "items": { "properties": {}, "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "branch", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": {}, "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } }, "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "branch", "required": true, "type": "string" } ], "responses": { "default": { "description": "Unknown" } } }, "post": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "items": { "properties": {}, "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "branch", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": {}, "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } }, "put": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "items": { "properties": {}, "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "branch", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": {}, "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions": { "delete": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "branch", "required": true, "type": "string" } ], "responses": { "default": { "description": "Unknown" } } }, "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "branch", "required": true, "type": "string" } ], "responses": { "default": { "description": "Unknown" } } } }, "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users": { "delete": { "parameters": [ { "in": "query", "name": "array", "type": "string" }, { "in": "body", "name": "body", "schema": { "description": "", "items": { "properties": {}, "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "branch", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } }, "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "branch", "required": true, "type": "string" } ], "responses": { "default": { "description": "Unknown" } } }, "post": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "items": { "properties": {}, "type": "object" }, "minItems": 1, "properties": { "array": { "type": "string" } }, "type": "array", "uniqueItems": true } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "branch", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } }, "put": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "items": { "properties": {}, "type": "object" }, "minItems": 1, "properties": { "array": { "type": "string" } }, "type": "array", "uniqueItems": true } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "branch", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/repos/{owner}/{repo}/collaborators/{username}": { "delete": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "put": { "parameters": [ { "in": "body", "name": "body", "schema": { "properties": { "permission": { "type": "string" } } } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content", "schema": { "description": "", "properties": { "created_at": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "invitee": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "inviter": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "permissions": { "minLength": 1, "type": "string" }, "repository": { "properties": { "archive_url": { "minLength": 1, "type": "string" }, "assignees_url": { "minLength": 1, "type": "string" }, "blobs_url": { "minLength": 1, "type": "string" }, "branches_url": { "minLength": 1, "type": "string" }, "collaborators_url": { "minLength": 1, "type": "string" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "compare_url": { "minLength": 1, "type": "string" }, "contents_url": { "minLength": 1, "type": "string" }, "contributors_url": { "minLength": 1, "type": "string" }, "deployments_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "downloads_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "fork": { "type": "boolean" }, "forks_url": { "minLength": 1, "type": "string" }, "full_name": { "minLength": 1, "type": "string" }, "git_commits_url": { "minLength": 1, "type": "string" }, "git_refs_url": { "minLength": 1, "type": "string" }, "git_tags_url": { "minLength": 1, "type": "string" }, "git_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issue_comment_url": { "minLength": 1, "type": "string" }, "issue_events_url": { "minLength": 1, "type": "string" }, "issues_url": { "minLength": 1, "type": "string" }, "keys_url": { "minLength": 1, "type": "string" }, "labels_url": { "minLength": 1, "type": "string" }, "languages_url": { "minLength": 1, "type": "string" }, "merges_url": { "minLength": 1, "type": "string" }, "milestones_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "notifications_url": { "minLength": 1, "type": "string" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "private": { "type": "boolean" }, "pulls_url": { "minLength": 1, "type": "string" }, "releases_url": { "minLength": 1, "type": "string" }, "ssh_url": { "minLength": 1, "type": "string" }, "stargazers_url": { "minLength": 1, "type": "string" }, "statuses_url": { "minLength": 1, "type": "string" }, "subscribers_url": { "minLength": 1, "type": "string" }, "subscription_url": { "minLength": 1, "type": "string" }, "tags_url": { "minLength": 1, "type": "string" }, "teams_url": { "minLength": 1, "type": "string" }, "trees_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "node_id", "name", "full_name", "owner", "private", "html_url", "description", "fork", "url", "archive_url", "assignees_url", "blobs_url", "branches_url", "collaborators_url", "comments_url", "commits_url", "compare_url", "contents_url", "contributors_url", "deployments_url", "downloads_url", "events_url", "forks_url", "git_commits_url", "git_refs_url", "git_tags_url", "git_url", "issue_comment_url", "issue_events_url", "issues_url", "keys_url", "labels_url", "languages_url", "merges_url", "milestones_url", "notifications_url", "pulls_url", "releases_url", "ssh_url", "stargazers_url", "statuses_url", "subscribers_url", "subscription_url", "tags_url", "teams_url", "trees_url" ], "type": "object" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "repository", "invitee", "inviter", "permissions", "created_at", "url", "html_url" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/collaborators/{username}/permission": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "permission": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "permission", "user" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/comments": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "body": { "minLength": 1, "type": "string" }, "commit_id": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "line": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "path": { "minLength": 1, "type": "string" }, "position": { "type": "number" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "html_url", "url", "id", "node_id", "body", "path", "position", "line", "commit_id", "user", "created_at", "updated_at" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/repos/{owner}/{repo}/comments/{comment_id}": { "delete": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "comment_id", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "comment_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "body": { "minLength": 1, "type": "string" }, "commit_id": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "line": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "path": { "minLength": 1, "type": "string" }, "position": { "type": "number" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "html_url", "url", "id", "node_id", "body", "path", "position", "line", "commit_id", "user", "created_at", "updated_at" ], "type": "object" } } } }, "patch": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "body": { "minLength": 1, "type": "string" } }, "required": [ "body" ], "type": "object" } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "comment_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "body": { "minLength": 1, "type": "string" }, "commit_id": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "line": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "path": { "minLength": 1, "type": "string" }, "position": { "type": "number" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "html_url", "url", "id", "node_id", "body", "path", "position", "line", "commit_id", "user", "created_at", "updated_at" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/commits": { "get": { "parameters": [ { "description": "GitHub login or email address by which to filter by commit author.", "in": "query", "name": "author", "type": "string" }, { "description": "Only commits containing this file path will be returned.", "in": "query", "name": "path", "type": "string" }, { "description": "SHA or branch to start listing commits from. Default: the repository’s default branch (usually master).", "in": "query", "name": "sha", "type": "string" }, { "description": "Only commits after this date will be returned. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.", "in": "query", "name": "since", "type": "string" }, { "description": "Only commits before this date will be returned. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.", "in": "query", "name": "until", "type": "string" }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "author": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "comments_url": { "minLength": 1, "type": "string" }, "commit": { "properties": { "author": { "properties": { "date": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "name", "email", "date" ], "type": "object" }, "comment_count": { "type": "number" }, "committer": { "properties": { "date": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "name", "email", "date" ], "type": "object" }, "message": { "minLength": 1, "type": "string" }, "tree": { "properties": { "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "sha" ], "type": "object" }, "url": { "minLength": 1, "type": "string" }, "verification": { "properties": { "payload": {}, "reason": { "minLength": 1, "type": "string" }, "signature": {}, "verified": { "type": "boolean" } }, "required": [ "verified", "reason" ], "type": "object" } }, "required": [ "url", "author", "committer", "message", "tree", "comment_count", "verification" ], "type": "object" }, "committer": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "html_url": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "parents": { "items": { "properties": { "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "sha" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "sha", "node_id", "html_url", "comments_url", "commit", "author", "committer", "parents" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/repos/{owner}/{repo}/commits/{ref}": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "ref", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK" } } } }, "/repos/{owner}/{repo}/commits/{ref}/comments": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "ref", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "body": { "minLength": 1, "type": "string" }, "commit_id": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "line": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "path": { "minLength": 1, "type": "string" }, "position": { "type": "number" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "html_url", "url", "id", "node_id", "body", "path", "position", "line", "commit_id", "user", "created_at", "updated_at" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/repos/{owner}/{repo}/commits/{ref}/status": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "ref", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "commit_url": { "minLength": 1, "type": "string" }, "repository": { "properties": { "archive_url": { "minLength": 1, "type": "string" }, "assignees_url": { "minLength": 1, "type": "string" }, "blobs_url": { "minLength": 1, "type": "string" }, "branches_url": { "minLength": 1, "type": "string" }, "collaborators_url": { "minLength": 1, "type": "string" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "compare_url": { "minLength": 1, "type": "string" }, "contents_url": { "minLength": 1, "type": "string" }, "contributors_url": { "minLength": 1, "type": "string" }, "deployments_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "downloads_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "fork": { "type": "boolean" }, "forks_url": { "minLength": 1, "type": "string" }, "full_name": { "minLength": 1, "type": "string" }, "git_commits_url": { "minLength": 1, "type": "string" }, "git_refs_url": { "minLength": 1, "type": "string" }, "git_tags_url": { "minLength": 1, "type": "string" }, "git_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issue_comment_url": { "minLength": 1, "type": "string" }, "issue_events_url": { "minLength": 1, "type": "string" }, "issues_url": { "minLength": 1, "type": "string" }, "keys_url": { "minLength": 1, "type": "string" }, "labels_url": { "minLength": 1, "type": "string" }, "languages_url": { "minLength": 1, "type": "string" }, "merges_url": { "minLength": 1, "type": "string" }, "milestones_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "notifications_url": { "minLength": 1, "type": "string" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "private": { "type": "boolean" }, "pulls_url": { "minLength": 1, "type": "string" }, "releases_url": { "minLength": 1, "type": "string" }, "ssh_url": { "minLength": 1, "type": "string" }, "stargazers_url": { "minLength": 1, "type": "string" }, "statuses_url": { "minLength": 1, "type": "string" }, "subscribers_url": { "minLength": 1, "type": "string" }, "subscription_url": { "minLength": 1, "type": "string" }, "tags_url": { "minLength": 1, "type": "string" }, "teams_url": { "minLength": 1, "type": "string" }, "trees_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "node_id", "name", "full_name", "owner", "private", "html_url", "description", "fork", "url", "archive_url", "assignees_url", "blobs_url", "branches_url", "collaborators_url", "comments_url", "commits_url", "compare_url", "contents_url", "contributors_url", "deployments_url", "downloads_url", "events_url", "forks_url", "git_commits_url", "git_refs_url", "git_tags_url", "git_url", "issue_comment_url", "issue_events_url", "issues_url", "keys_url", "labels_url", "languages_url", "merges_url", "milestones_url", "notifications_url", "pulls_url", "releases_url", "ssh_url", "stargazers_url", "statuses_url", "subscribers_url", "subscription_url", "tags_url", "teams_url", "trees_url" ], "type": "object" }, "sha": { "minLength": 1, "type": "string" }, "state": { "minLength": 1, "type": "string" }, "statuses": { "items": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "context": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "state": { "minLength": 1, "type": "string" }, "target_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "avatar_url", "id", "node_id", "state", "description", "target_url", "context", "created_at", "updated_at" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "total_count": { "type": "number" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "state", "statuses", "sha", "total_count", "repository", "commit_url", "url" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/commits/{ref}/statuses": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "ref", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "context": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "creator": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "description": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "state": { "minLength": 1, "type": "string" }, "target_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "avatar_url", "id", "node_id", "state", "description", "target_url", "context", "created_at", "updated_at", "creator" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/repos/{owner}/{repo}/commits/{sha}": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "sha", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "author": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "comments_url": { "minLength": 1, "type": "string" }, "commit": { "properties": { "author": { "properties": { "date": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "name", "email", "date" ], "type": "object" }, "comment_count": { "type": "number" }, "committer": { "properties": { "date": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "name", "email", "date" ], "type": "object" }, "message": { "minLength": 1, "type": "string" }, "tree": { "properties": { "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "sha" ], "type": "object" }, "url": { "minLength": 1, "type": "string" }, "verification": { "properties": { "payload": {}, "reason": { "minLength": 1, "type": "string" }, "signature": {}, "verified": { "type": "boolean" } }, "required": [ "verified", "reason" ], "type": "object" } }, "required": [ "url", "author", "committer", "message", "tree", "comment_count", "verification" ], "type": "object" }, "committer": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "html_url": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "parents": { "items": { "properties": { "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "sha" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "sha", "node_id", "html_url", "comments_url", "commit", "author", "committer", "parents" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/commits/{sha}/comments": { "post": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "body": { "minLength": 1, "type": "string" }, "line": {}, "path": { "minLength": 1, "type": "string" }, "position": { "type": "number" } }, "required": [ "body", "path", "position" ], "type": "object" } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "sha", "required": true, "type": "string" } ], "responses": { "201": { "description": "Created", "schema": { "description": "", "properties": { "body": { "minLength": 1, "type": "string" }, "commit_id": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "line": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "path": { "minLength": 1, "type": "string" }, "position": { "type": "number" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "html_url", "url", "id", "node_id", "body", "path", "position", "line", "commit_id", "user", "created_at", "updated_at" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/community/profile": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "description": { "minLength": 1, "type": "string" }, "documentation": { "type": "boolean" }, "files": { "properties": { "code_of_conduct": { "properties": { "html_url": { "minLength": 1, "type": "string" }, "key": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "name", "key", "url", "html_url" ], "type": "object" }, "contributing": { "properties": { "html_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "html_url" ], "type": "object" }, "issue_template": { "properties": { "html_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "html_url" ], "type": "object" }, "license": { "properties": { "html_url": { "minLength": 1, "type": "string" }, "key": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "spdx_id": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "name", "key", "spdx_id", "url", "html_url" ], "type": "object" }, "pull_request_template": { "properties": { "html_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "html_url" ], "type": "object" }, "readme": { "properties": { "html_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "html_url" ], "type": "object" } }, "required": [ "code_of_conduct", "contributing", "issue_template", "pull_request_template", "license", "readme" ], "type": "object" }, "health_percentage": { "type": "number" }, "updated_at": { "minLength": 1, "type": "string" } }, "required": [ "health_percentage", "description", "documentation", "files", "updated_at" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/compare/{base}...{head}": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "base", "required": true, "type": "string" }, { "in": "path", "name": "head", "required": true, "type": "string" } ], "responses": { "200": { "description": "", "schema": { "description": "", "properties": { "ahead_by": { "type": "number" }, "base_commit": { "properties": { "author": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "comments_url": { "minLength": 1, "type": "string" }, "commit": { "properties": { "author": { "properties": { "date": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "name", "email", "date" ], "type": "object" }, "comment_count": { "type": "number" }, "committer": { "properties": { "date": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "name", "email", "date" ], "type": "object" }, "message": { "minLength": 1, "type": "string" }, "tree": { "properties": { "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "sha" ], "type": "object" }, "url": { "minLength": 1, "type": "string" }, "verification": { "properties": { "payload": {}, "reason": { "minLength": 1, "type": "string" }, "signature": {}, "verified": { "type": "boolean" } }, "required": [ "verified", "reason" ], "type": "object" } }, "required": [ "url", "author", "committer", "message", "tree", "comment_count", "verification" ], "type": "object" }, "committer": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "html_url": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "parents": { "items": { "properties": { "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "sha" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "sha", "node_id", "html_url", "comments_url", "commit", "author", "committer", "parents" ], "type": "object" }, "behind_by": { "type": "number" }, "commits": { "items": { "properties": { "author": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "comments_url": { "minLength": 1, "type": "string" }, "commit": { "properties": { "author": { "properties": { "date": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "name", "email", "date" ], "type": "object" }, "comment_count": { "type": "number" }, "committer": { "properties": { "date": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "name", "email", "date" ], "type": "object" }, "message": { "minLength": 1, "type": "string" }, "tree": { "properties": { "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "sha" ], "type": "object" }, "url": { "minLength": 1, "type": "string" }, "verification": { "properties": { "payload": {}, "reason": { "minLength": 1, "type": "string" }, "signature": {}, "verified": { "type": "boolean" } }, "required": [ "verified", "reason" ], "type": "object" } }, "required": [ "url", "author", "committer", "message", "tree", "comment_count", "verification" ], "type": "object" }, "committer": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "html_url": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "parents": { "items": { "properties": { "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "sha" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "sha", "node_id", "html_url", "comments_url" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "diff_url": { "minLength": 1, "type": "string" }, "files": { "items": { "properties": { "additions": { "type": "number" }, "blob_url": { "minLength": 1, "type": "string" }, "changes": { "type": "number" }, "contents_url": { "minLength": 1, "type": "string" }, "deletions": { "type": "number" }, "filename": { "minLength": 1, "type": "string" }, "patch": { "minLength": 1, "type": "string" }, "raw_url": { "minLength": 1, "type": "string" }, "sha": { "minLength": 1, "type": "string" }, "status": { "minLength": 1, "type": "string" } }, "required": [ "sha", "filename", "status", "additions", "deletions", "changes", "blob_url", "raw_url", "contents_url", "patch" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "html_url": { "minLength": 1, "type": "string" }, "merge_base_commit": { "properties": { "author": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "comments_url": { "minLength": 1, "type": "string" }, "commit": { "properties": { "author": { "properties": { "date": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "name", "email", "date" ], "type": "object" }, "comment_count": { "type": "number" }, "committer": { "properties": { "date": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "name", "email", "date" ], "type": "object" }, "message": { "minLength": 1, "type": "string" }, "tree": { "properties": { "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "sha" ], "type": "object" }, "url": { "minLength": 1, "type": "string" }, "verification": { "properties": { "payload": {}, "reason": { "minLength": 1, "type": "string" }, "signature": {}, "verified": { "type": "boolean" } }, "required": [ "verified", "reason" ], "type": "object" } }, "required": [ "url", "author", "committer", "message", "tree", "comment_count", "verification" ], "type": "object" }, "committer": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "html_url": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "parents": { "items": { "properties": { "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "sha" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "sha", "node_id", "html_url", "comments_url", "commit", "author", "committer", "parents" ], "type": "object" }, "patch_url": { "minLength": 1, "type": "string" }, "permalink_url": { "minLength": 1, "type": "string" }, "status": { "minLength": 1, "type": "string" }, "total_commits": { "type": "number" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "html_url", "permalink_url", "diff_url", "patch_url", "base_commit", "merge_base_commit", "status", "ahead_by", "behind_by", "total_commits", "commits", "files" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/contents/{path}": { "delete": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "committer": { "properties": { "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "name", "email" ], "type": "object" }, "message": { "minLength": 1, "type": "string" }, "sha": { "minLength": 1, "type": "string" } }, "required": [ "message", "committer", "sha" ], "type": "object" } }, { "description": "The branch name. Default: the repository’s default branch (usually master)", "in": "query", "name": "branch", "type": "string" }, { "description": "Required. The commit message.", "in": "query", "name": "message", "type": "string" }, { "description": "Required. The blob SHA of the file being replaced.", "in": "query", "name": "sha", "type": "string" }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "path", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "commit": { "properties": { "author": { "properties": { "date": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "date", "name", "email" ], "type": "object" }, "committer": { "properties": { "date": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "date", "name", "email" ], "type": "object" }, "html_url": { "minLength": 1, "type": "string" }, "message": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "parents": { "items": { "properties": { "html_url": { "minLength": 1, "type": "string" }, "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "html_url", "sha" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "sha": { "minLength": 1, "type": "string" }, "tree": { "properties": { "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "sha" ], "type": "object" }, "url": { "minLength": 1, "type": "string" }, "verification": { "properties": { "payload": {}, "reason": { "minLength": 1, "type": "string" }, "signature": {}, "verified": { "type": "boolean" } }, "required": [ "verified", "reason" ], "type": "object" } }, "required": [ "sha", "node_id", "url", "html_url", "author", "committer", "message", "tree", "parents", "verification" ], "type": "object" }, "content": {} }, "required": [ "commit" ], "type": "object" } } } }, "get": { "parameters": [ { "description": "The name of the commit/branch/tag. Default: the repository’s default branch (usually master)", "in": "query", "name": "ref", "type": "string" }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "path", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "_links": { "properties": { "git": { "minLength": 1, "type": "string" }, "html": { "minLength": 1, "type": "string" }, "self": { "minLength": 1, "type": "string" } }, "required": [ "git", "self", "html" ], "type": "object" }, "content": { "minLength": 1, "type": "string" }, "download_url": { "minLength": 1, "type": "string" }, "encoding": { "minLength": 1, "type": "string" }, "git_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "path": { "minLength": 1, "type": "string" }, "sha": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "type", "encoding", "size", "name", "path", "content", "sha", "url", "git_url", "html_url", "download_url", "_links" ], "type": "object" } } } }, "put": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "author": { "type": "string" }, "branch": { "type": "string" }, "committer": { "properties": { "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "name", "email" ], "type": "object" }, "content": { "minLength": 1, "type": "string" }, "message": { "minLength": 1, "type": "string" }, "sha": { "minLength": 1, "type": "string" } }, "required": [ "message", "committer", "content", "sha" ], "type": "object" } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "path", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "commit": { "properties": { "author": { "properties": { "date": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "date", "name", "email" ], "type": "object" }, "committer": { "properties": { "date": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "date", "name", "email" ], "type": "object" }, "html_url": { "minLength": 1, "type": "string" }, "message": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "parents": { "items": { "properties": { "html_url": { "minLength": 1, "type": "string" }, "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "html_url", "sha" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "sha": { "minLength": 1, "type": "string" }, "tree": { "properties": { "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "sha" ], "type": "object" }, "url": { "minLength": 1, "type": "string" }, "verification": { "properties": { "payload": {}, "reason": { "minLength": 1, "type": "string" }, "signature": {}, "verified": { "type": "boolean" } }, "required": [ "verified", "reason" ], "type": "object" } }, "required": [ "sha", "node_id", "url", "html_url", "author", "committer", "message", "tree", "parents", "verification" ], "type": "object" }, "content": { "properties": { "_links": { "properties": { "git": { "minLength": 1, "type": "string" }, "html": { "minLength": 1, "type": "string" }, "self": { "minLength": 1, "type": "string" } }, "required": [ "self", "git", "html" ], "type": "object" }, "download_url": { "minLength": 1, "type": "string" }, "git_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "path": { "minLength": 1, "type": "string" }, "sha": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "name", "path", "sha", "size", "url", "html_url", "git_url", "download_url", "type", "_links" ], "type": "object" } }, "required": [ "content", "commit" ], "type": "object" } }, "201": { "description": "Created", "schema": { "description": "", "properties": { "commit": { "properties": { "author": { "properties": { "date": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "date", "name", "email" ], "type": "object" }, "committer": { "properties": { "date": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "date", "name", "email" ], "type": "object" }, "html_url": { "minLength": 1, "type": "string" }, "message": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "parents": { "items": { "properties": { "html_url": { "minLength": 1, "type": "string" }, "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "html_url", "sha" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "sha": { "minLength": 1, "type": "string" }, "tree": { "properties": { "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "sha" ], "type": "object" }, "url": { "minLength": 1, "type": "string" }, "verification": { "properties": { "payload": {}, "reason": { "minLength": 1, "type": "string" }, "signature": {}, "verified": { "type": "boolean" } }, "required": [ "verified", "reason" ], "type": "object" } }, "required": [ "sha", "node_id", "url", "html_url", "author", "committer", "message", "tree", "parents", "verification" ], "type": "object" }, "content": { "properties": { "_links": { "properties": { "git": { "minLength": 1, "type": "string" }, "html": { "minLength": 1, "type": "string" }, "self": { "minLength": 1, "type": "string" } }, "required": [ "self", "git", "html" ], "type": "object" }, "download_url": { "minLength": 1, "type": "string" }, "git_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "path": { "minLength": 1, "type": "string" }, "sha": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "name", "path", "sha", "size", "url", "html_url", "git_url", "download_url", "type", "_links" ], "type": "object" } }, "required": [ "content", "commit" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/contributors": { "get": { "parameters": [ { "description": "Set to 1 or true to include anonymous contributors in results.", "in": "query", "name": "anon", "type": "string" }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content", "schema": { "description": "", "items": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "contributions": { "type": "number" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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", "contributions" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/repos/{owner}/{repo}/downloads": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "content_type": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "download_count": { "type": "number" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "name": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "html_url", "id", "name", "description", "size", "download_count", "content_type" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/repos/{owner}/{repo}/downloads/{download_id}": { "delete": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "download_id", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "download_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "content_type": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "download_count": { "type": "number" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "name": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "html_url", "id", "name", "description", "size", "download_count", "content_type" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/events": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "default": { "description": "Unknown" } } } }, "/repos/{owner}/{repo}/forks": { "get": { "parameters": [ { "description": "The sort order. Can be either newest, oldest, or stargazers. Default: newest", "in": "query", "name": "sort", "type": "string" }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "archive_url": { "minLength": 1, "type": "string" }, "archived": { "type": "boolean" }, "assignees_url": { "minLength": 1, "type": "string" }, "blobs_url": { "minLength": 1, "type": "string" }, "branches_url": { "minLength": 1, "type": "string" }, "clone_url": { "minLength": 1, "type": "string" }, "collaborators_url": { "minLength": 1, "type": "string" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "compare_url": { "minLength": 1, "type": "string" }, "contents_url": { "minLength": 1, "type": "string" }, "contributors_url": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "default_branch": { "minLength": 1, "type": "string" }, "deployments_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "downloads_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "fork": { "type": "boolean" }, "forks_count": { "type": "number" }, "forks_url": { "minLength": 1, "type": "string" }, "full_name": { "minLength": 1, "type": "string" }, "git_commits_url": { "minLength": 1, "type": "string" }, "git_refs_url": { "minLength": 1, "type": "string" }, "git_tags_url": { "minLength": 1, "type": "string" }, "git_url": { "minLength": 1, "type": "string" }, "has_downloads": { "type": "boolean" }, "has_issues": { "type": "boolean" }, "has_pages": { "type": "boolean" }, "has_projects": { "type": "boolean" }, "has_wiki": { "type": "boolean" }, "homepage": { "minLength": 1, "type": "string" }, "hooks_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issue_comment_url": { "minLength": 1, "type": "string" }, "issue_events_url": { "minLength": 1, "type": "string" }, "issues_url": { "minLength": 1, "type": "string" }, "keys_url": { "minLength": 1, "type": "string" }, "labels_url": { "minLength": 1, "type": "string" }, "language": {}, "languages_url": { "minLength": 1, "type": "string" }, "license": { "properties": { "key": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "spdx_id": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "key", "name", "spdx_id", "url", "node_id" ], "type": "object" }, "merges_url": { "minLength": 1, "type": "string" }, "milestones_url": { "minLength": 1, "type": "string" }, "mirror_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "network_count": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "notifications_url": { "minLength": 1, "type": "string" }, "open_issues_count": { "type": "number" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "permissions": { "properties": { "admin": { "type": "boolean" }, "pull": { "type": "boolean" }, "push": { "type": "boolean" } }, "required": [ "admin", "push", "pull" ], "type": "object" }, "private": { "type": "boolean" }, "pulls_url": { "minLength": 1, "type": "string" }, "pushed_at": { "minLength": 1, "type": "string" }, "releases_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "ssh_url": { "minLength": 1, "type": "string" }, "stargazers_count": { "type": "number" }, "stargazers_url": { "minLength": 1, "type": "string" }, "statuses_url": { "minLength": 1, "type": "string" }, "subscribers_count": { "type": "number" }, "subscribers_url": { "minLength": 1, "type": "string" }, "subscription_url": { "minLength": 1, "type": "string" }, "svn_url": { "minLength": 1, "type": "string" }, "tags_url": { "minLength": 1, "type": "string" }, "teams_url": { "minLength": 1, "type": "string" }, "topics": { "items": { "properties": {} }, "type": "array" }, "trees_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "watchers_count": { "type": "number" } }, "required": [ "id", "node_id", "name", "full_name", "owner", "private", "html_url", "description", "fork", "url", "archive_url", "assignees_url", "blobs_url", "branches_url", "collaborators_url", "comments_url", "commits_url", "compare_url", "contents_url", "contributors_url", "deployments_url", "downloads_url", "events_url", "forks_url", "git_commits_url", "git_refs_url", "git_tags_url", "git_url", "issue_comment_url", "issue_events_url", "issues_url", "keys_url", "labels_url", "languages_url", "merges_url", "milestones_url", "notifications_url", "pulls_url", "releases_url", "ssh_url", "stargazers_url", "statuses_url", "subscribers_url", "subscription_url", "tags_url", "teams_url", "trees_url", "clone_url", "mirror_url", "hooks_url", "svn_url", "homepage", "forks_count", "stargazers_count", "watchers_count", "size", "default_branch", "open_issues_count", "topics", "has_issues", "has_projects", "has_wiki", "has_pages", "has_downloads", "archived", "pushed_at", "created_at", "updated_at", "permissions", "subscribers_count", "network_count", "license" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } }, "post": { "parameters": [ { "in": "body", "name": "body", "schema": { "properties": { "organization": { "type": "string" } } } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "202": { "description": "Accepted", "schema": { "description": "", "properties": { "allow_merge_commit": { "type": "boolean" }, "allow_rebase_merge": { "type": "boolean" }, "allow_squash_merge": { "type": "boolean" }, "archive_url": { "minLength": 1, "type": "string" }, "archived": { "type": "boolean" }, "assignees_url": { "minLength": 1, "type": "string" }, "blobs_url": { "minLength": 1, "type": "string" }, "branches_url": { "minLength": 1, "type": "string" }, "clone_url": { "minLength": 1, "type": "string" }, "collaborators_url": { "minLength": 1, "type": "string" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "compare_url": { "minLength": 1, "type": "string" }, "contents_url": { "minLength": 1, "type": "string" }, "contributors_url": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "default_branch": { "minLength": 1, "type": "string" }, "deployments_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "downloads_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "fork": { "type": "boolean" }, "forks_count": { "type": "number" }, "forks_url": { "minLength": 1, "type": "string" }, "full_name": { "minLength": 1, "type": "string" }, "git_commits_url": { "minLength": 1, "type": "string" }, "git_refs_url": { "minLength": 1, "type": "string" }, "git_tags_url": { "minLength": 1, "type": "string" }, "git_url": { "minLength": 1, "type": "string" }, "has_downloads": { "type": "boolean" }, "has_issues": { "type": "boolean" }, "has_pages": { "type": "boolean" }, "has_projects": { "type": "boolean" }, "has_wiki": { "type": "boolean" }, "homepage": { "minLength": 1, "type": "string" }, "hooks_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issue_comment_url": { "minLength": 1, "type": "string" }, "issue_events_url": { "minLength": 1, "type": "string" }, "issues_url": { "minLength": 1, "type": "string" }, "keys_url": { "minLength": 1, "type": "string" }, "labels_url": { "minLength": 1, "type": "string" }, "language": {}, "languages_url": { "minLength": 1, "type": "string" }, "merges_url": { "minLength": 1, "type": "string" }, "milestones_url": { "minLength": 1, "type": "string" }, "mirror_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "network_count": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "notifications_url": { "minLength": 1, "type": "string" }, "open_issues_count": { "type": "number" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "permissions": { "properties": { "admin": { "type": "boolean" }, "pull": { "type": "boolean" }, "push": { "type": "boolean" } }, "required": [ "admin", "push", "pull" ], "type": "object" }, "private": { "type": "boolean" }, "pulls_url": { "minLength": 1, "type": "string" }, "pushed_at": { "minLength": 1, "type": "string" }, "releases_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "ssh_url": { "minLength": 1, "type": "string" }, "stargazers_count": { "type": "number" }, "stargazers_url": { "minLength": 1, "type": "string" }, "statuses_url": { "minLength": 1, "type": "string" }, "subscribers_count": { "type": "number" }, "subscribers_url": { "minLength": 1, "type": "string" }, "subscription_url": { "minLength": 1, "type": "string" }, "svn_url": { "minLength": 1, "type": "string" }, "tags_url": { "minLength": 1, "type": "string" }, "teams_url": { "minLength": 1, "type": "string" }, "topics": { "items": { "properties": {} }, "type": "array" }, "trees_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "watchers_count": { "type": "number" } }, "required": [ "id", "node_id", "name", "full_name", "owner", "private", "html_url", "description", "fork", "url", "archive_url", "assignees_url", "blobs_url", "branches_url", "collaborators_url", "comments_url", "commits_url", "compare_url", "contents_url", "contributors_url", "deployments_url", "downloads_url", "events_url", "forks_url", "git_commits_url", "git_refs_url", "git_tags_url", "git_url", "issue_comment_url", "issue_events_url", "issues_url", "keys_url", "labels_url", "languages_url", "merges_url", "milestones_url", "notifications_url", "pulls_url", "releases_url", "ssh_url", "stargazers_url", "statuses_url", "subscribers_url", "subscription_url", "tags_url", "teams_url", "trees_url", "clone_url", "mirror_url", "hooks_url", "svn_url", "homepage", "forks_count", "stargazers_count", "watchers_count", "size", "default_branch", "open_issues_count", "topics", "has_issues", "has_projects", "has_wiki", "has_pages", "has_downloads", "archived", "pushed_at", "created_at", "updated_at", "permissions", "allow_rebase_merge", "allow_squash_merge", "allow_merge_commit", "subscribers_count", "network_count" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/git/blobs": { "post": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "content": { "minLength": 1, "type": "string" }, "encoding": { "minLength": 1, "type": "string" } }, "required": [ "content", "encoding" ], "type": "object" } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "201": { "description": "Created", "schema": { "description": "", "properties": { "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "sha" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/git/blobs/{file_sha}": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "file_sha", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "content": { "minLength": 1, "type": "string" }, "encoding": { "minLength": 1, "type": "string" }, "sha": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "content", "encoding", "url", "sha", "size" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/git/commits": { "post": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "author": { "properties": { "date": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "name", "email", "date" ], "type": "object" }, "message": { "minLength": 1, "type": "string" }, "parents": { "items": { "properties": {} }, "type": "array" }, "signature": { "minLength": 1, "type": "string" }, "tree": { "minLength": 1, "type": "string" } }, "required": [ "message", "author", "parents", "tree", "signature" ], "type": "object" } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "201": { "description": "Created", "schema": { "description": "", "properties": { "author": { "properties": { "date": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "date", "name", "email" ], "type": "object" }, "committer": { "properties": { "date": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "date", "name", "email" ], "type": "object" }, "message": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "parents": { "items": { "properties": { "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "sha" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "sha": { "minLength": 1, "type": "string" }, "tree": { "properties": { "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "sha" ], "type": "object" }, "url": { "minLength": 1, "type": "string" }, "verification": { "properties": { "payload": {}, "reason": { "minLength": 1, "type": "string" }, "signature": {}, "verified": { "type": "boolean" } }, "required": [ "verified", "reason" ], "type": "object" } }, "required": [ "sha", "node_id", "url", "author", "committer", "message", "tree", "parents", "verification" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/git/commits/{commit_sha}": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "commit_sha", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "author": { "properties": { "date": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "date", "name", "email" ], "type": "object" }, "committer": { "properties": { "date": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "date", "name", "email" ], "type": "object" }, "message": { "minLength": 1, "type": "string" }, "parents": { "items": { "properties": { "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "sha" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "sha": { "minLength": 1, "type": "string" }, "tree": { "properties": { "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "sha" ], "type": "object" }, "url": { "minLength": 1, "type": "string" }, "verification": { "properties": { "payload": { "minLength": 1, "type": "string" }, "reason": { "minLength": 1, "type": "string" }, "signature": { "minLength": 1, "type": "string" }, "verified": { "type": "boolean" } }, "required": [ "verified", "reason", "signature", "payload" ], "type": "object" } }, "required": [ "sha", "url", "author", "committer", "message", "tree", "parents", "verification" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/git/refs": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "default": { "description": "Unknown" } } }, "post": { "parameters": [ { "in": "body", "name": "body", "schema": { "properties": { "ref": { "type": "string" }, "sha": { "type": "string" } } } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "201": { "description": "Created", "schema": { "description": "", "properties": { "node_id": { "minLength": 1, "type": "string" }, "object": { "properties": { "sha": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "type", "sha", "url" ], "type": "object" }, "ref": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "ref", "node_id", "url", "object" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/git/refs/{ref}": { "delete": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "ref", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "ref", "required": true, "type": "string" } ], "responses": { "default": { "description": "Unknown" } } }, "patch": { "parameters": [ { "in": "body", "name": "body", "schema": { "properties": { "force": { "type": "boolean" }, "sha": { "type": "string" } } } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "ref", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "node_id": { "minLength": 1, "type": "string" }, "object": { "properties": { "sha": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "type", "sha", "url" ], "type": "object" }, "ref": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "ref", "node_id", "url", "object" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/git/tags": { "post": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "message": { "minLength": 1, "type": "string" }, "object": { "minLength": 1, "type": "string" }, "tag": { "minLength": 1, "type": "string" }, "tagger": { "properties": { "date": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "name", "email", "date" ], "type": "object" }, "type": { "minLength": 1, "type": "string" } }, "required": [ "tag", "message", "object", "type", "tagger" ], "type": "object" } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "201": { "description": "Created", "schema": { "description": "", "properties": { "message": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "object": { "properties": { "sha": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "type", "sha", "url" ], "type": "object" }, "sha": { "minLength": 1, "type": "string" }, "tag": { "minLength": 1, "type": "string" }, "tagger": { "properties": { "date": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "name", "email", "date" ], "type": "object" }, "url": { "minLength": 1, "type": "string" }, "verification": { "properties": { "payload": {}, "reason": { "minLength": 1, "type": "string" }, "signature": {}, "verified": { "type": "boolean" } }, "required": [ "verified", "reason" ], "type": "object" } }, "required": [ "node_id", "tag", "sha", "url", "message", "tagger", "object", "verification" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/git/tags/{tag_sha}": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "tag_sha", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "message": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "object": { "properties": { "sha": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "type", "sha", "url" ], "type": "object" }, "sha": { "minLength": 1, "type": "string" }, "tag": { "minLength": 1, "type": "string" }, "tagger": { "properties": { "date": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "name", "email", "date" ], "type": "object" }, "url": { "minLength": 1, "type": "string" }, "verification": { "properties": { "payload": { "minLength": 1, "type": "string" }, "reason": { "minLength": 1, "type": "string" }, "signature": { "minLength": 1, "type": "string" }, "verified": { "type": "boolean" } }, "required": [ "verified", "reason", "signature", "payload" ], "type": "object" } }, "required": [ "node_id", "tag", "sha", "url", "message", "tagger", "object", "verification" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/git/trees": { "post": { "parameters": [ { "in": "body", "name": "body", "schema": { "properties": { "base_tree": { "type": "string" }, "tree": { "type": "array" } } } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "201": { "description": "Created", "schema": { "description": "", "properties": { "sha": { "minLength": 1, "type": "string" }, "tree": { "items": { "properties": { "mode": { "minLength": 1, "type": "string" }, "path": { "minLength": 1, "type": "string" }, "sha": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "path", "mode", "type", "size", "sha", "url" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "url": { "minLength": 1, "type": "string" } }, "required": [ "sha", "url", "tree" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/git/trees/{tree_sha}": { "get": { "parameters": [ { "in": "query", "name": "recursive", "type": "string" }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "tree_sha", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "sha": { "minLength": 1, "type": "string" }, "tree": { "items": { "properties": { "mode": { "minLength": 1, "type": "string" }, "path": { "minLength": 1, "type": "string" }, "sha": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "path", "mode", "type", "size", "sha", "url" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "truncated": { "type": "boolean" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "sha", "url", "tree", "truncated" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/hooks": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "active": { "type": "boolean" }, "config": { "properties": { "content_type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "content_type" ], "type": "object" }, "created_at": { "minLength": 1, "type": "string" }, "events": { "items": { "properties": {} }, "type": "array" }, "id": { "type": "number" }, "name": { "minLength": 1, "type": "string" }, "ping_url": { "minLength": 1, "type": "string" }, "test_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "url", "test_url", "ping_url", "name", "events", "active", "config", "updated_at", "created_at" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } }, "post": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "active": { "type": "boolean" }, "config": { "properties": { "content_type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "content_type" ], "type": "object" }, "events": { "items": { "properties": {} }, "type": "array" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "name", "active", "events", "config" ], "type": "object" } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "201": { "description": "Created", "schema": { "description": "", "properties": { "active": { "type": "boolean" }, "config": { "properties": { "content_type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "content_type" ], "type": "object" }, "created_at": { "minLength": 1, "type": "string" }, "events": { "items": { "properties": {} }, "type": "array" }, "id": { "type": "number" }, "name": { "minLength": 1, "type": "string" }, "ping_url": { "minLength": 1, "type": "string" }, "test_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "url", "test_url", "ping_url", "name", "events", "active", "config", "updated_at", "created_at" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/hooks/{hook_id}": { "delete": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "hook_id", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "hook_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "active": { "type": "boolean" }, "config": { "properties": { "content_type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "content_type" ], "type": "object" }, "created_at": { "minLength": 1, "type": "string" }, "events": { "items": { "properties": {} }, "type": "array" }, "id": { "type": "number" }, "name": { "minLength": 1, "type": "string" }, "ping_url": { "minLength": 1, "type": "string" }, "test_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "url", "test_url", "ping_url", "name", "events", "active", "config", "updated_at", "created_at" ], "type": "object" } } } }, "patch": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "active": { "type": "boolean" }, "add_events": { "items": { "properties": {} }, "type": "array" }, "config": { "type": "string" }, "events": { "type": "array" }, "remove_events": { "type": "array" } }, "required": [ "active", "add_events" ], "type": "object" } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "hook_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "active": { "type": "boolean" }, "config": { "properties": { "content_type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "content_type" ], "type": "object" }, "created_at": { "minLength": 1, "type": "string" }, "events": { "items": { "properties": {} }, "type": "array" }, "id": { "type": "number" }, "name": { "minLength": 1, "type": "string" }, "ping_url": { "minLength": 1, "type": "string" }, "test_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "url", "test_url", "ping_url", "name", "events", "active", "config", "updated_at", "created_at" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/hooks/{hook_id}/pings": { "post": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "hook_id", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } } }, "/repos/{owner}/{repo}/hooks/{hook_id}/tests": { "post": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "hook_id", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } } }, "/repos/{owner}/{repo}/installation": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "access_tokens_url": { "minLength": 1, "type": "string" }, "account": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "login", "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" ], "type": "object" }, "app_id": { "type": "number" }, "created_at": { "minLength": 1, "type": "string" }, "events": { "items": { "properties": {} }, "type": "array" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "permissions": { "properties": { "checks": { "minLength": 1, "type": "string" }, "contents": { "minLength": 1, "type": "string" }, "metadata": { "minLength": 1, "type": "string" } }, "required": [ "checks", "metadata", "contents" ], "type": "object" }, "repositories_url": { "minLength": 1, "type": "string" }, "repository_selection": { "minLength": 1, "type": "string" }, "single_file_name": {}, "target_id": { "type": "number" }, "target_type": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" } }, "required": [ "id", "account", "repository_selection", "access_tokens_url", "repositories_url", "html_url", "app_id", "target_id", "target_type", "permissions", "events", "created_at", "updated_at" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/invitations": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "created_at": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "invitee": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "inviter": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "permissions": { "minLength": 1, "type": "string" }, "repository": { "properties": { "archive_url": { "minLength": 1, "type": "string" }, "assignees_url": { "minLength": 1, "type": "string" }, "blobs_url": { "minLength": 1, "type": "string" }, "branches_url": { "minLength": 1, "type": "string" }, "collaborators_url": { "minLength": 1, "type": "string" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "compare_url": { "minLength": 1, "type": "string" }, "contents_url": { "minLength": 1, "type": "string" }, "contributors_url": { "minLength": 1, "type": "string" }, "deployments_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "downloads_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "fork": { "type": "boolean" }, "forks_url": { "minLength": 1, "type": "string" }, "full_name": { "minLength": 1, "type": "string" }, "git_commits_url": { "minLength": 1, "type": "string" }, "git_refs_url": { "minLength": 1, "type": "string" }, "git_tags_url": { "minLength": 1, "type": "string" }, "git_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issue_comment_url": { "minLength": 1, "type": "string" }, "issue_events_url": { "minLength": 1, "type": "string" }, "issues_url": { "minLength": 1, "type": "string" }, "keys_url": { "minLength": 1, "type": "string" }, "labels_url": { "minLength": 1, "type": "string" }, "languages_url": { "minLength": 1, "type": "string" }, "merges_url": { "minLength": 1, "type": "string" }, "milestones_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "notifications_url": { "minLength": 1, "type": "string" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "private": { "type": "boolean" }, "pulls_url": { "minLength": 1, "type": "string" }, "releases_url": { "minLength": 1, "type": "string" }, "ssh_url": { "minLength": 1, "type": "string" }, "stargazers_url": { "minLength": 1, "type": "string" }, "statuses_url": { "minLength": 1, "type": "string" }, "subscribers_url": { "minLength": 1, "type": "string" }, "subscription_url": { "minLength": 1, "type": "string" }, "tags_url": { "minLength": 1, "type": "string" }, "teams_url": { "minLength": 1, "type": "string" }, "trees_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "node_id", "name", "full_name", "owner", "private", "html_url", "description", "fork", "url", "archive_url", "assignees_url", "blobs_url", "branches_url", "collaborators_url", "comments_url", "commits_url", "compare_url", "contents_url", "contributors_url", "deployments_url", "downloads_url", "events_url", "forks_url", "git_commits_url", "git_refs_url", "git_tags_url", "git_url", "issue_comment_url", "issue_events_url", "issues_url", "keys_url", "labels_url", "languages_url", "merges_url", "milestones_url", "notifications_url", "pulls_url", "releases_url", "ssh_url", "stargazers_url", "statuses_url", "subscribers_url", "subscription_url", "tags_url", "teams_url", "trees_url" ], "type": "object" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "repository", "invitee", "inviter", "permissions", "created_at", "url", "html_url" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/repos/{owner}/{repo}/invitations/{invitation_id}": { "delete": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "invitation_id", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "patch": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "invitation_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "created_at": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "invitee": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "inviter": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "permissions": { "minLength": 1, "type": "string" }, "repository": { "properties": { "archive_url": { "minLength": 1, "type": "string" }, "assignees_url": { "minLength": 1, "type": "string" }, "blobs_url": { "minLength": 1, "type": "string" }, "branches_url": { "minLength": 1, "type": "string" }, "collaborators_url": { "minLength": 1, "type": "string" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "compare_url": { "minLength": 1, "type": "string" }, "contents_url": { "minLength": 1, "type": "string" }, "contributors_url": { "minLength": 1, "type": "string" }, "deployments_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "downloads_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "fork": { "type": "boolean" }, "forks_url": { "minLength": 1, "type": "string" }, "full_name": { "minLength": 1, "type": "string" }, "git_commits_url": { "minLength": 1, "type": "string" }, "git_refs_url": { "minLength": 1, "type": "string" }, "git_tags_url": { "minLength": 1, "type": "string" }, "git_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issue_comment_url": { "minLength": 1, "type": "string" }, "issue_events_url": { "minLength": 1, "type": "string" }, "issues_url": { "minLength": 1, "type": "string" }, "keys_url": { "minLength": 1, "type": "string" }, "labels_url": { "minLength": 1, "type": "string" }, "languages_url": { "minLength": 1, "type": "string" }, "merges_url": { "minLength": 1, "type": "string" }, "milestones_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "notifications_url": { "minLength": 1, "type": "string" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "private": { "type": "boolean" }, "pulls_url": { "minLength": 1, "type": "string" }, "releases_url": { "minLength": 1, "type": "string" }, "ssh_url": { "minLength": 1, "type": "string" }, "stargazers_url": { "minLength": 1, "type": "string" }, "statuses_url": { "minLength": 1, "type": "string" }, "subscribers_url": { "minLength": 1, "type": "string" }, "subscription_url": { "minLength": 1, "type": "string" }, "tags_url": { "minLength": 1, "type": "string" }, "teams_url": { "minLength": 1, "type": "string" }, "trees_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "node_id", "name", "full_name", "owner", "private", "html_url", "description", "fork", "url", "archive_url", "assignees_url", "blobs_url", "branches_url", "collaborators_url", "comments_url", "commits_url", "compare_url", "contents_url", "contributors_url", "deployments_url", "downloads_url", "events_url", "forks_url", "git_commits_url", "git_refs_url", "git_tags_url", "git_url", "issue_comment_url", "issue_events_url", "issues_url", "keys_url", "labels_url", "languages_url", "merges_url", "milestones_url", "notifications_url", "pulls_url", "releases_url", "ssh_url", "stargazers_url", "statuses_url", "subscribers_url", "subscription_url", "tags_url", "teams_url", "trees_url" ], "type": "object" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "repository", "invitee", "inviter", "permissions", "created_at", "url", "html_url" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/issues/{number}/comments": { "get": { "parameters": [ { "description": "Only comments updated at or after this time are returned. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.", "in": "query", "name": "since", "type": "string" }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "number", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "body": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "id", "node_id", "url", "html_url", "body", "user", "created_at", "updated_at" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } }, "post": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "number", "required": true, "type": "string" } ], "responses": { "201": { "description": "Created", "schema": { "description": "", "properties": { "body": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "id", "node_id", "url", "html_url", "body", "user", "created_at", "updated_at" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/issues/{number}/labels": { "delete": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "number", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } } }, "/repos/{owner}/{repo}/issues/{number}/lock": { "delete": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "number", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } } }, "/repos/{owner}/{repo}/issues/comments": { "get": { "parameters": [ { "description": "Either asc or desc. Ignored without the sort parameter.", "in": "query", "name": "direction", "type": "string" }, { "description": "Only comments updated at or after this time are returned. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.", "in": "query", "name": "since", "type": "string" }, { "description": "Either created or updated. Default: created", "in": "query", "name": "sort", "type": "string" }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "body": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "id", "node_id", "url", "html_url", "body", "user", "created_at", "updated_at" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/repos/{owner}/{repo}/issues/comments/{comment_id}": { "delete": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "comment_id", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "patch": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "comment_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "body": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "id", "node_id", "url", "html_url", "body", "user", "created_at", "updated_at" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/issues/events": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "default": { "description": "Unknown" } } } }, "/repos/{owner}/{repo}/keys": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "created_at": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "key": { "minLength": 1, "type": "string" }, "read_only": { "type": "boolean" }, "title": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "verified": { "type": "boolean" } }, "required": [ "id", "key", "url", "title", "verified", "created_at", "read_only" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } }, "post": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "key": { "minLength": 1, "type": "string" }, "read_only": { "type": "boolean" }, "title": { "minLength": 1, "type": "string" } }, "required": [ "title", "key", "read_only" ], "type": "object" } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "201": { "description": "Created", "schema": { "description": "", "properties": { "created_at": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "key": { "minLength": 1, "type": "string" }, "read_only": { "type": "boolean" }, "title": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "verified": { "type": "boolean" } }, "required": [ "id", "key", "url", "title", "verified", "created_at", "read_only" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/keys/{key_id}": { "delete": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "key_id", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "key_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "created_at": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "key": { "minLength": 1, "type": "string" }, "read_only": { "type": "boolean" }, "title": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "verified": { "type": "boolean" } }, "required": [ "id", "key", "url", "title", "verified", "created_at", "read_only" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/labels/{name}": { "delete": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "name", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } } }, "/repos/{owner}/{repo}/languages": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "C": { "type": "number" }, "Python": { "type": "number" } }, "required": [ "C", "Python" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/license": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "_links": { "properties": { "git": { "minLength": 1, "type": "string" }, "html": { "minLength": 1, "type": "string" }, "self": { "minLength": 1, "type": "string" } }, "required": [ "self", "git", "html" ], "type": "object" }, "content": { "minLength": 1, "type": "string" }, "download_url": { "minLength": 1, "type": "string" }, "encoding": { "minLength": 1, "type": "string" }, "git_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "license": { "properties": { "key": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "spdx_id": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "key", "name", "spdx_id", "url", "node_id" ], "type": "object" }, "name": { "minLength": 1, "type": "string" }, "path": { "minLength": 1, "type": "string" }, "sha": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "name", "path", "sha", "size", "url", "html_url", "git_url", "download_url", "type", "content", "encoding", "_links", "license" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/merges": { "post": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "201": { "description": "Created", "schema": { "description": "", "properties": { "author": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "comments_url": { "minLength": 1, "type": "string" }, "commit": { "properties": { "author": { "properties": { "date": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "name", "date", "email" ], "type": "object" }, "comment_count": { "type": "number" }, "committer": { "properties": { "date": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "name", "date", "email" ], "type": "object" }, "message": { "minLength": 1, "type": "string" }, "tree": { "properties": { "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "sha", "url" ], "type": "object" }, "url": { "minLength": 1, "type": "string" }, "verification": { "properties": { "payload": {}, "reason": { "minLength": 1, "type": "string" }, "signature": {}, "verified": { "type": "boolean" } }, "required": [ "verified", "reason" ], "type": "object" } }, "required": [ "author", "committer", "message", "tree", "url", "comment_count", "verification" ], "type": "object" }, "committer": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "html_url": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "parents": { "items": { "properties": { "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "sha", "url" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "sha", "node_id", "commit", "url", "html_url", "comments_url", "author", "committer", "parents" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/milestones": { "get": { "parameters": [ { "description": "The direction of the sort. Either asc or desc. Default: asc", "in": "query", "name": "direction", "type": "string" }, { "description": "What to sort results by. Either due_on or completeness. Default: due_on", "in": "query", "name": "sort", "type": "string" }, { "description": "The state of the milestone. Either open, closed, or all. Default: open", "in": "query", "name": "state", "type": "string" }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "closed_at": { "minLength": 1, "type": "string" }, "closed_issues": { "type": "number" }, "created_at": { "minLength": 1, "type": "string" }, "creator": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "description": { "minLength": 1, "type": "string" }, "due_on": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "labels_url": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "number": { "type": "number" }, "open_issues": { "type": "number" }, "state": { "minLength": 1, "type": "string" }, "title": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "html_url", "labels_url", "id", "node_id", "number", "state", "title", "description", "creator", "open_issues", "closed_issues", "created_at", "updated_at", "closed_at", "due_on" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } }, "post": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "description": { "minLength": 1, "type": "string" }, "due_on": { "minLength": 1, "type": "string" }, "state": { "minLength": 1, "type": "string" }, "title": { "minLength": 1, "type": "string" } }, "required": [ "title", "state", "description", "due_on" ], "type": "object" } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "201": { "description": "Created", "schema": { "description": "", "properties": { "closed_at": { "minLength": 1, "type": "string" }, "closed_issues": { "type": "number" }, "created_at": { "minLength": 1, "type": "string" }, "creator": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "description": { "minLength": 1, "type": "string" }, "due_on": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "labels_url": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "number": { "type": "number" }, "open_issues": { "type": "number" }, "state": { "minLength": 1, "type": "string" }, "title": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "html_url", "labels_url", "id", "node_id", "number", "state", "title", "description", "creator", "open_issues", "closed_issues", "created_at", "updated_at", "closed_at", "due_on" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/milestones/{number}": { "delete": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "number", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "number", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "closed_at": { "minLength": 1, "type": "string" }, "closed_issues": { "type": "number" }, "created_at": { "minLength": 1, "type": "string" }, "creator": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "description": { "minLength": 1, "type": "string" }, "due_on": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "labels_url": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "number": { "type": "number" }, "open_issues": { "type": "number" }, "state": { "minLength": 1, "type": "string" }, "title": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "html_url", "labels_url", "id", "node_id", "number", "state", "title", "description", "creator", "open_issues", "closed_issues", "created_at", "updated_at", "closed_at", "due_on" ], "type": "object" } } } }, "patch": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "description": { "minLength": 1, "type": "string" }, "due_on": { "minLength": 1, "type": "string" }, "state": { "minLength": 1, "type": "string" }, "title": { "minLength": 1, "type": "string" } }, "required": [ "title", "state", "description", "due_on" ], "type": "object" } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "number", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "closed_at": { "minLength": 1, "type": "string" }, "closed_issues": { "type": "number" }, "created_at": { "minLength": 1, "type": "string" }, "creator": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "description": { "minLength": 1, "type": "string" }, "due_on": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "labels_url": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "number": { "type": "number" }, "open_issues": { "type": "number" }, "state": { "minLength": 1, "type": "string" }, "title": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "html_url", "labels_url", "id", "node_id", "number", "state", "title", "description", "creator", "open_issues", "closed_issues", "created_at", "updated_at", "closed_at", "due_on" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/notifications": { "get": { "parameters": [ { "description": "If true, show notifications marked as read. Default: false", "in": "query", "name": "all", "type": "boolean" }, { "description": "Only show notifications updated before the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.", "in": "query", "name": "before", "type": "string" }, { "description": "If true, only shows notifications in which the user is directly participating or mentioned. Default: false", "in": "query", "name": "participating", "type": "boolean" }, { "description": "Only show notifications updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.", "in": "query", "name": "since", "type": "string" }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "id": { "minLength": 1, "type": "string" }, "last_read_at": { "minLength": 1, "type": "string" }, "reason": { "minLength": 1, "type": "string" }, "repository": { "properties": { "archive_url": { "minLength": 1, "type": "string" }, "assignees_url": { "minLength": 1, "type": "string" }, "blobs_url": { "minLength": 1, "type": "string" }, "branches_url": { "minLength": 1, "type": "string" }, "collaborators_url": { "minLength": 1, "type": "string" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "compare_url": { "minLength": 1, "type": "string" }, "contents_url": { "minLength": 1, "type": "string" }, "contributors_url": { "minLength": 1, "type": "string" }, "deployments_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "downloads_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "fork": { "type": "boolean" }, "forks_url": { "minLength": 1, "type": "string" }, "full_name": { "minLength": 1, "type": "string" }, "git_commits_url": { "minLength": 1, "type": "string" }, "git_refs_url": { "minLength": 1, "type": "string" }, "git_tags_url": { "minLength": 1, "type": "string" }, "git_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issue_comment_url": { "minLength": 1, "type": "string" }, "issue_events_url": { "minLength": 1, "type": "string" }, "issues_url": { "minLength": 1, "type": "string" }, "keys_url": { "minLength": 1, "type": "string" }, "labels_url": { "minLength": 1, "type": "string" }, "languages_url": { "minLength": 1, "type": "string" }, "merges_url": { "minLength": 1, "type": "string" }, "milestones_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "notifications_url": { "minLength": 1, "type": "string" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "private": { "type": "boolean" }, "pulls_url": { "minLength": 1, "type": "string" }, "releases_url": { "minLength": 1, "type": "string" }, "ssh_url": { "minLength": 1, "type": "string" }, "stargazers_url": { "minLength": 1, "type": "string" }, "statuses_url": { "minLength": 1, "type": "string" }, "subscribers_url": { "minLength": 1, "type": "string" }, "subscription_url": { "minLength": 1, "type": "string" }, "tags_url": { "minLength": 1, "type": "string" }, "teams_url": { "minLength": 1, "type": "string" }, "trees_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "node_id", "name", "full_name", "owner", "private", "html_url", "description", "fork", "url", "archive_url", "assignees_url", "blobs_url", "branches_url", "collaborators_url", "comments_url", "commits_url", "compare_url", "contents_url", "contributors_url", "deployments_url", "downloads_url", "events_url", "forks_url", "git_commits_url", "git_refs_url", "git_tags_url", "git_url", "issue_comment_url", "issue_events_url", "issues_url", "keys_url", "labels_url", "languages_url", "merges_url", "milestones_url", "notifications_url", "pulls_url", "releases_url", "ssh_url", "stargazers_url", "statuses_url", "subscribers_url", "subscription_url", "tags_url", "teams_url", "trees_url" ], "type": "object" }, "subject": { "properties": { "latest_comment_url": { "minLength": 1, "type": "string" }, "title": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "title", "url", "latest_comment_url", "type" ], "type": "object" }, "unread": { "type": "boolean" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "repository", "subject", "reason", "unread", "updated_at", "last_read_at", "url" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } }, "put": { "parameters": [ { "in": "body", "name": "body", "schema": { "properties": { "last_read_at": { "type": "string" } } } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "205": { "description": "Reset Content" } } } }, "/repos/{owner}/{repo}/pages": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "cname": { "minLength": 1, "type": "string" }, "custom_404": { "type": "boolean" }, "html_url": { "minLength": 1, "type": "string" }, "source": { "properties": { "branch": { "minLength": 1, "type": "string" }, "directory": { "minLength": 1, "type": "string" } }, "required": [ "branch", "directory" ], "type": "object" }, "status": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "status", "cname", "custom_404", "html_url", "source" ], "type": "object" } } } }, "put": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "cname": { "minLength": 1, "type": "string" }, "source": { "minLength": 1, "type": "string" } }, "required": [ "cname", "source" ], "type": "object" } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } } }, "/repos/{owner}/{repo}/pages/builds": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "default": { "description": "Unknown" } } }, "post": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "status": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "status" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/pages/builds/{build_id}": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "build_id", "required": true, "type": "string" } ], "responses": { "default": { "description": "Unknown" } } } }, "/repos/{owner}/{repo}/pages/builds/latest": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "default": { "description": "Unknown" } } } }, "/repos/{owner}/{repo}/pulls/{number}/comments": { "get": { "parameters": [ { "description": "Can be either asc or desc. Ignored without sort parameter.", "in": "query", "name": "direction", "type": "string" }, { "description": "This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. Only returns comments updated at or after this time.", "in": "query", "name": "since", "type": "string" }, { "description": "Can be either created or updated comments. Default: created", "in": "query", "name": "sort", "type": "string" }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "number", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "_links": { "properties": { "html": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" }, "pull_request": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" }, "self": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" } }, "required": [ "self", "html", "pull_request" ], "type": "object" }, "body": { "minLength": 1, "type": "string" }, "commit_id": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "diff_hunk": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "in_reply_to_id": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "original_commit_id": { "minLength": 1, "type": "string" }, "original_position": { "type": "number" }, "path": { "minLength": 1, "type": "string" }, "position": { "type": "number" }, "pull_request_review_id": { "type": "number" }, "pull_request_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "url", "id", "node_id", "pull_request_review_id", "diff_hunk", "path", "position", "original_position", "commit_id", "original_commit_id", "in_reply_to_id", "user", "body", "created_at", "updated_at", "html_url", "pull_request_url", "_links" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } }, "post": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "body": { "minLength": 1, "type": "string" }, "commit_id": { "minLength": 1, "type": "string" }, "path": { "minLength": 1, "type": "string" }, "position": { "type": "number" } }, "required": [ "body", "commit_id", "path", "position" ], "type": "object" } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "number", "required": true, "type": "string" } ], "responses": { "201": { "description": "Created", "schema": { "description": "", "properties": { "_links": { "properties": { "html": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" }, "pull_request": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" }, "self": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" } }, "required": [ "self", "html", "pull_request" ], "type": "object" }, "body": { "minLength": 1, "type": "string" }, "commit_id": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "diff_hunk": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "in_reply_to_id": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "original_commit_id": { "minLength": 1, "type": "string" }, "original_position": { "type": "number" }, "path": { "minLength": 1, "type": "string" }, "position": { "type": "number" }, "pull_request_review_id": { "type": "number" }, "pull_request_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "url", "id", "node_id", "pull_request_review_id", "diff_hunk", "path", "position", "original_position", "commit_id", "original_commit_id", "in_reply_to_id", "user", "body", "created_at", "updated_at", "html_url", "pull_request_url", "_links" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/pulls/{number}/commits": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "number", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "author": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "comments_url": { "minLength": 1, "type": "string" }, "commit": { "properties": { "author": { "properties": { "date": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "name", "email", "date" ], "type": "object" }, "comment_count": { "type": "number" }, "committer": { "properties": { "date": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "name", "email", "date" ], "type": "object" }, "message": { "minLength": 1, "type": "string" }, "tree": { "properties": { "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "sha" ], "type": "object" }, "url": { "minLength": 1, "type": "string" }, "verification": { "properties": { "payload": {}, "reason": { "minLength": 1, "type": "string" }, "signature": {}, "verified": { "type": "boolean" } }, "required": [ "verified", "reason" ], "type": "object" } }, "required": [ "url", "author", "committer", "message", "tree", "comment_count", "verification" ], "type": "object" }, "committer": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "html_url": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "parents": { "items": { "properties": { "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "sha" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "sha", "node_id", "html_url", "comments_url", "commit", "author", "committer", "parents" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/repos/{owner}/{repo}/pulls/{number}/files": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "number", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "additions": { "type": "number" }, "blob_url": { "minLength": 1, "type": "string" }, "changes": { "type": "number" }, "contents_url": { "minLength": 1, "type": "string" }, "deletions": { "type": "number" }, "filename": { "minLength": 1, "type": "string" }, "patch": { "minLength": 1, "type": "string" }, "raw_url": { "minLength": 1, "type": "string" }, "sha": { "minLength": 1, "type": "string" }, "status": { "minLength": 1, "type": "string" } }, "required": [ "sha", "filename", "status", "additions", "deletions", "changes", "blob_url", "raw_url", "contents_url", "patch" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/repos/{owner}/{repo}/pulls/{number}/merge": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "number", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "put": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "number", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "merged": { "type": "boolean" }, "message": { "minLength": 1, "type": "string" }, "sha": { "minLength": 1, "type": "string" } }, "required": [ "sha", "merged", "message" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/pulls/{number}/requested_reviewers": { "delete": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "reviewers": { "items": { "properties": {} }, "type": "array" }, "team_reviewers": { "items": { "properties": {} }, "type": "array" } }, "required": [ "reviewers", "team_reviewers" ], "type": "object" } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "number", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK" } } }, "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "number", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "teams": { "items": { "properties": { "description": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "members_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "parent": {}, "permission": { "minLength": 1, "type": "string" }, "privacy": { "minLength": 1, "type": "string" }, "repositories_url": { "minLength": 1, "type": "string" }, "slug": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "node_id", "url", "name", "slug", "description", "privacy", "permission", "members_url", "repositories_url" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "users": { "items": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ] }, "minItems": 1, "type": "array", "uniqueItems": true } }, "required": [ "users", "teams" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/pulls/{number}/reviews": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "number", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "_links": { "properties": { "html": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" }, "pull_request": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" } }, "required": [ "html", "pull_request" ], "type": "object" }, "body": { "minLength": 1, "type": "string" }, "commit_id": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "pull_request_url": { "minLength": 1, "type": "string" }, "state": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "id", "node_id", "user", "body", "commit_id", "state", "html_url", "pull_request_url", "_links" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } }, "post": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "body": { "minLength": 1, "type": "string" }, "comments": { "items": { "properties": { "body": { "minLength": 1, "type": "string" }, "path": { "minLength": 1, "type": "string" }, "position": { "type": "number" } }, "required": [ "path", "position", "body" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "commit_id": { "minLength": 1, "type": "string" }, "event": { "minLength": 1, "type": "string" } }, "required": [ "commit_id", "body", "event", "comments" ], "type": "object" } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "number", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "_links": { "properties": { "html": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" }, "pull_request": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" } }, "required": [ "html", "pull_request" ], "type": "object" }, "body": { "minLength": 1, "type": "string" }, "commit_id": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "pull_request_url": { "minLength": 1, "type": "string" }, "state": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "id", "node_id", "user", "body", "commit_id", "state", "html_url", "pull_request_url", "_links" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/pulls/{number}/reviews/{review_id}": { "delete": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "number", "required": true, "type": "string" }, { "in": "path", "name": "review_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "_links": { "properties": { "html": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" }, "pull_request": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" } }, "required": [ "html", "pull_request" ], "type": "object" }, "body": { "minLength": 1, "type": "string" }, "commit_id": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "pull_request_url": { "minLength": 1, "type": "string" }, "state": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "id", "node_id", "user", "body", "commit_id", "state", "html_url", "pull_request_url", "_links" ], "type": "object" } } } }, "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "number", "required": true, "type": "string" }, { "in": "path", "name": "review_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "_links": { "properties": { "html": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" }, "pull_request": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" } }, "required": [ "html", "pull_request" ], "type": "object" }, "body": { "minLength": 1, "type": "string" }, "commit_id": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "pull_request_url": { "minLength": 1, "type": "string" }, "state": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "id", "node_id", "user", "body", "commit_id", "state", "html_url", "pull_request_url", "_links" ], "type": "object" } } } }, "put": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "body": { "minLength": 1, "type": "string" } }, "required": [ "body" ], "type": "object" } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "number", "required": true, "type": "string" }, { "in": "path", "name": "review_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "_links": { "properties": { "html": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" }, "pull_request": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" } }, "required": [ "html", "pull_request" ], "type": "object" }, "body": { "minLength": 1, "type": "string" }, "commit_id": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "pull_request_url": { "minLength": 1, "type": "string" }, "state": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "id", "node_id", "user", "body", "commit_id", "state", "html_url", "pull_request_url", "_links" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/pulls/{number}/reviews/{review_id}/comments": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "number", "required": true, "type": "string" }, { "in": "path", "name": "review_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "_links": { "properties": { "html": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" }, "pull_request": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" }, "self": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" } }, "required": [ "self", "html", "pull_request" ], "type": "object" }, "body": { "minLength": 1, "type": "string" }, "commit_id": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "diff_hunk": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "in_reply_to_id": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "original_commit_id": { "minLength": 1, "type": "string" }, "original_position": { "type": "number" }, "path": { "minLength": 1, "type": "string" }, "position": { "type": "number" }, "pull_request_review_id": { "type": "number" }, "pull_request_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "url", "id", "node_id", "pull_request_review_id", "diff_hunk", "path", "position", "original_position", "commit_id", "original_commit_id", "in_reply_to_id", "user", "body", "created_at", "updated_at", "html_url", "pull_request_url", "_links" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/repos/{owner}/{repo}/pulls/{number}/reviews/{review_id}/dismissals": { "put": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "number", "required": true, "type": "string" }, { "in": "path", "name": "review_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "_links": { "properties": { "html": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" }, "pull_request": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" } }, "required": [ "html", "pull_request" ], "type": "object" }, "body": { "minLength": 1, "type": "string" }, "commit_id": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "pull_request_url": { "minLength": 1, "type": "string" }, "state": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "id", "node_id", "user", "body", "commit_id", "state", "html_url", "pull_request_url", "_links" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/pulls/{number}/reviews/{review_id}/events": { "post": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "number", "required": true, "type": "string" }, { "in": "path", "name": "review_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "_links": { "properties": { "html": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" }, "pull_request": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" } }, "required": [ "html", "pull_request" ], "type": "object" }, "body": { "minLength": 1, "type": "string" }, "commit_id": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "pull_request_url": { "minLength": 1, "type": "string" }, "state": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "id", "node_id", "user", "body", "commit_id", "state", "html_url", "pull_request_url", "_links" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/pulls/comments": { "get": { "parameters": [ { "description": "Can be either asc or desc. Ignored without sort parameter.", "in": "query", "name": "direction", "type": "string" }, { "description": "This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. Only returns comments updated at or after this time.", "in": "query", "name": "since", "type": "string" }, { "description": "Can be either created or updated comments. Default: created", "in": "query", "name": "sort", "type": "string" }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "_links": { "properties": { "html": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" }, "pull_request": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" }, "self": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" } }, "required": [ "self", "html", "pull_request" ], "type": "object" }, "body": { "minLength": 1, "type": "string" }, "commit_id": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "diff_hunk": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "in_reply_to_id": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "original_commit_id": { "minLength": 1, "type": "string" }, "original_position": { "type": "number" }, "path": { "minLength": 1, "type": "string" }, "position": { "type": "number" }, "pull_request_review_id": { "type": "number" }, "pull_request_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "url", "id", "node_id", "pull_request_review_id", "diff_hunk", "path", "position", "original_position", "commit_id", "original_commit_id", "in_reply_to_id", "user", "body", "created_at", "updated_at", "html_url", "pull_request_url", "_links" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/repos/{owner}/{repo}/pulls/comments/{comment_id}": { "delete": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "comment_id", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "comment_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "_links": { "properties": { "html": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" }, "pull_request": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" }, "self": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" } }, "required": [ "self", "html", "pull_request" ], "type": "object" }, "body": { "minLength": 1, "type": "string" }, "commit_id": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "diff_hunk": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "in_reply_to_id": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "original_commit_id": { "minLength": 1, "type": "string" }, "original_position": { "type": "number" }, "path": { "minLength": 1, "type": "string" }, "position": { "type": "number" }, "pull_request_review_id": { "type": "number" }, "pull_request_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "url", "id", "node_id", "pull_request_review_id", "diff_hunk", "path", "position", "original_position", "commit_id", "original_commit_id", "in_reply_to_id", "user", "body", "created_at", "updated_at", "html_url", "pull_request_url", "_links" ], "type": "object" } } } }, "patch": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "body": { "minLength": 1, "type": "string" } }, "required": [ "body" ], "type": "object" } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "comment_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "_links": { "properties": { "html": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" }, "pull_request": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" }, "self": { "properties": { "href": { "minLength": 1, "type": "string" } }, "required": [ "href" ], "type": "object" } }, "required": [ "self", "html", "pull_request" ], "type": "object" }, "body": { "minLength": 1, "type": "string" }, "commit_id": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "diff_hunk": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "in_reply_to_id": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "original_commit_id": { "minLength": 1, "type": "string" }, "original_position": { "type": "number" }, "path": { "minLength": 1, "type": "string" }, "position": { "type": "number" }, "pull_request_review_id": { "type": "number" }, "pull_request_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "url", "id", "node_id", "pull_request_review_id", "diff_hunk", "path", "position", "original_position", "commit_id", "original_commit_id", "in_reply_to_id", "user", "body", "created_at", "updated_at", "html_url", "pull_request_url", "_links" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/readme": { "get": { "parameters": [ { "description": "The name of the commit/branch/tag. Default: the repository’s default branch (usually master)", "in": "query", "name": "ref", "type": "string" }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "_links": { "properties": { "git": { "minLength": 1, "type": "string" }, "html": { "minLength": 1, "type": "string" }, "self": { "minLength": 1, "type": "string" } }, "required": [ "git", "self", "html" ], "type": "object" }, "content": { "minLength": 1, "type": "string" }, "download_url": { "minLength": 1, "type": "string" }, "encoding": { "minLength": 1, "type": "string" }, "git_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "path": { "minLength": 1, "type": "string" }, "sha": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "type", "encoding", "size", "name", "path", "content", "sha", "url", "git_url", "html_url", "download_url", "_links" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/releases": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "assets": { "items": { "properties": { "browser_download_url": { "minLength": 1, "type": "string" }, "content_type": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "download_count": { "type": "number" }, "id": { "type": "number" }, "label": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "state": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "uploader": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "browser_download_url", "id", "node_id", "name", "label", "state", "content_type", "size", "download_count", "created_at", "updated_at" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "assets_url": { "minLength": 1, "type": "string" }, "author": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "body": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "draft": { "type": "boolean" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "prerelease": { "type": "boolean" }, "published_at": { "minLength": 1, "type": "string" }, "tag_name": { "minLength": 1, "type": "string" }, "tarball_url": { "minLength": 1, "type": "string" }, "target_commitish": { "minLength": 1, "type": "string" }, "upload_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "zipball_url": { "minLength": 1, "type": "string" } }, "required": [ "url", "html_url", "assets_url", "upload_url", "tarball_url", "zipball_url", "id", "node_id", "tag_name", "target_commitish", "name", "body", "draft", "prerelease", "created_at", "published_at", "author", "assets" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } }, "post": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "body": { "minLength": 1, "type": "string" }, "draft": { "type": "boolean" }, "name": { "minLength": 1, "type": "string" }, "prerelease": { "type": "boolean" }, "tag_name": { "minLength": 1, "type": "string" }, "target_commitish": { "minLength": 1, "type": "string" } }, "required": [ "tag_name", "target_commitish", "name", "body", "draft", "prerelease" ], "type": "object" } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "201": { "description": "Created", "schema": { "description": "", "properties": { "assets": { "items": { "properties": {} }, "type": "array" }, "assets_url": { "minLength": 1, "type": "string" }, "author": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "body": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "draft": { "type": "boolean" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "prerelease": { "type": "boolean" }, "published_at": { "minLength": 1, "type": "string" }, "tag_name": { "minLength": 1, "type": "string" }, "tarball_url": { "minLength": 1, "type": "string" }, "target_commitish": { "minLength": 1, "type": "string" }, "upload_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "zipball_url": { "minLength": 1, "type": "string" } }, "required": [ "url", "html_url", "assets_url", "upload_url", "tarball_url", "zipball_url", "id", "node_id", "tag_name", "target_commitish", "name", "body", "draft", "prerelease", "created_at", "published_at", "author", "assets" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/releases/{release_id}": { "delete": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "release_id", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "release_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "assets": { "items": { "properties": { "browser_download_url": { "minLength": 1, "type": "string" }, "content_type": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "download_count": { "type": "number" }, "id": { "type": "number" }, "label": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "state": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "uploader": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "browser_download_url", "id", "node_id", "name", "label", "state", "content_type", "size", "download_count", "created_at", "updated_at" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "assets_url": { "minLength": 1, "type": "string" }, "author": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "body": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "draft": { "type": "boolean" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "prerelease": { "type": "boolean" }, "published_at": { "minLength": 1, "type": "string" }, "tag_name": { "minLength": 1, "type": "string" }, "tarball_url": { "minLength": 1, "type": "string" }, "target_commitish": { "minLength": 1, "type": "string" }, "upload_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "zipball_url": { "minLength": 1, "type": "string" } }, "required": [ "url", "html_url", "assets_url", "upload_url", "tarball_url", "zipball_url", "id", "node_id", "tag_name", "target_commitish", "name", "body", "draft", "prerelease", "created_at", "published_at", "author", "assets" ], "type": "object" } } } }, "patch": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "body": { "minLength": 1, "type": "string" }, "draft": { "type": "boolean" }, "name": { "minLength": 1, "type": "string" }, "prerelease": { "type": "boolean" }, "tag_name": { "minLength": 1, "type": "string" }, "target_commitish": { "minLength": 1, "type": "string" } }, "required": [ "tag_name", "target_commitish", "name", "body", "draft", "prerelease" ], "type": "object" } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "release_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "assets": { "items": { "properties": { "browser_download_url": { "minLength": 1, "type": "string" }, "content_type": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "download_count": { "type": "number" }, "id": { "type": "number" }, "label": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "state": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "uploader": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "browser_download_url", "id", "node_id", "name", "label", "state", "content_type", "size", "download_count", "created_at", "updated_at" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "assets_url": { "minLength": 1, "type": "string" }, "author": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "body": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "draft": { "type": "boolean" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "prerelease": { "type": "boolean" }, "published_at": { "minLength": 1, "type": "string" }, "tag_name": { "minLength": 1, "type": "string" }, "tarball_url": { "minLength": 1, "type": "string" }, "target_commitish": { "minLength": 1, "type": "string" }, "upload_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "zipball_url": { "minLength": 1, "type": "string" } }, "required": [ "url", "html_url", "assets_url", "upload_url", "tarball_url", "zipball_url", "id", "node_id", "tag_name", "target_commitish", "name", "body", "draft", "prerelease", "created_at", "published_at", "author", "assets" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/releases/{release_id}/assets": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "release_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "browser_download_url": { "minLength": 1, "type": "string" }, "content_type": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "download_count": { "type": "number" }, "id": { "type": "number" }, "label": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "state": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "uploader": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "browser_download_url", "id", "node_id", "name", "label", "state", "content_type", "size", "download_count", "created_at", "updated_at", "uploader" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/repos/{owner}/{repo}/releases/assets/{asset_id}": { "delete": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "asset_id", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "asset_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "browser_download_url": { "minLength": 1, "type": "string" }, "content_type": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "download_count": { "type": "number" }, "id": { "type": "number" }, "label": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "state": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "uploader": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "browser_download_url", "id", "node_id", "name", "label", "state", "content_type", "size", "download_count", "created_at", "updated_at", "uploader" ], "type": "object" } } } }, "patch": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "label": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "name", "label" ], "type": "object" } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "asset_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "browser_download_url": { "minLength": 1, "type": "string" }, "content_type": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "download_count": { "type": "number" }, "id": { "type": "number" }, "label": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "state": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "uploader": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "browser_download_url", "id", "node_id", "name", "label", "state", "content_type", "size", "download_count", "created_at", "updated_at", "uploader" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/releases/latest": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "assets": { "items": { "properties": { "browser_download_url": { "minLength": 1, "type": "string" }, "content_type": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "download_count": { "type": "number" }, "id": { "type": "number" }, "label": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "state": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "uploader": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "browser_download_url", "id", "node_id", "name", "label", "state", "content_type", "size", "download_count", "created_at", "updated_at" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "assets_url": { "minLength": 1, "type": "string" }, "author": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "body": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "draft": { "type": "boolean" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "prerelease": { "type": "boolean" }, "published_at": { "minLength": 1, "type": "string" }, "tag_name": { "minLength": 1, "type": "string" }, "tarball_url": { "minLength": 1, "type": "string" }, "target_commitish": { "minLength": 1, "type": "string" }, "upload_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "zipball_url": { "minLength": 1, "type": "string" } }, "required": [ "url", "html_url", "assets_url", "upload_url", "tarball_url", "zipball_url", "id", "node_id", "tag_name", "target_commitish", "name", "body", "draft", "prerelease", "created_at", "published_at", "author", "assets" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/releases/tags/{tag}": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "tag", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "assets": { "items": { "properties": { "browser_download_url": { "minLength": 1, "type": "string" }, "content_type": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "download_count": { "type": "number" }, "id": { "type": "number" }, "label": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "state": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "uploader": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "browser_download_url", "id", "node_id", "name", "label", "state", "content_type", "size", "download_count", "created_at", "updated_at" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "assets_url": { "minLength": 1, "type": "string" }, "author": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "body": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "draft": { "type": "boolean" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "prerelease": { "type": "boolean" }, "published_at": { "minLength": 1, "type": "string" }, "tag_name": { "minLength": 1, "type": "string" }, "tarball_url": { "minLength": 1, "type": "string" }, "target_commitish": { "minLength": 1, "type": "string" }, "upload_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "zipball_url": { "minLength": 1, "type": "string" } }, "required": [ "url", "html_url", "assets_url", "upload_url", "tarball_url", "zipball_url", "id", "node_id", "tag_name", "target_commitish", "name", "body", "draft", "prerelease", "created_at", "published_at", "author", "assets" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/stargazers": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/repos/{owner}/{repo}/stats/code_frequency": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "0": { "items": { "properties": {} }, "type": "array", "uniqueItems": true } }, "required": [ "0" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/repos/{owner}/{repo}/stats/commit_activity": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "days": { "items": { "properties": {} }, "type": "array" }, "total": { "type": "number" }, "week": { "type": "number" } }, "required": [ "days", "total", "week" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/repos/{owner}/{repo}/stats/contributors": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "author": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "total": { "type": "number" }, "weeks": { "items": { "properties": { "a": { "type": "number" }, "c": { "type": "number" }, "d": { "type": "number" }, "w": { "minLength": 1, "type": "string" } }, "required": [ "w", "a", "d", "c" ] }, "minItems": 1, "type": "array", "uniqueItems": true } }, "required": [ "author", "total", "weeks" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/repos/{owner}/{repo}/stats/participation": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "all": { "items": { "properties": {} }, "type": "array" }, "owner": { "items": { "properties": {} }, "type": "array" } }, "required": [ "all", "owner" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/stats/punch_card": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "0": { "items": { "properties": {} }, "type": "array", "uniqueItems": true }, "1": { "items": { "properties": {} }, "type": "array", "uniqueItems": true }, "2": { "items": { "properties": {} }, "type": "array", "uniqueItems": true } }, "required": [ "0", "1", "2" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/repos/{owner}/{repo}/statuses/{sha}": { "post": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "context": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "state": { "minLength": 1, "type": "string" }, "target_url": { "minLength": 1, "type": "string" } }, "required": [ "state", "target_url", "description", "context" ], "type": "object" } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" }, { "in": "path", "name": "sha", "required": true, "type": "string" } ], "responses": { "201": { "description": "Created", "schema": { "description": "", "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "context": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "creator": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "description": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "state": { "minLength": 1, "type": "string" }, "target_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "avatar_url", "id", "node_id", "state", "description", "target_url", "context", "created_at", "updated_at", "creator" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/subscribers": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/repos/{owner}/{repo}/subscription": { "delete": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "created_at": { "minLength": 1, "type": "string" }, "ignored": { "type": "boolean" }, "reason": {}, "repository_url": { "minLength": 1, "type": "string" }, "subscribed": { "type": "boolean" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "subscribed", "ignored", "created_at", "url", "repository_url" ], "type": "object" } } } }, "put": { "parameters": [ { "in": "body", "name": "body", "schema": { "properties": { "ignored": { "type": "boolean" }, "subscribed": { "type": "boolean" } } } }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "created_at": { "minLength": 1, "type": "string" }, "ignored": { "type": "boolean" }, "reason": {}, "repository_url": { "minLength": 1, "type": "string" }, "subscribed": { "type": "boolean" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "subscribed", "ignored", "created_at", "url", "repository_url" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/tags": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "commit": { "properties": { "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "sha", "url" ], "type": "object" }, "name": { "minLength": 1, "type": "string" }, "tarball_url": { "minLength": 1, "type": "string" }, "zipball_url": { "minLength": 1, "type": "string" } }, "required": [ "name", "commit", "zipball_url", "tarball_url" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/repos/{owner}/{repo}/teams": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "description": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "members_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "parent": {}, "permission": { "minLength": 1, "type": "string" }, "privacy": { "minLength": 1, "type": "string" }, "repositories_url": { "minLength": 1, "type": "string" }, "slug": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "node_id", "url", "name", "slug", "description", "privacy", "permission", "members_url", "repositories_url" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/repos/{owner}/{repo}/traffic/clones": { "get": { "parameters": [ { "description": "Must be one of: day, week. Default: day", "in": "query", "name": "per", "type": "string" }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "clones": { "items": { "properties": { "count": { "type": "number" }, "timestamp": { "minLength": 1, "type": "string" }, "uniques": { "type": "number" } }, "required": [ "timestamp", "count", "uniques" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "count": { "type": "number" }, "uniques": { "type": "number" } }, "required": [ "count", "uniques", "clones" ], "type": "object" } } } } }, "/repos/{owner}/{repo}/traffic/popular/paths": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "count": { "type": "number" }, "path": { "minLength": 1, "type": "string" }, "title": { "minLength": 1, "type": "string" }, "uniques": { "type": "number" } }, "required": [ "path", "title", "count", "uniques" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/repos/{owner}/{repo}/traffic/popular/referrers": { "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "count": { "type": "number" }, "referrer": { "minLength": 1, "type": "string" }, "uniques": { "type": "number" } }, "required": [ "referrer", "count", "uniques" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/repos/{owner}/{repo}/traffic/views": { "get": { "parameters": [ { "description": "Must be one of: day, week. Default: day", "in": "query", "name": "per", "type": "string" }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "count": { "type": "number" }, "uniques": { "type": "number" }, "views": { "items": { "properties": { "count": { "type": "number" }, "timestamp": { "minLength": 1, "type": "string" }, "uniques": { "type": "number" } }, "required": [ "timestamp", "count", "uniques" ] }, "minItems": 1, "type": "array", "uniqueItems": true } }, "required": [ "count", "uniques", "views" ], "type": "object" } } } } }, "/repositories": { "get": { "parameters": [ { "description": "The integer ID of the last Repository that you've seen.", "in": "query", "name": "since", "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "archive_url": { "minLength": 1, "type": "string" }, "assignees_url": { "minLength": 1, "type": "string" }, "blobs_url": { "minLength": 1, "type": "string" }, "branches_url": { "minLength": 1, "type": "string" }, "collaborators_url": { "minLength": 1, "type": "string" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "compare_url": { "minLength": 1, "type": "string" }, "contents_url": { "minLength": 1, "type": "string" }, "contributors_url": { "minLength": 1, "type": "string" }, "deployments_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "downloads_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "fork": { "type": "boolean" }, "forks_url": { "minLength": 1, "type": "string" }, "full_name": { "minLength": 1, "type": "string" }, "git_commits_url": { "minLength": 1, "type": "string" }, "git_refs_url": { "minLength": 1, "type": "string" }, "git_tags_url": { "minLength": 1, "type": "string" }, "git_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issue_comment_url": { "minLength": 1, "type": "string" }, "issue_events_url": { "minLength": 1, "type": "string" }, "issues_url": { "minLength": 1, "type": "string" }, "keys_url": { "minLength": 1, "type": "string" }, "labels_url": { "minLength": 1, "type": "string" }, "languages_url": { "minLength": 1, "type": "string" }, "merges_url": { "minLength": 1, "type": "string" }, "milestones_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "notifications_url": { "minLength": 1, "type": "string" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "private": { "type": "boolean" }, "pulls_url": { "minLength": 1, "type": "string" }, "releases_url": { "minLength": 1, "type": "string" }, "ssh_url": { "minLength": 1, "type": "string" }, "stargazers_url": { "minLength": 1, "type": "string" }, "statuses_url": { "minLength": 1, "type": "string" }, "subscribers_url": { "minLength": 1, "type": "string" }, "subscription_url": { "minLength": 1, "type": "string" }, "tags_url": { "minLength": 1, "type": "string" }, "teams_url": { "minLength": 1, "type": "string" }, "trees_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "node_id", "name", "full_name", "owner", "private", "html_url", "description", "fork", "url", "archive_url", "assignees_url", "blobs_url", "branches_url", "collaborators_url", "comments_url", "commits_url", "compare_url", "contents_url", "contributors_url", "deployments_url", "downloads_url", "events_url", "forks_url", "git_commits_url", "git_refs_url", "git_tags_url", "git_url", "issue_comment_url", "issue_events_url", "issues_url", "keys_url", "labels_url", "languages_url", "merges_url", "milestones_url", "notifications_url", "pulls_url", "releases_url", "ssh_url", "stargazers_url", "statuses_url", "subscribers_url", "subscription_url", "tags_url", "teams_url", "trees_url" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/scim/v2/organizations/{org}/Users": { "get": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "itemsPerPage": { "type": "number" }, "Resources": { "items": { "properties": { "active": { "type": "boolean" }, "emails": { "items": { "properties": { "primary": { "type": "boolean" }, "type": { "minLength": 1, "type": "string" }, "value": { "minLength": 1, "type": "string" } }, "required": [ "value", "primary", "type" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "externalId": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "properties": { "created": { "minLength": 1, "type": "string" }, "lastModified": { "minLength": 1, "type": "string" }, "location": { "minLength": 1, "type": "string" }, "resourceType": { "minLength": 1, "type": "string" } }, "required": [ "resourceType", "created", "lastModified", "location" ], "type": "object" }, "name": { "properties": { "familyName": { "minLength": 1, "type": "string" }, "givenName": { "minLength": 1, "type": "string" } }, "required": [ "givenName", "familyName" ], "type": "object" }, "schemas": { "items": { "properties": {} }, "type": "array" }, "userName": { "minLength": 1, "type": "string" } }, "required": [ "id", "externalId", "userName", "active" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "schemas": { "items": { "properties": {} }, "type": "array" }, "startIndex": { "type": "number" }, "totalResults": { "type": "number" } }, "required": [ "schemas", "totalResults", "itemsPerPage", "startIndex", "Resources" ], "type": "object" } }, { "description": "Used for pagination: the number of results to return.", "in": "query", "name": "count", "type": "integer" }, { "description": "Filters results using the equals query parameter operator (eq). You can filter results that are equal to id, userName, emails, and external_id. For example, to search for an identity with the userName Octocat, you would use this query: ?filter=userName%20eq%20\\\"Octocat\\\"", "in": "query", "name": "filter", "type": "string" }, { "description": "Used for pagination: the index of the first result to return.", "in": "query", "name": "startIndex", "type": "integer" }, { "in": "path", "name": "org", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "itemsPerPage": { "type": "number" }, "Resources": { "items": { "properties": { "active": { "type": "boolean" }, "emails": { "items": { "properties": { "primary": { "type": "boolean" }, "type": { "minLength": 1, "type": "string" }, "value": { "minLength": 1, "type": "string" } }, "required": [ "value", "primary", "type" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "externalId": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "properties": { "created": { "minLength": 1, "type": "string" }, "lastModified": { "minLength": 1, "type": "string" }, "location": { "minLength": 1, "type": "string" }, "resourceType": { "minLength": 1, "type": "string" } }, "required": [ "resourceType", "created", "lastModified", "location" ], "type": "object" }, "name": { "properties": { "familyName": { "minLength": 1, "type": "string" }, "givenName": { "minLength": 1, "type": "string" } }, "required": [ "givenName", "familyName" ], "type": "object" }, "schemas": { "items": { "properties": {} }, "type": "array" }, "userName": { "minLength": 1, "type": "string" } }, "required": [ "id", "externalId", "userName", "active" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "schemas": { "items": { "properties": {} }, "type": "array" }, "startIndex": { "type": "number" }, "totalResults": { "type": "number" } }, "required": [ "schemas", "totalResults", "itemsPerPage", "startIndex", "Resources" ], "type": "object" } } } }, "post": { "parameters": [ { "in": "path", "name": "org", "required": true, "type": "string" } ], "responses": { "201": { "description": "Created", "schema": { "description": "", "properties": { "active": { "type": "boolean" }, "externalId": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "properties": { "created": { "minLength": 1, "type": "string" }, "lastModified": { "minLength": 1, "type": "string" }, "resourceType": { "minLength": 1, "type": "string" } }, "required": [ "resourceType", "created", "lastModified" ], "type": "object" }, "name": { "properties": { "familyName": { "minLength": 1, "type": "string" }, "givenName": { "minLength": 1, "type": "string" } }, "required": [ "givenName", "familyName" ], "type": "object" }, "schemas": { "items": { "properties": {} }, "type": "array" }, "userName": { "minLength": 1, "type": "string" } }, "required": [ "schemas", "id", "externalId", "userName", "name", "active", "meta" ], "type": "object" } } } } }, "/scim/v2/organizations/{org}/Users/{external_identity_guid}": { "delete": { "parameters": [ { "in": "path", "name": "org", "required": true, "type": "string" }, { "in": "path", "name": "external_identity_guid", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "get": { "parameters": [ { "in": "path", "name": "org", "required": true, "type": "string" }, { "in": "path", "name": "external_identity_guid", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "active": { "type": "boolean" }, "externalId": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "properties": { "created": { "minLength": 1, "type": "string" }, "lastModified": { "minLength": 1, "type": "string" }, "resourceType": { "minLength": 1, "type": "string" } }, "required": [ "resourceType", "created", "lastModified" ], "type": "object" }, "name": { "properties": { "familyName": { "minLength": 1, "type": "string" }, "givenName": { "minLength": 1, "type": "string" } }, "required": [ "givenName", "familyName" ], "type": "object" }, "schemas": { "items": { "properties": {} }, "type": "array" }, "userName": { "minLength": 1, "type": "string" } }, "required": [ "schemas", "id", "externalId", "userName", "name", "active", "meta" ], "type": "object" } }, "default": { "description": "Unknown" } } }, "patch": { "parameters": [ { "in": "path", "name": "org", "required": true, "type": "string" }, { "in": "path", "name": "external_identity_guid", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "active": { "type": "boolean" }, "externalId": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "properties": { "created": { "minLength": 1, "type": "string" }, "lastModified": { "minLength": 1, "type": "string" }, "resourceType": { "minLength": 1, "type": "string" } }, "required": [ "resourceType", "created", "lastModified" ], "type": "object" }, "name": { "properties": { "familyName": { "minLength": 1, "type": "string" }, "givenName": { "minLength": 1, "type": "string" } }, "required": [ "givenName", "familyName" ], "type": "object" }, "schemas": { "items": { "properties": {} }, "type": "array" }, "userName": { "minLength": 1, "type": "string" } }, "required": [ "schemas", "id", "externalId", "userName", "name", "active", "meta" ], "type": "object" } } } }, "put": { "parameters": [ { "in": "path", "name": "org", "required": true, "type": "string" }, { "in": "path", "name": "external_identity_guid", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "active": { "type": "boolean" }, "externalId": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "properties": { "created": { "minLength": 1, "type": "string" }, "lastModified": { "minLength": 1, "type": "string" }, "resourceType": { "minLength": 1, "type": "string" } }, "required": [ "resourceType", "created", "lastModified" ], "type": "object" }, "name": { "properties": { "familyName": { "minLength": 1, "type": "string" }, "givenName": { "minLength": 1, "type": "string" } }, "required": [ "givenName", "familyName" ], "type": "object" }, "schemas": { "items": { "properties": {} }, "type": "array" }, "userName": { "minLength": 1, "type": "string" } }, "required": [ "schemas", "id", "externalId", "userName", "name", "active", "meta" ], "type": "object" } } } } }, "/search/code": { "get": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "incomplete_results": { "type": "boolean" }, "items": { "items": { "properties": { "git_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "path": { "minLength": 1, "type": "string" }, "repository": { "properties": { "archive_url": { "minLength": 1, "type": "string" }, "assignees_url": { "minLength": 1, "type": "string" }, "blobs_url": { "minLength": 1, "type": "string" }, "branches_url": { "minLength": 1, "type": "string" }, "collaborators_url": { "minLength": 1, "type": "string" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "compare_url": { "minLength": 1, "type": "string" }, "contents_url": { "minLength": 1, "type": "string" }, "contributors_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "downloads_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "fork": { "type": "boolean" }, "forks_url": { "minLength": 1, "type": "string" }, "full_name": { "minLength": 1, "type": "string" }, "git_commits_url": { "minLength": 1, "type": "string" }, "git_refs_url": { "minLength": 1, "type": "string" }, "git_tags_url": { "minLength": 1, "type": "string" }, "hooks_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issue_comment_url": { "minLength": 1, "type": "string" }, "issue_events_url": { "minLength": 1, "type": "string" }, "issues_url": { "minLength": 1, "type": "string" }, "keys_url": { "minLength": 1, "type": "string" }, "labels_url": { "minLength": 1, "type": "string" }, "languages_url": { "minLength": 1, "type": "string" }, "merges_url": { "minLength": 1, "type": "string" }, "milestones_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "notifications_url": { "minLength": 1, "type": "string" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "private": { "type": "boolean" }, "pulls_url": { "minLength": 1, "type": "string" }, "stargazers_url": { "minLength": 1, "type": "string" }, "statuses_url": { "minLength": 1, "type": "string" }, "subscribers_url": { "minLength": 1, "type": "string" }, "subscription_url": { "minLength": 1, "type": "string" }, "tags_url": { "minLength": 1, "type": "string" }, "teams_url": { "minLength": 1, "type": "string" }, "trees_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "node_id", "name", "full_name", "owner", "private", "html_url", "description", "fork", "url", "forks_url", "keys_url", "collaborators_url", "teams_url", "hooks_url", "issue_events_url", "events_url", "assignees_url", "branches_url", "tags_url", "blobs_url", "git_tags_url", "git_refs_url", "trees_url", "statuses_url", "languages_url", "stargazers_url", "contributors_url", "subscribers_url", "subscription_url", "commits_url", "git_commits_url", "comments_url", "issue_comment_url", "contents_url", "compare_url", "merges_url", "archive_url", "downloads_url", "issues_url", "pulls_url", "milestones_url", "notifications_url", "labels_url" ], "type": "object" }, "score": { "type": "number" }, "sha": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "name", "path", "sha", "url", "git_url", "html_url", "score" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "total_count": { "type": "number" } }, "required": [ "total_count", "incomplete_results", "items" ], "type": "object" } }, { "description": "Determines whether the first search result returned is the highest number of matches (desc) or lowest number of matches (asc). This parameter is ignored unless you provide sort. Default: desc", "in": "query", "name": "order", "type": "string" }, { "description": "Required. The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see Constructing a search query. See \"Searching code\" for a detailed list of qualifiers.", "in": "query", "name": "q", "type": "string" }, { "description": "Sorts the results of your query. Can only be indexed, which indicates how recently a file has been indexed by the GitHub search infrastructure. Default: best match", "in": "query", "name": "sort", "type": "string" } ], "responses": { "default": { "description": "Unknown" } } } }, "/search/users": { "get": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "incomplete_results": { "type": "boolean" }, "items": { "items": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "score": { "type": "number" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "login", "id", "node_id", "avatar_url", "gravatar_id", "url", "html_url", "followers_url", "subscriptions_url", "organizations_url", "repos_url", "received_events_url", "type", "score" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "total_count": { "type": "number" } }, "required": [ "total_count", "incomplete_results", "items" ], "type": "object" } }, { "description": "Determines whether the first search result returned is the highest number of matches (desc) or lowest number of matches (asc). This parameter is ignored unless you provide sort. Default: desc", "in": "query", "name": "order", "type": "string" }, { "description": "Required. The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see Constructing a search query. See \"Searching users\" for a detailed list of qualifiers.", "in": "query", "name": "q", "type": "string" }, { "description": "Sorts the results of your query by number of followers or repositories, or when the person joined GitHub. Default: best match", "in": "query", "name": "sort", "type": "string" } ], "responses": { "default": { "description": "Unknown" } } } }, "/teams/{team_id}/members/{username}": { "delete": { "parameters": [ { "in": "path", "name": "team_id", "required": true, "type": "string" }, { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "get": { "parameters": [ { "in": "path", "name": "team_id", "required": true, "type": "string" }, { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "put": { "parameters": [ { "in": "path", "name": "team_id", "required": true, "type": "string" }, { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content", "schema": { "description": "", "properties": { "errors": { "items": { "properties": { "code": { "minLength": 1, "type": "string" }, "field": { "minLength": 1, "type": "string" }, "resource": { "minLength": 1, "type": "string" } }, "required": [ "code", "field", "resource" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "message": { "minLength": 1, "type": "string" } }, "required": [ "message", "errors" ], "type": "object" } } } } }, "/teams/{team_id}/memberships/{username}": { "delete": { "parameters": [ { "in": "path", "name": "team_id", "required": true, "type": "string" }, { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "put": { "parameters": [ { "in": "body", "name": "body", "schema": { "properties": { "role": { "type": "string" } } } }, { "in": "path", "name": "team_id", "required": true, "type": "string" }, { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "role": { "minLength": 1, "type": "string" }, "state": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "url", "role", "state" ], "type": "object" } } } } }, "/teams/{team_id}/projects/{project_id}": { "delete": { "parameters": [ { "in": "path", "name": "team_id", "required": true, "type": "string" }, { "in": "path", "name": "project_id", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } } }, "/teams/{team_id}/repos/{owner}/{repo}": { "delete": { "parameters": [ { "in": "path", "name": "team_id", "required": true, "type": "string" }, { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } } }, "/user": { "get": { "parameters": [], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "bio": { "minLength": 1, "type": "string" }, "blog": { "minLength": 1, "type": "string" }, "collaborators": { "type": "number" }, "company": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "disk_usage": { "type": "number" }, "email": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers": { "type": "number" }, "followers_url": { "minLength": 1, "type": "string" }, "following": { "type": "number" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "hireable": { "type": "boolean" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "location": { "minLength": 1, "type": "string" }, "login": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "owned_private_repos": { "type": "number" }, "plan": { "properties": { "collaborators": { "type": "number" }, "name": { "minLength": 1, "type": "string" }, "private_repos": { "type": "number" }, "space": { "type": "number" } }, "required": [ "name", "space", "private_repos", "collaborators" ], "type": "object" }, "private_gists": { "type": "number" }, "public_gists": { "type": "number" }, "public_repos": { "type": "number" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "total_private_repos": { "type": "number" }, "two_factor_authentication": { "type": "boolean" }, "type": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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", "public_repos", "public_gists", "followers", "following", "created_at", "updated_at", "private_gists", "total_private_repos", "owned_private_repos", "disk_usage", "collaborators", "two_factor_authentication", "plan" ], "type": "object" } } } }, "patch": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "bio": { "minLength": 1, "type": "string" }, "blog": { "minLength": 1, "type": "string" }, "company": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "hireable": { "type": "boolean" }, "location": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "name", "email", "blog", "company", "location", "hireable", "bio" ], "type": "object" } } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "bio": { "minLength": 1, "type": "string" }, "blog": { "minLength": 1, "type": "string" }, "collaborators": { "type": "number" }, "company": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "disk_usage": { "type": "number" }, "email": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers": { "type": "number" }, "followers_url": { "minLength": 1, "type": "string" }, "following": { "type": "number" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "hireable": { "type": "boolean" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "location": { "minLength": 1, "type": "string" }, "login": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "owned_private_repos": { "type": "number" }, "plan": { "properties": { "collaborators": { "type": "number" }, "name": { "minLength": 1, "type": "string" }, "private_repos": { "type": "number" }, "space": { "type": "number" } }, "required": [ "name", "space", "private_repos", "collaborators" ], "type": "object" }, "private_gists": { "type": "number" }, "public_gists": { "type": "number" }, "public_repos": { "type": "number" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "total_private_repos": { "type": "number" }, "two_factor_authentication": { "type": "boolean" }, "type": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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", "public_repos", "public_gists", "followers", "following", "created_at", "updated_at", "private_gists", "total_private_repos", "owned_private_repos", "disk_usage", "collaborators", "two_factor_authentication", "plan" ], "type": "object" } } } } }, "/user/blocks": { "get": { "parameters": [], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/user/blocks/{username}": { "delete": { "parameters": [ { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "get": { "parameters": [ { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "put": { "parameters": [ { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } } }, "/user/email/visibility": { "patch": { "parameters": [], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "email": { "minLength": 1, "type": "string" }, "primary": { "type": "boolean" }, "verified": { "type": "boolean" }, "visibility": { "minLength": 1, "type": "string" } }, "required": [ "email", "primary", "verified", "visibility" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/user/emails": { "delete": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "emails": { "items": { "properties": {} }, "type": "array" } }, "required": [ "emails" ], "type": "object" } }, { "description": "Required. Deletes one or more email addresses from your GitHub account. Must contain at least one email address. Note: Alternatively, you can pass a single email address or an array of emails addresses directly, but we recommend that you pass an object using the emails key.", "in": "query", "items": { "type": "string" }, "name": "emails", "type": "array" } ], "responses": { "204": { "description": "No Content" } } }, "get": { "parameters": [], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "email": { "minLength": 1, "type": "string" }, "primary": { "type": "boolean" }, "verified": { "type": "boolean" }, "visibility": { "minLength": 1, "type": "string" } }, "required": [ "email", "verified", "primary", "visibility" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } }, "post": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "emails": { "items": { "properties": {} }, "type": "array" } }, "required": [ "emails" ], "type": "object" } } ], "responses": { "201": { "description": "Created", "schema": { "description": "", "items": { "properties": { "email": { "minLength": 1, "type": "string" }, "primary": { "type": "boolean" }, "verified": { "type": "boolean" }, "visibility": { "minLength": 1, "type": "string" } }, "required": [ "email", "primary", "verified", "visibility" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/user/following/{username}": { "delete": { "parameters": [ { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "get": { "parameters": [ { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "put": { "parameters": [ { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } } }, "/user/gpg_keys": { "get": { "parameters": [], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "can_certify": { "type": "boolean" }, "can_encrypt_comms": { "type": "boolean" }, "can_encrypt_storage": { "type": "boolean" }, "can_sign": { "type": "boolean" }, "created_at": { "minLength": 1, "type": "string" }, "emails": { "items": { "properties": { "email": { "minLength": 1, "type": "string" }, "verified": { "type": "boolean" } }, "required": [ "email", "verified" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "expires_at": {}, "id": { "type": "number" }, "key_id": { "minLength": 1, "type": "string" }, "primary_key_id": {}, "public_key": { "minLength": 1, "type": "string" }, "subkeys": { "items": { "properties": { "can_certify": { "type": "boolean" }, "can_encrypt_comms": { "type": "boolean" }, "can_encrypt_storage": { "type": "boolean" }, "can_sign": { "type": "boolean" }, "created_at": { "minLength": 1, "type": "string" }, "emails": { "items": { "properties": {} }, "type": "array" }, "expires_at": {}, "id": { "type": "number" }, "key_id": { "minLength": 1, "type": "string" }, "primary_key_id": { "type": "number" }, "public_key": { "minLength": 1, "type": "string" }, "subkeys": { "items": { "properties": {} }, "type": "array" } }, "required": [ "id", "primary_key_id", "key_id", "public_key", "can_sign", "can_encrypt_comms", "can_encrypt_storage", "can_certify", "created_at" ] }, "minItems": 1, "type": "array", "uniqueItems": true } }, "required": [ "id", "key_id", "public_key", "emails", "subkeys", "can_sign", "can_encrypt_comms", "can_encrypt_storage", "can_certify", "created_at" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } }, "post": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "armored_public_key": { "minLength": 1, "type": "string" } }, "required": [ "armored_public_key" ], "type": "object" } } ], "responses": { "201": { "description": "Created", "schema": { "description": "", "properties": { "can_certify": { "type": "boolean" }, "can_encrypt_comms": { "type": "boolean" }, "can_encrypt_storage": { "type": "boolean" }, "can_sign": { "type": "boolean" }, "created_at": { "minLength": 1, "type": "string" }, "emails": { "items": { "properties": { "email": { "minLength": 1, "type": "string" }, "verified": { "type": "boolean" } }, "required": [ "email", "verified" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "expires_at": {}, "id": { "type": "number" }, "key_id": { "minLength": 1, "type": "string" }, "primary_key_id": {}, "public_key": { "minLength": 1, "type": "string" }, "subkeys": { "items": { "properties": { "can_certify": { "type": "boolean" }, "can_encrypt_comms": { "type": "boolean" }, "can_encrypt_storage": { "type": "boolean" }, "can_sign": { "type": "boolean" }, "created_at": { "minLength": 1, "type": "string" }, "emails": { "items": { "properties": {} }, "type": "array" }, "expires_at": {}, "id": { "type": "number" }, "key_id": { "minLength": 1, "type": "string" }, "primary_key_id": { "type": "number" }, "public_key": { "minLength": 1, "type": "string" }, "subkeys": { "items": { "properties": {} }, "type": "array" } }, "required": [ "id", "primary_key_id", "key_id", "public_key", "can_sign", "can_encrypt_comms", "can_encrypt_storage", "can_certify", "created_at" ] }, "minItems": 1, "type": "array", "uniqueItems": true } }, "required": [ "id", "key_id", "public_key", "emails", "subkeys", "can_sign", "can_encrypt_comms", "can_encrypt_storage", "can_certify", "created_at" ], "type": "object" } } } } }, "/user/gpg_keys/{gpg_key_id}": { "delete": { "parameters": [ { "in": "path", "name": "gpg_key_id", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "get": { "parameters": [ { "in": "path", "name": "gpg_key_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "can_certify": { "type": "boolean" }, "can_encrypt_comms": { "type": "boolean" }, "can_encrypt_storage": { "type": "boolean" }, "can_sign": { "type": "boolean" }, "created_at": { "minLength": 1, "type": "string" }, "emails": { "items": { "properties": { "email": { "minLength": 1, "type": "string" }, "verified": { "type": "boolean" } }, "required": [ "email", "verified" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "expires_at": {}, "id": { "type": "number" }, "key_id": { "minLength": 1, "type": "string" }, "primary_key_id": {}, "public_key": { "minLength": 1, "type": "string" }, "subkeys": { "items": { "properties": { "can_certify": { "type": "boolean" }, "can_encrypt_comms": { "type": "boolean" }, "can_encrypt_storage": { "type": "boolean" }, "can_sign": { "type": "boolean" }, "created_at": { "minLength": 1, "type": "string" }, "emails": { "items": { "properties": {} }, "type": "array" }, "expires_at": {}, "id": { "type": "number" }, "key_id": { "minLength": 1, "type": "string" }, "primary_key_id": { "type": "number" }, "public_key": { "minLength": 1, "type": "string" }, "subkeys": { "items": { "properties": {} }, "type": "array" } }, "required": [ "id", "primary_key_id", "key_id", "public_key", "can_sign", "can_encrypt_comms", "can_encrypt_storage", "can_certify", "created_at" ] }, "minItems": 1, "type": "array", "uniqueItems": true } }, "required": [ "id", "key_id", "public_key", "emails", "subkeys", "can_sign", "can_encrypt_comms", "can_encrypt_storage", "can_certify", "created_at" ], "type": "object" } } } } }, "/user/installations": { "get": { "parameters": [], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "installations": { "items": { "properties": { "access_tokens_url": { "minLength": 1, "type": "string" }, "account": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "hooks_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issues_url": { "minLength": 1, "type": "string" }, "login": { "minLength": 1, "type": "string" }, "members_url": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "public_members_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "login", "id", "node_id", "url", "repos_url", "events_url", "hooks_url", "issues_url", "members_url", "public_members_url", "avatar_url", "description" ], "type": "object" }, "app_id": { "type": "number" }, "events": { "items": { "properties": {} }, "type": "array" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "permissions": { "properties": { "contents": { "minLength": 1, "type": "string" }, "issues": { "minLength": 1, "type": "string" }, "metadata": { "minLength": 1, "type": "string" }, "single_file": { "minLength": 1, "type": "string" } }, "required": [ "metadata", "contents", "issues", "single_file" ], "type": "object" }, "repositories_url": { "minLength": 1, "type": "string" }, "single_file_name": { "minLength": 1, "type": "string" }, "target_id": { "type": "number" }, "target_type": { "minLength": 1, "type": "string" } }, "required": [ "id", "access_tokens_url", "repositories_url", "html_url", "app_id", "target_id", "target_type", "single_file_name" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "total_count": { "type": "number" } }, "required": [ "total_count", "installations" ], "type": "object" } } } } }, "/user/installations/{installation_id}/repositories/{repository_id}": { "delete": { "parameters": [ { "in": "path", "name": "installation_id", "required": true, "type": "string" }, { "in": "path", "name": "repository_id", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "put": { "parameters": [ { "in": "path", "name": "installation_id", "required": true, "type": "string" }, { "in": "path", "name": "repository_id", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } } }, "/user/keys": { "get": { "parameters": [], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "created_at": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "key": { "minLength": 1, "type": "string" }, "read_only": { "type": "boolean" }, "title": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "verified": { "type": "boolean" } }, "required": [ "id", "key", "url", "title", "verified", "created_at", "read_only" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } }, "post": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "key": { "minLength": 1, "type": "string" }, "title": { "minLength": 1, "type": "string" } }, "required": [ "title", "key" ], "type": "object" } } ], "responses": { "201": { "description": "Created", "schema": { "description": "", "properties": { "created_at": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "key": { "minLength": 1, "type": "string" }, "read_only": { "type": "boolean" }, "title": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "verified": { "type": "boolean" } }, "required": [ "id", "key", "url", "title", "verified", "created_at", "read_only" ], "type": "object" } } } } }, "/user/keys/{key_id}": { "delete": { "parameters": [ { "in": "path", "name": "key_id", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "get": { "parameters": [ { "in": "path", "name": "key_id", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "created_at": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "key": { "minLength": 1, "type": "string" }, "read_only": { "type": "boolean" }, "title": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "verified": { "type": "boolean" } }, "required": [ "id", "key", "url", "title", "verified", "created_at", "read_only" ], "type": "object" } } } } }, "/user/marketplace_purchases": { "get": { "parameters": [], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "account": { "properties": { "email": {}, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "organization_billing_email": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "login", "id", "url", "organization_billing_email", "type" ], "type": "object" }, "billing_cycle": { "minLength": 1, "type": "string" }, "free_trial_ends_on": { "minLength": 1, "type": "string" }, "next_billing_date": { "minLength": 1, "type": "string" }, "on_free_trial": { "type": "boolean" }, "plan": { "properties": { "accounts_url": { "minLength": 1, "type": "string" }, "bullets": { "items": { "properties": {} }, "type": "array" }, "description": { "minLength": 1, "type": "string" }, "has_free_trial": { "type": "boolean" }, "id": { "type": "number" }, "monthly_price_in_cents": { "type": "number" }, "name": { "minLength": 1, "type": "string" }, "number": { "type": "number" }, "price_model": { "minLength": 1, "type": "string" }, "state": { "minLength": 1, "type": "string" }, "unit_name": {}, "url": { "minLength": 1, "type": "string" }, "yearly_price_in_cents": { "type": "number" } }, "required": [ "url", "accounts_url", "id", "number", "name", "description", "monthly_price_in_cents", "yearly_price_in_cents", "price_model", "has_free_trial", "state", "bullets" ], "type": "object" }, "unit_count": {}, "updated_at": { "minLength": 1, "type": "string" } }, "required": [ "billing_cycle", "next_billing_date", "on_free_trial", "free_trial_ends_on", "updated_at", "account", "plan" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/user/memberships/orgs": { "get": { "parameters": [], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "organization": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "hooks_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issues_url": { "minLength": 1, "type": "string" }, "login": { "minLength": 1, "type": "string" }, "members_url": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "public_members_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "login", "id", "node_id", "url", "repos_url", "events_url", "hooks_url", "issues_url", "members_url", "public_members_url", "avatar_url", "description" ], "type": "object" }, "organization_url": { "minLength": 1, "type": "string" }, "role": { "minLength": 1, "type": "string" }, "state": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "url", "state", "role", "organization_url", "organization", "user" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/user/memberships/orgs/{org}": { "get": { "parameters": [ { "in": "path", "name": "org", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "organization": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "hooks_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issues_url": { "minLength": 1, "type": "string" }, "login": { "minLength": 1, "type": "string" }, "members_url": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "public_members_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "login", "id", "node_id", "url", "repos_url", "events_url", "hooks_url", "issues_url", "members_url", "public_members_url", "avatar_url", "description" ], "type": "object" }, "organization_url": { "minLength": 1, "type": "string" }, "role": { "minLength": 1, "type": "string" }, "state": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "url", "state", "role", "organization_url", "organization", "user" ], "type": "object" } } } }, "patch": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "state": { "minLength": 1, "type": "string" } }, "required": [ "state" ], "type": "object" } }, { "in": "path", "name": "org", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "organization": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "hooks_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issues_url": { "minLength": 1, "type": "string" }, "login": { "minLength": 1, "type": "string" }, "members_url": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "public_members_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "login", "id", "node_id", "url", "repos_url", "events_url", "hooks_url", "issues_url", "members_url", "public_members_url", "avatar_url", "description" ], "type": "object" }, "organization_url": { "minLength": 1, "type": "string" }, "role": { "minLength": 1, "type": "string" }, "state": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" } }, "required": [ "url", "state", "role", "organization_url", "organization", "user" ], "type": "object" } } } } }, "/user/migrations": { "post": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "exclude_attachments": { "type": "boolean" }, "lock_repositories": { "type": "boolean" }, "repositories": { "items": { "properties": {} }, "type": "array" } }, "required": [ "repositories", "lock_repositories" ], "type": "object" } } ], "responses": { "201": { "description": "Created", "schema": { "description": "", "properties": { "created_at": { "minLength": 1, "type": "string" }, "exclude_attachments": { "type": "boolean" }, "guid": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "lock_repositories": { "type": "boolean" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "repositories": { "items": { "properties": { "allow_merge_commit": { "type": "boolean" }, "allow_rebase_merge": { "type": "boolean" }, "allow_squash_merge": { "type": "boolean" }, "archive_url": { "minLength": 1, "type": "string" }, "archived": { "type": "boolean" }, "assignees_url": { "minLength": 1, "type": "string" }, "blobs_url": { "minLength": 1, "type": "string" }, "branches_url": { "minLength": 1, "type": "string" }, "clone_url": { "minLength": 1, "type": "string" }, "collaborators_url": { "minLength": 1, "type": "string" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "compare_url": { "minLength": 1, "type": "string" }, "contents_url": { "minLength": 1, "type": "string" }, "contributors_url": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "default_branch": { "minLength": 1, "type": "string" }, "deployments_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "downloads_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "fork": { "type": "boolean" }, "forks_count": { "type": "number" }, "forks_url": { "minLength": 1, "type": "string" }, "full_name": { "minLength": 1, "type": "string" }, "git_commits_url": { "minLength": 1, "type": "string" }, "git_refs_url": { "minLength": 1, "type": "string" }, "git_tags_url": { "minLength": 1, "type": "string" }, "git_url": { "minLength": 1, "type": "string" }, "has_downloads": { "type": "boolean" }, "has_issues": { "type": "boolean" }, "has_pages": { "type": "boolean" }, "has_projects": { "type": "boolean" }, "has_wiki": { "type": "boolean" }, "homepage": { "minLength": 1, "type": "string" }, "hooks_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issue_comment_url": { "minLength": 1, "type": "string" }, "issue_events_url": { "minLength": 1, "type": "string" }, "issues_url": { "minLength": 1, "type": "string" }, "keys_url": { "minLength": 1, "type": "string" }, "labels_url": { "minLength": 1, "type": "string" }, "language": {}, "languages_url": { "minLength": 1, "type": "string" }, "merges_url": { "minLength": 1, "type": "string" }, "milestones_url": { "minLength": 1, "type": "string" }, "mirror_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "network_count": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "notifications_url": { "minLength": 1, "type": "string" }, "open_issues_count": { "type": "number" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "permissions": { "properties": { "admin": { "type": "boolean" }, "pull": { "type": "boolean" }, "push": { "type": "boolean" } }, "required": [ "admin", "push", "pull" ], "type": "object" }, "private": { "type": "boolean" }, "pulls_url": { "minLength": 1, "type": "string" }, "pushed_at": { "minLength": 1, "type": "string" }, "releases_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "ssh_url": { "minLength": 1, "type": "string" }, "stargazers_count": { "type": "number" }, "stargazers_url": { "minLength": 1, "type": "string" }, "statuses_url": { "minLength": 1, "type": "string" }, "subscribers_count": { "type": "number" }, "subscribers_url": { "minLength": 1, "type": "string" }, "subscription_url": { "minLength": 1, "type": "string" }, "svn_url": { "minLength": 1, "type": "string" }, "tags_url": { "minLength": 1, "type": "string" }, "teams_url": { "minLength": 1, "type": "string" }, "topics": { "items": { "properties": {} }, "type": "array" }, "trees_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "watchers_count": { "type": "number" } }, "required": [ "id", "node_id", "name", "full_name", "private", "html_url", "description", "fork", "url", "archive_url", "assignees_url", "blobs_url", "branches_url", "collaborators_url", "comments_url", "commits_url", "compare_url", "contents_url", "contributors_url", "deployments_url", "downloads_url", "events_url", "forks_url", "git_commits_url", "git_refs_url", "git_tags_url", "git_url", "issue_comment_url", "issue_events_url", "issues_url", "keys_url", "labels_url", "languages_url", "merges_url", "milestones_url", "notifications_url", "pulls_url", "releases_url", "ssh_url", "stargazers_url", "statuses_url", "subscribers_url", "subscription_url", "tags_url", "teams_url", "trees_url", "clone_url", "mirror_url", "hooks_url", "svn_url", "homepage", "forks_count", "stargazers_count", "watchers_count", "size", "default_branch", "open_issues_count", "has_issues", "has_projects", "has_wiki", "has_pages", "has_downloads", "archived", "pushed_at", "created_at", "updated_at", "allow_rebase_merge", "allow_squash_merge", "allow_merge_commit", "subscribers_count", "network_count" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "state": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "owner", "guid", "state", "lock_repositories", "exclude_attachments", "repositories", "url", "created_at", "updated_at" ], "type": "object" } } } } }, "/user/orgs": { "get": { "parameters": [], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "hooks_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issues_url": { "minLength": 1, "type": "string" }, "login": { "minLength": 1, "type": "string" }, "members_url": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "public_members_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "login", "id", "node_id", "url", "repos_url", "events_url", "hooks_url", "issues_url", "members_url", "public_members_url", "avatar_url", "description" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/user/public_emails": { "get": { "parameters": [], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "email": { "minLength": 1, "type": "string" }, "primary": { "type": "boolean" }, "verified": { "type": "boolean" }, "visibility": { "minLength": 1, "type": "string" } }, "required": [ "email", "verified", "primary", "visibility" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/user/repos": { "get": { "parameters": [ { "description": "Comma-separated list of values. Can include:* owner: Repositories that are owned by the authenticated user.* collaborator: Repositories that the user has been added to as a collaborator.* organization_member: Repositories that the user has access to through being a member of an organization. This includes every repository on every team that the user is on.Default: owner,collaborator,organization_member", "in": "query", "name": "affiliation", "type": "string" }, { "description": "Can be one of asc or desc. Default: asc when using full_name, otherwise desc", "in": "query", "name": "direction", "type": "string" }, { "description": "Can be one of created, updated, pushed, full_name. Default: full_name", "in": "query", "name": "sort", "type": "string" }, { "description": "Can be one of all, owner, public, private, member. Default: allWill cause a 422 error if used in the same request as visibility or affiliation.", "in": "query", "name": "type", "type": "string" }, { "description": "Can be one of all, public, or private. Default: all", "in": "query", "name": "visibility", "type": "string" } ], "responses": { "default": { "description": "Unknown" } } }, "post": { "parameters": [ { "in": "body", "name": "body", "schema": { "description": "", "properties": { "description": { "minLength": 1, "type": "string" }, "has_issues": { "type": "boolean" }, "has_projects": { "type": "boolean" }, "has_wiki": { "type": "boolean" }, "homepage": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "private": { "type": "boolean" } }, "required": [ "name", "description", "homepage", "private", "has_issues", "has_projects", "has_wiki" ], "type": "object" } } ], "responses": { "201": { "description": "Created", "schema": { "description": "", "properties": { "allow_merge_commit": { "type": "boolean" }, "allow_rebase_merge": { "type": "boolean" }, "allow_squash_merge": { "type": "boolean" }, "archive_url": { "minLength": 1, "type": "string" }, "archived": { "type": "boolean" }, "assignees_url": { "minLength": 1, "type": "string" }, "blobs_url": { "minLength": 1, "type": "string" }, "branches_url": { "minLength": 1, "type": "string" }, "clone_url": { "minLength": 1, "type": "string" }, "collaborators_url": { "minLength": 1, "type": "string" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "compare_url": { "minLength": 1, "type": "string" }, "contents_url": { "minLength": 1, "type": "string" }, "contributors_url": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "default_branch": { "minLength": 1, "type": "string" }, "deployments_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "downloads_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "fork": { "type": "boolean" }, "forks_count": { "type": "number" }, "forks_url": { "minLength": 1, "type": "string" }, "full_name": { "minLength": 1, "type": "string" }, "git_commits_url": { "minLength": 1, "type": "string" }, "git_refs_url": { "minLength": 1, "type": "string" }, "git_tags_url": { "minLength": 1, "type": "string" }, "git_url": { "minLength": 1, "type": "string" }, "has_downloads": { "type": "boolean" }, "has_issues": { "type": "boolean" }, "has_pages": { "type": "boolean" }, "has_projects": { "type": "boolean" }, "has_wiki": { "type": "boolean" }, "homepage": { "minLength": 1, "type": "string" }, "hooks_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issue_comment_url": { "minLength": 1, "type": "string" }, "issue_events_url": { "minLength": 1, "type": "string" }, "issues_url": { "minLength": 1, "type": "string" }, "keys_url": { "minLength": 1, "type": "string" }, "labels_url": { "minLength": 1, "type": "string" }, "language": {}, "languages_url": { "minLength": 1, "type": "string" }, "merges_url": { "minLength": 1, "type": "string" }, "milestones_url": { "minLength": 1, "type": "string" }, "mirror_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "network_count": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "notifications_url": { "minLength": 1, "type": "string" }, "open_issues_count": { "type": "number" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "permissions": { "properties": { "admin": { "type": "boolean" }, "pull": { "type": "boolean" }, "push": { "type": "boolean" } }, "required": [ "admin", "push", "pull" ], "type": "object" }, "private": { "type": "boolean" }, "pulls_url": { "minLength": 1, "type": "string" }, "pushed_at": { "minLength": 1, "type": "string" }, "releases_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "ssh_url": { "minLength": 1, "type": "string" }, "stargazers_count": { "type": "number" }, "stargazers_url": { "minLength": 1, "type": "string" }, "statuses_url": { "minLength": 1, "type": "string" }, "subscribers_count": { "type": "number" }, "subscribers_url": { "minLength": 1, "type": "string" }, "subscription_url": { "minLength": 1, "type": "string" }, "svn_url": { "minLength": 1, "type": "string" }, "tags_url": { "minLength": 1, "type": "string" }, "teams_url": { "minLength": 1, "type": "string" }, "topics": { "items": { "properties": {} }, "type": "array" }, "trees_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "watchers_count": { "type": "number" } }, "required": [ "id", "node_id", "name", "full_name", "owner", "private", "html_url", "description", "fork", "url", "archive_url", "assignees_url", "blobs_url", "branches_url", "collaborators_url", "comments_url", "commits_url", "compare_url", "contents_url", "contributors_url", "deployments_url", "downloads_url", "events_url", "forks_url", "git_commits_url", "git_refs_url", "git_tags_url", "git_url", "issue_comment_url", "issue_events_url", "issues_url", "keys_url", "labels_url", "languages_url", "merges_url", "milestones_url", "notifications_url", "pulls_url", "releases_url", "ssh_url", "stargazers_url", "statuses_url", "subscribers_url", "subscription_url", "tags_url", "teams_url", "trees_url", "clone_url", "mirror_url", "hooks_url", "svn_url", "homepage", "forks_count", "stargazers_count", "watchers_count", "size", "default_branch", "open_issues_count", "topics", "has_issues", "has_projects", "has_wiki", "has_pages", "has_downloads", "archived", "pushed_at", "created_at", "updated_at", "permissions", "allow_rebase_merge", "allow_squash_merge", "allow_merge_commit", "subscribers_count", "network_count" ], "type": "object" } } } } }, "/user/repository_invitations": { "get": { "parameters": [], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "created_at": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "invitee": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "inviter": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "permissions": { "minLength": 1, "type": "string" }, "repository": { "properties": { "archive_url": { "minLength": 1, "type": "string" }, "assignees_url": { "minLength": 1, "type": "string" }, "blobs_url": { "minLength": 1, "type": "string" }, "branches_url": { "minLength": 1, "type": "string" }, "collaborators_url": { "minLength": 1, "type": "string" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "compare_url": { "minLength": 1, "type": "string" }, "contents_url": { "minLength": 1, "type": "string" }, "contributors_url": { "minLength": 1, "type": "string" }, "deployments_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "downloads_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "fork": { "type": "boolean" }, "forks_url": { "minLength": 1, "type": "string" }, "full_name": { "minLength": 1, "type": "string" }, "git_commits_url": { "minLength": 1, "type": "string" }, "git_refs_url": { "minLength": 1, "type": "string" }, "git_tags_url": { "minLength": 1, "type": "string" }, "git_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issue_comment_url": { "minLength": 1, "type": "string" }, "issue_events_url": { "minLength": 1, "type": "string" }, "issues_url": { "minLength": 1, "type": "string" }, "keys_url": { "minLength": 1, "type": "string" }, "labels_url": { "minLength": 1, "type": "string" }, "languages_url": { "minLength": 1, "type": "string" }, "merges_url": { "minLength": 1, "type": "string" }, "milestones_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "notifications_url": { "minLength": 1, "type": "string" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "private": { "type": "boolean" }, "pulls_url": { "minLength": 1, "type": "string" }, "releases_url": { "minLength": 1, "type": "string" }, "ssh_url": { "minLength": 1, "type": "string" }, "stargazers_url": { "minLength": 1, "type": "string" }, "statuses_url": { "minLength": 1, "type": "string" }, "subscribers_url": { "minLength": 1, "type": "string" }, "subscription_url": { "minLength": 1, "type": "string" }, "tags_url": { "minLength": 1, "type": "string" }, "teams_url": { "minLength": 1, "type": "string" }, "trees_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "node_id", "name", "full_name", "owner", "private", "html_url", "description", "fork", "url", "archive_url", "assignees_url", "blobs_url", "branches_url", "collaborators_url", "comments_url", "commits_url", "compare_url", "contents_url", "contributors_url", "deployments_url", "downloads_url", "events_url", "forks_url", "git_commits_url", "git_refs_url", "git_tags_url", "git_url", "issue_comment_url", "issue_events_url", "issues_url", "keys_url", "labels_url", "languages_url", "merges_url", "milestones_url", "notifications_url", "pulls_url", "releases_url", "ssh_url", "stargazers_url", "statuses_url", "subscribers_url", "subscription_url", "tags_url", "teams_url", "trees_url" ], "type": "object" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "id", "repository", "invitee", "inviter", "permissions", "created_at", "url", "html_url" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/user/repository_invitations/{invitation_id}": { "delete": { "parameters": [ { "in": "path", "name": "invitation_id", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "patch": { "parameters": [ { "in": "path", "name": "invitation_id", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } } }, "/user/starred/{owner}/{repo}": { "delete": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "put": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } } }, "/user/subscriptions/{owner}/{repo}": { "delete": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "get": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } }, "put": { "parameters": [ { "in": "path", "name": "owner", "required": true, "type": "string" }, { "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } } }, "/users": { "get": { "parameters": [ { "description": "The integer ID of the last User that you've seen.", "in": "query", "name": "since", "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/users/{username}": { "get": { "parameters": [ { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "bio": { "minLength": 1, "type": "string" }, "blog": { "minLength": 1, "type": "string" }, "company": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "email": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers": { "type": "number" }, "followers_url": { "minLength": 1, "type": "string" }, "following": { "type": "number" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "hireable": { "type": "boolean" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "location": { "minLength": 1, "type": "string" }, "login": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "public_gists": { "type": "number" }, "public_repos": { "type": "number" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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", "public_repos", "public_gists", "followers", "following", "created_at", "updated_at" ], "type": "object" } } } } }, "/users/{username}/events": { "get": { "parameters": [ { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "default": { "description": "Unknown" } } } }, "/users/{username}/events/orgs/{org}": { "get": { "parameters": [ { "in": "path", "name": "username", "required": true, "type": "string" }, { "in": "path", "name": "org", "required": true, "type": "string" } ], "responses": { "default": { "description": "Unknown" } } } }, "/users/{username}/events/public": { "get": { "parameters": [ { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "default": { "description": "Unknown" } } } }, "/users/{username}/followers": { "get": { "parameters": [ { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/users/{username}/following": { "get": { "parameters": [ { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/users/{username}/following/{target_user}": { "get": { "parameters": [ { "in": "path", "name": "username", "required": true, "type": "string" }, { "in": "path", "name": "target_user", "required": true, "type": "string" } ], "responses": { "204": { "description": "No Content" } } } }, "/users/{username}/gists": { "get": { "parameters": [ { "description": "This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. Only gists updated at or after this time are returned.", "in": "query", "name": "since", "type": "string" }, { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "comments": { "type": "number" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "files": { "properties": { "hello_world.rb": { "properties": { "filename": { "minLength": 1, "type": "string" }, "language": { "minLength": 1, "type": "string" }, "raw_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "type": { "minLength": 1, "type": "string" } }, "required": [ "filename", "type", "language", "raw_url", "size" ], "type": "object" } }, "required": [ "hello_world.rb" ], "type": "object" }, "forks_url": { "minLength": 1, "type": "string" }, "git_pull_url": { "minLength": 1, "type": "string" }, "git_push_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "public": { "type": "boolean" }, "truncated": { "type": "boolean" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "user": {} }, "required": [ "url", "forks_url", "commits_url", "id", "node_id", "git_pull_url", "git_push_url", "html_url", "files", "public", "created_at", "updated_at", "description", "comments", "comments_url", "owner", "truncated" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/users/{username}/gpg_keys": { "get": { "parameters": [ { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "can_certify": { "type": "boolean" }, "can_encrypt_comms": { "type": "boolean" }, "can_encrypt_storage": { "type": "boolean" }, "can_sign": { "type": "boolean" }, "created_at": { "minLength": 1, "type": "string" }, "emails": { "items": { "properties": { "email": { "minLength": 1, "type": "string" }, "verified": { "type": "boolean" } }, "required": [ "email", "verified" ] }, "minItems": 1, "type": "array", "uniqueItems": true }, "expires_at": {}, "id": { "type": "number" }, "key_id": { "minLength": 1, "type": "string" }, "primary_key_id": {}, "public_key": { "minLength": 1, "type": "string" }, "subkeys": { "items": { "properties": { "can_certify": { "type": "boolean" }, "can_encrypt_comms": { "type": "boolean" }, "can_encrypt_storage": { "type": "boolean" }, "can_sign": { "type": "boolean" }, "created_at": { "minLength": 1, "type": "string" }, "emails": { "items": { "properties": {} }, "type": "array" }, "expires_at": {}, "id": { "type": "number" }, "key_id": { "minLength": 1, "type": "string" }, "primary_key_id": { "type": "number" }, "public_key": { "minLength": 1, "type": "string" }, "subkeys": { "items": { "properties": {} }, "type": "array" } }, "required": [ "id", "primary_key_id", "key_id", "public_key", "can_sign", "can_encrypt_comms", "can_encrypt_storage", "can_certify", "created_at" ] }, "minItems": 1, "type": "array", "uniqueItems": true } }, "required": [ "id", "key_id", "public_key", "emails", "subkeys", "can_sign", "can_encrypt_comms", "can_encrypt_storage", "can_certify", "created_at" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/users/{username}/installation": { "get": { "parameters": [ { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "properties": { "access_tokens_url": { "minLength": 1, "type": "string" }, "account": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "app_id": { "type": "number" }, "created_at": { "minLength": 1, "type": "string" }, "events": { "items": { "properties": {} }, "type": "array" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "permissions": { "properties": { "checks": { "minLength": 1, "type": "string" }, "contents": { "minLength": 1, "type": "string" }, "metadata": { "minLength": 1, "type": "string" } }, "required": [ "checks", "metadata", "contents" ], "type": "object" }, "repositories_url": { "minLength": 1, "type": "string" }, "repository_selection": { "minLength": 1, "type": "string" }, "single_file_name": {}, "target_id": { "type": "number" }, "target_type": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" } }, "required": [ "id", "account", "repository_selection", "access_tokens_url", "repositories_url", "html_url", "app_id", "target_id", "target_type", "permissions", "events", "created_at", "updated_at" ], "type": "object" } } } } }, "/users/{username}/keys": { "get": { "parameters": [ { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "id": { "type": "number" }, "key": { "minLength": 1, "type": "string" } }, "required": [ "id", "key" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/users/{username}/orgs": { "get": { "parameters": [ { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "hooks_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issues_url": { "minLength": 1, "type": "string" }, "login": { "minLength": 1, "type": "string" }, "members_url": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "public_members_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "login", "id", "node_id", "url", "repos_url", "events_url", "hooks_url", "issues_url", "members_url", "public_members_url", "avatar_url", "description" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/users/{username}/received_events": { "get": { "parameters": [ { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "default": { "description": "Unknown" } } } }, "/users/{username}/received_events/public": { "get": { "parameters": [ { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "default": { "description": "Unknown" } } } }, "/users/{username}/repos": { "get": { "parameters": [ { "description": "Can be one of asc or desc. Default: asc when using full_name, otherwise desc", "in": "query", "name": "direction", "type": "string" }, { "description": "Can be one of created, updated, pushed, full_name. Default: full_name", "in": "query", "name": "sort", "type": "string" }, { "description": "Can be one of all, owner, member. Default: owner", "in": "query", "name": "type", "type": "string" }, { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "default": { "description": "Unknown" } } } }, "/users/{username}/starred": { "get": { "parameters": [ { "description": "One of asc (ascending) or desc (descending). Default: desc", "in": "query", "name": "direction", "type": "string" }, { "description": "One of created (when the repository was starred) or updated (when it was last pushed to). Default: created", "in": "query", "name": "sort", "type": "string" }, { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "allow_merge_commit": { "type": "boolean" }, "allow_rebase_merge": { "type": "boolean" }, "allow_squash_merge": { "type": "boolean" }, "archive_url": { "minLength": 1, "type": "string" }, "archived": { "type": "boolean" }, "assignees_url": { "minLength": 1, "type": "string" }, "blobs_url": { "minLength": 1, "type": "string" }, "branches_url": { "minLength": 1, "type": "string" }, "clone_url": { "minLength": 1, "type": "string" }, "collaborators_url": { "minLength": 1, "type": "string" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "compare_url": { "minLength": 1, "type": "string" }, "contents_url": { "minLength": 1, "type": "string" }, "contributors_url": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "default_branch": { "minLength": 1, "type": "string" }, "deployments_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "downloads_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "fork": { "type": "boolean" }, "forks_count": { "type": "number" }, "forks_url": { "minLength": 1, "type": "string" }, "full_name": { "minLength": 1, "type": "string" }, "git_commits_url": { "minLength": 1, "type": "string" }, "git_refs_url": { "minLength": 1, "type": "string" }, "git_tags_url": { "minLength": 1, "type": "string" }, "git_url": { "minLength": 1, "type": "string" }, "has_downloads": { "type": "boolean" }, "has_issues": { "type": "boolean" }, "has_pages": { "type": "boolean" }, "has_projects": { "type": "boolean" }, "has_wiki": { "type": "boolean" }, "homepage": { "minLength": 1, "type": "string" }, "hooks_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issue_comment_url": { "minLength": 1, "type": "string" }, "issue_events_url": { "minLength": 1, "type": "string" }, "issues_url": { "minLength": 1, "type": "string" }, "keys_url": { "minLength": 1, "type": "string" }, "labels_url": { "minLength": 1, "type": "string" }, "language": {}, "languages_url": { "minLength": 1, "type": "string" }, "merges_url": { "minLength": 1, "type": "string" }, "milestones_url": { "minLength": 1, "type": "string" }, "mirror_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "network_count": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "notifications_url": { "minLength": 1, "type": "string" }, "open_issues_count": { "type": "number" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "permissions": { "properties": { "admin": { "type": "boolean" }, "pull": { "type": "boolean" }, "push": { "type": "boolean" } }, "required": [ "admin", "push", "pull" ], "type": "object" }, "private": { "type": "boolean" }, "pulls_url": { "minLength": 1, "type": "string" }, "pushed_at": { "minLength": 1, "type": "string" }, "releases_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "ssh_url": { "minLength": 1, "type": "string" }, "stargazers_count": { "type": "number" }, "stargazers_url": { "minLength": 1, "type": "string" }, "statuses_url": { "minLength": 1, "type": "string" }, "subscribers_count": { "type": "number" }, "subscribers_url": { "minLength": 1, "type": "string" }, "subscription_url": { "minLength": 1, "type": "string" }, "svn_url": { "minLength": 1, "type": "string" }, "tags_url": { "minLength": 1, "type": "string" }, "teams_url": { "minLength": 1, "type": "string" }, "topics": { "items": { "properties": {} }, "type": "array" }, "trees_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "watchers_count": { "type": "number" } }, "required": [ "id", "node_id", "name", "full_name", "owner", "private", "html_url", "description", "fork", "url", "archive_url", "assignees_url", "blobs_url", "branches_url", "collaborators_url", "comments_url", "commits_url", "compare_url", "contents_url", "contributors_url", "deployments_url", "downloads_url", "events_url", "forks_url", "git_commits_url", "git_refs_url", "git_tags_url", "git_url", "issue_comment_url", "issue_events_url", "issues_url", "keys_url", "labels_url", "languages_url", "merges_url", "milestones_url", "notifications_url", "pulls_url", "releases_url", "ssh_url", "stargazers_url", "statuses_url", "subscribers_url", "subscription_url", "tags_url", "teams_url", "trees_url", "clone_url", "mirror_url", "hooks_url", "svn_url", "homepage", "forks_count", "stargazers_count", "watchers_count", "size", "default_branch", "open_issues_count", "topics", "has_issues", "has_projects", "has_wiki", "has_pages", "has_downloads", "archived", "pushed_at", "created_at", "updated_at", "permissions", "allow_rebase_merge", "allow_squash_merge", "allow_merge_commit", "subscribers_count", "network_count" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } }, "/users/{username}/subscriptions": { "get": { "parameters": [ { "in": "path", "name": "username", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "description": "", "items": { "properties": { "archive_url": { "minLength": 1, "type": "string" }, "archived": { "type": "boolean" }, "assignees_url": { "minLength": 1, "type": "string" }, "blobs_url": { "minLength": 1, "type": "string" }, "branches_url": { "minLength": 1, "type": "string" }, "clone_url": { "minLength": 1, "type": "string" }, "collaborators_url": { "minLength": 1, "type": "string" }, "comments_url": { "minLength": 1, "type": "string" }, "commits_url": { "minLength": 1, "type": "string" }, "compare_url": { "minLength": 1, "type": "string" }, "contents_url": { "minLength": 1, "type": "string" }, "contributors_url": { "minLength": 1, "type": "string" }, "created_at": { "minLength": 1, "type": "string" }, "default_branch": { "minLength": 1, "type": "string" }, "deployments_url": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "downloads_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "fork": { "type": "boolean" }, "forks_count": { "type": "number" }, "forks_url": { "minLength": 1, "type": "string" }, "full_name": { "minLength": 1, "type": "string" }, "git_commits_url": { "minLength": 1, "type": "string" }, "git_refs_url": { "minLength": 1, "type": "string" }, "git_tags_url": { "minLength": 1, "type": "string" }, "git_url": { "minLength": 1, "type": "string" }, "has_downloads": { "type": "boolean" }, "has_issues": { "type": "boolean" }, "has_pages": { "type": "boolean" }, "has_projects": { "type": "boolean" }, "has_wiki": { "type": "boolean" }, "homepage": { "minLength": 1, "type": "string" }, "hooks_url": { "minLength": 1, "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "issue_comment_url": { "minLength": 1, "type": "string" }, "issue_events_url": { "minLength": 1, "type": "string" }, "issues_url": { "minLength": 1, "type": "string" }, "keys_url": { "minLength": 1, "type": "string" }, "labels_url": { "minLength": 1, "type": "string" }, "language": {}, "languages_url": { "minLength": 1, "type": "string" }, "license": { "properties": { "key": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "spdx_id": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "key", "name", "spdx_id", "url", "node_id" ], "type": "object" }, "merges_url": { "minLength": 1, "type": "string" }, "milestones_url": { "minLength": 1, "type": "string" }, "mirror_url": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "network_count": { "type": "number" }, "node_id": { "minLength": 1, "type": "string" }, "notifications_url": { "minLength": 1, "type": "string" }, "open_issues_count": { "type": "number" }, "owner": { "properties": { "avatar_url": { "minLength": 1, "type": "string" }, "events_url": { "minLength": 1, "type": "string" }, "followers_url": { "minLength": 1, "type": "string" }, "following_url": { "minLength": 1, "type": "string" }, "gists_url": { "minLength": 1, "type": "string" }, "gravatar_id": { "type": "string" }, "html_url": { "minLength": 1, "type": "string" }, "id": { "type": "number" }, "login": { "minLength": 1, "type": "string" }, "node_id": { "minLength": 1, "type": "string" }, "organizations_url": { "minLength": 1, "type": "string" }, "received_events_url": { "minLength": 1, "type": "string" }, "repos_url": { "minLength": 1, "type": "string" }, "site_admin": { "type": "boolean" }, "starred_url": { "minLength": 1, "type": "string" }, "subscriptions_url": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": [ "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" ], "type": "object" }, "permissions": { "properties": { "admin": { "type": "boolean" }, "pull": { "type": "boolean" }, "push": { "type": "boolean" } }, "required": [ "admin", "push", "pull" ], "type": "object" }, "private": { "type": "boolean" }, "pulls_url": { "minLength": 1, "type": "string" }, "pushed_at": { "minLength": 1, "type": "string" }, "releases_url": { "minLength": 1, "type": "string" }, "size": { "type": "number" }, "ssh_url": { "minLength": 1, "type": "string" }, "stargazers_count": { "type": "number" }, "stargazers_url": { "minLength": 1, "type": "string" }, "statuses_url": { "minLength": 1, "type": "string" }, "subscribers_count": { "type": "number" }, "subscribers_url": { "minLength": 1, "type": "string" }, "subscription_url": { "minLength": 1, "type": "string" }, "svn_url": { "minLength": 1, "type": "string" }, "tags_url": { "minLength": 1, "type": "string" }, "teams_url": { "minLength": 1, "type": "string" }, "topics": { "items": { "properties": {} }, "type": "array" }, "trees_url": { "minLength": 1, "type": "string" }, "updated_at": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "watchers_count": { "type": "number" } }, "required": [ "id", "node_id", "name", "full_name", "owner", "private", "html_url", "description", "fork", "url", "archive_url", "assignees_url", "blobs_url", "branches_url", "collaborators_url", "comments_url", "commits_url", "compare_url", "contents_url", "contributors_url", "deployments_url", "downloads_url", "events_url", "forks_url", "git_commits_url", "git_refs_url", "git_tags_url", "git_url", "issue_comment_url", "issue_events_url", "issues_url", "keys_url", "labels_url", "languages_url", "merges_url", "milestones_url", "notifications_url", "pulls_url", "releases_url", "ssh_url", "stargazers_url", "statuses_url", "subscribers_url", "subscription_url", "tags_url", "teams_url", "trees_url", "clone_url", "mirror_url", "hooks_url", "svn_url", "homepage", "forks_count", "stargazers_count", "watchers_count", "size", "default_branch", "open_issues_count", "topics", "has_issues", "has_projects", "has_wiki", "has_pages", "has_downloads", "archived", "pushed_at", "created_at", "updated_at", "permissions", "subscribers_count", "network_count", "license" ], "type": "object" }, "minItems": 1, "type": "array", "uniqueItems": true } } } } } }, "schemes": [ "https" ], "swagger": "2.0" }