Flutter Pro · GPT 작업
Connect Github
Connects and undertakes tasks
GET /userGets the userGet my user
GET /user/reposList reposList repos
POST /user/reposCreate repoCreate repo
GET /users/{username}/reposList public reposList the public repos
GET /repos/{owner}/{repo}Gets a repoGet a repo
GET /repos/{owner}/{repo}/contents/{path}Get the repository contents at the path, files or foldersGet the repository contents at the path, files or folders
PUT /repos/{owner}/{repo}/contents/{path}Create or update the contents of an existing fileCreate or update the contents of an existing file
DELETE /repos/{owner}/{repo}/contents/{path}Delete an existing fileDelet an existing file
GET /repos/{owner}/{repo}/git/trees/{branch}Gets a repo treeGet a repo tree
GET /search/{type}Search for anything on GithubGet details of anything that is searchable via Github REST API
POST /repos/{templateOwner}/{templateRepo}/generateCreate a repo from a templateCreate a new repo from a repo that has template enabled
원본 API 스키마
{
"openapi": "3.1.0",
"info": {
"title": "Connect Github",
"description": "Connects and undertakes tasks",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://api.github.com"
}
],
"paths": {
"/user": {
"get": {
"summary": "Gets the user",
"description": "Get my user",
"operationId": "GetUser",
"parameters": []
}
},
"/user/repos": {
"get": {
"summary": "List repos",
"description": "List repos",
"operationId": "ListRepos",
"parameters": [
{
"name": "visbility",
"in": "query",
"description": "The visibility of the repo [all, public, private]",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "type",
"in": "query",
"description": "The type to see, [all, owner, member] defualt to all",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "per_page",
"in": "query",
"description": "The number of results per page",
"required": false,
"default": 5,
"schema": {
"type": "number"
}
},
{
"name": "page",
"in": "query",
"description": "The page number",
"required": false,
"schema": {
"type": "number"
}
}
]
},
"post": {
"summary": "Create repo",
"description": "Create repo",
"operationId": "CreateRepo",
"parameters": [],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": ""
},
"description": {
"type": "string",
"description": "A short description of the repository."
},
"homepage": {
"type": "string",
"description": "A URL with more information about the repository"
},
"private": {
"type": "boolean",
"description": "Whether the repository is private"
},
"auto_init": {
"type": "boolean",
"description": "Whether the repository is initialized with a minimal README. Default: false"
}
}
}
}
}
}
}
},
"/users/{username}/repos": {
"get": {
"summary": "List public repos",
"description": "List the public repos",
"operationId": "ListPublicRepos",
"parameters": [
{
"name": "username",
"in": "path",
"description": "The username of the owner that is logged in",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "type",
"in": "query",
"description": "The type to see, [all, owner, public, private, member] default to all",
"required": false,
"schema": {
"type": "string"
}
}
]
}
},
"/repos/{owner}/{repo}": {
"get": {
"summary": "Gets a repo",
"description": "Get a repo",
"operationId": "GetRepo",
"parameters": [
{
"name": "owner",
"in": "path",
"description": "The name of the owner that is logged in",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "repo",
"in": "path",
"description": "The name of the repo",
"required": true,
"schema": {
"type": "string"
}
}
]
}
},
"/repos/{owner}/{repo}/contents/{path}": {
"get": {
"summary": "Get the repository contents at the path, files or folders",
"description": "Get the repository contents at the path, files or folders",
"operationId": "GetFileOrFolderContents",
"parameters": [
{
"name": "owner",
"in": "path",
"description": "The name of the owner that is logged in",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "repo",
"in": "path",
"description": "The name of the repo",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "path",
"in": "path",
"description": "The path to the filename from the root of the repo",
"required": true,
"schema": {
"type": "string"
}
}
]
},
"put": {
"summary": "Create or update the contents of an existing file",
"description": "Create or update the contents of an existing file",
"operationId": "CreateUpdateFile",
"parameters": [
{
"name": "owner",
"in": "path",
"description": "The name of the owner that is logged in",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "repo",
"in": "path",
"description": "The name of the repo",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "path",
"in": "path",
"description": "The path to the filename from the root of the repo",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "The commit message."
},
"content": {
"type": "string",
"description": "The new file content, should be encoded with Base64.strict_encode64(string here)"
},
"sha": {
"type": "string",
"description": "Required if you are updating a file. The blob SHA of the file being replaced."
},
"branch": {
"type": "string",
"description": "The branch name. Default: the repository’s default branch."
},
"commiter": {
"type": "string",
"description": "The person that committed the file. Default: the authenticated user."
},
"author": {
"type": "string",
"description": "The author of the file. Default: The committer or the authenticated user if you omit committer."
}
}
}
}
}
}
},
"delete": {
"summary": "Delete an existing file",
"description": "Delet an existing file",
"operationId": "DeleteFile",
"parameters": [
{
"name": "owner",
"in": "path",
"description": "The name of the owner that is logged in",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "repo",
"in": "path",
"description": "The name of the repo",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "path",
"in": "path",
"description": "The path to the filename from the root of the repo",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "The commit message."
},
"content": {
"type": "string",
"description": "The new file content, using Base64 encoding."
},
"sha": {
"type": "string",
"description": "Required if you are updating a file. The blob SHA of the file being replaced."
},
"branch": {
"type": "string",
"description": "The branch name. Default: the repository’s default branch."
},
"commiter": {
"type": "string",
"description": "The person that committed the file. Default: the authenticated user."
},
"author": {
"type": "string",
"description": "The author of the file. Default: The committer or the authenticated user if you omit committer."
}
}
}
}
}
}
}
},
"/repos/{owner}/{repo}/git/trees/{branch}": {
"get": {
"summary": "Gets a repo tree",
"description": "Get a repo tree",
"operationId": "GetRepoTree",
"parameters": [
{
"name": "owner",
"in": "path",
"description": "The name of the owner that is logged in",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "repo",
"in": "path",
"description": "The name of the repo",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "branch",
"in": "path",
"description": "The branch being looked at",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "recursive",
"in": "query",
"description": "Whether to only search root or all subdirectories, default to 1 to be recursive",
"required": true,
"schema": {
"type": "boolean"
}
}
]
}
},
"/search/{type}": {
"get": {
"summary": "Search for anything on Github",
"description": "Get details of anything that is searchable via Github REST API",
"operationId": "SearchGithub",
"parameters": [
{
"name": "type",
"in": "path",
"description": "The type of search,possible values [code, commits, issues, labels, repositories, topics, users]",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "q",
"in": "query",
"description": "The search query, using github's rest api search query parameters, for e.g. repositories?q=node+in:name,description+language:dart&sort=stars&order=desc",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "per_page",
"in": "query",
"description": "The number of results to return, start with 5",
"required": true,
"schema": {
"type": "integer"
}
},
{
"name": "page",
"in": "query",
"description": "The page number of results to return",
"required": true,
"schema": {
"type": "integer"
}
}
]
}
},
"/repos/{templateOwner}/{templateRepo}/generate": {
"post": {
"summary": "Create a repo from a template",
"description": "Create a new repo from a repo that has template enabled",
"operationId": "CreateRepoFromTemplate",
"parameters": [
{
"name": "templateOwner",
"in": "path",
"description": "The owner of the public repo that will be used as a template to create a new repo",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "templateRepo",
"in": "path",
"description": "The repo name for the temaplte to be used in creating a new repo",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"owner": {
"type": "string",
"description": "The organization or person who will own the new repository. To create a new repository in an organization, the authenticated user must be a member of the specified organization."
},
"name": {
"type": "string",
"description": "The name of the new repository."
},
"description": {
"type": "string",
"description": "A short description of the new repository."
},
"private": {
"type": "boolean",
"description": "Either true to create a new private repository or false to create a new public one."
}
}
}
}
}
}
}
}
}
}Firebase REST API
API for interacting with Firebase services including Authentication, Firestore, Realtime Database, and Storage.
GET /v1/projects/{project_id}/databases/{database_id}/documents/{document_path}Get a DocumentRetrieves a document from Firestore at the specified path.
PATCH /v1/projects/{project_id}/databases/{database_id}/documents/{document_path}Update a DocumentUpdates a document in Firestore at the specified path.
POST /v1/projects/{project_id}/databases/{database_id}/documents/{document_path}Create a DocumentCreates a new document in Firestore.
DELETE /v1/projects/{project_id}/databases/{database_id}/documents/{document_path}Delete a DocumentDeletes a document in Firestore.
원본 API 스키마
{
"openapi": "3.1.0",
"info": {
"title": "Firebase REST API",
"version": "v1",
"description": "API for interacting with Firebase services including Authentication, Firestore, Realtime Database, and Storage."
},
"servers": [
{
"url": "https://firestore.googleapis.com"
}
],
"paths": {
"/v1/projects/{project_id}/databases/{database_id}/documents/{document_path}": {
"get": {
"operationId": "getDocument",
"summary": "Get a Document",
"description": "Retrieves a document from Firestore at the specified path.",
"parameters": [
{
"name": "project_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "database_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "document_path",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Document retrieved successfully"
},
"404": {
"description": "Document not found"
}
}
},
"patch": {
"operationId": "updateDocument",
"summary": "Update a Document",
"description": "Updates a document in Firestore at the specified path.",
"parameters": [
{
"name": "project_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "database_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "document_path",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"author": {
"type": "string",
"description": "{Ask for name}"
},
"audience": {
"type": "string",
"description": "{One of [ALL, TECH, PRODUCT, MARKETING, COMMERCIAL, FINANCE, QA, MVMNT, WITHU] default to All}"
},
"title": {
"type": "string",
"description": "{Summarise from message or ask}"
},
"message": {
"type": "string",
"description": "{The message that is the body of the notice}"
},
"date": {
"type": "string",
"description": "{When this notice was added}"
},
"live": {
"type": "boolean",
"description": "{[true, false], default to true}"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Document updated successfully"
},
"404": {
"description": "Document not found"
}
}
},
"post": {
"operationId": "createDocument",
"summary": "Create a Document",
"description": "Creates a new document in Firestore.",
"parameters": [
{
"name": "project_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "database_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "document_path",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"author": {
"type": "string",
"description": "{Ask for name}"
},
"audience": {
"type": "string",
"description": "{One of [ALL, TECH, PRODUCT, MARKETING, COMMERCIAL, FINANCE, QA, MVMNT, WITHU] default to All}"
},
"title": {
"type": "string",
"description": "{Summarise from message or ask}"
},
"message": {
"type": "string",
"description": "{The message that is the body of the notice}"
},
"date": {
"type": "string",
"description": "{When this notice was added}"
},
"live": {
"type": "boolean",
"description": "{[true, false], default to true}"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Document created successfully"
}
}
},
"delete": {
"operationId": "deleteDocument",
"summary": "Delete a Document",
"description": "Deletes a document in Firestore.",
"parameters": [
{
"name": "project_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "database_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "document_path",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Document deleted successfully"
},
"404": {
"description": "Document not found"
}
}
}
}
}
}Firebase REST API
API for interacting with Firebase services including Authentication, Firestore, Realtime Database, and Storage.
GET /v1beta1/projectsGet a list of the projectsRetrieves a list of the projects from Firebase.
GET /v1beta1/availableProjectsGet a list of the available g cloud projectsGets a list of the google cloud projects available for adding firebase resources to
GET /v1beta1/projects/{name}Get a firebase projectGets important resource information about a Firebase Project
POST /v1beta1/projects/{project}:addFirebaseAdd Firebase to a g cloud projectAdd and setup Firebase resources for a specific Google Cloud Project
원본 API 스키마
{
"openapi": "3.1.0",
"info": {
"title": "Firebase REST API",
"version": "v1",
"description": "API for interacting with Firebase services including Authentication, Firestore, Realtime Database, and Storage."
},
"servers": [
{
"url": "https://firebase.googleapis.com"
}
],
"paths": {
"/v1beta1/projects": {
"get": {
"operationId": "getProjects",
"summary": "Get a list of the projects",
"description": "Retrieves a list of the projects from Firebase.",
"parameters": [
{
"name": "pageToken",
"in": "query",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "pageSize",
"in": "query",
"required": false,
"schema": {
"type": "integer"
}
},
{
"name": "showDeleted",
"in": "query",
"required": false,
"schema": {
"type": "boolean"
}
}
],
"responses": {
"200": {
"description": "Projects retrieved successfully"
},
"404": {
"description": "Something went wrong when trying to get projects"
}
}
}
},
"/v1beta1/availableProjects": {
"get": {
"operationId": "getAvailableGCloudProjects",
"summary": "Get a list of the available g cloud projects",
"description": "Gets a list of the google cloud projects available for adding firebase resources to",
"parameters": [
{
"name": "pageToken",
"in": "query",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "pageSize",
"in": "query",
"required": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Projects retrieved successfully"
},
"404": {
"description": "Something went wrong when trying to get projects"
}
}
}
},
"/v1beta1/projects/{name}": {
"get": {
"operationId": "getFirebaseProject",
"summary": "Get a firebase project",
"description": "Gets important resource information about a Firebase Project",
"parameters": [
{
"name": "name",
"in": "path",
"required": true,
"description": "The firebase project name only",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Firebase Project retrieved successfully"
},
"404": {
"description": "Something went wrong when trying to get the Firebase project"
}
}
}
},
"/v1beta1/projects/{project}:addFirebase": {
"post": {
"operationId": "addFirebaseToGCloudProject",
"summary": "Add Firebase to a g cloud project",
"description": "Add and setup Firebase resources for a specific Google Cloud Project",
"parameters": [
{
"name": "project",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Firebase Project add to Google Cloud Project"
},
"404": {
"description": "Something went wrong when trying to add firebase to a google cloud project"
}
}
}
}
}
}Firebase REST API
API for interacting with Firebase services including Authentication, Firestore, Realtime Database, and Storage.
GET /v1/projects/{project_id}/remoteConfigGet Remote ConfigRetrieves the remote config
PUT /v1/projects/{project_id}/remoteConfigPut Remote ConfigUpdates the remote config
원본 API 스키마
{
"openapi": "3.1.0",
"info": {
"title": "Firebase REST API",
"version": "v1",
"description": "API for interacting with Firebase services including Authentication, Firestore, Realtime Database, and Storage."
},
"servers": [
{
"url": "https://firebaseremoteconfig.googleapis.com"
}
],
"paths": {
"/v1/projects/{project_id}/remoteConfig": {
"get": {
"operationId": "getRemoteConfig",
"summary": "Get Remote Config",
"description": "Retrieves the remote config",
"parameters": [
{
"name": "project_id",
"in": "path",
"description": "the firebase project id",
"required": true,
"deprecated": false,
"allowEmptyValue": false,
"explode": false,
"allowReserved": false,
"schema": {
"type": "string"
}
},
{
"name": "versionNumber",
"in": "query",
"description": "the version number to retrieve",
"required": false,
"deprecated": false,
"allowEmptyValue": false,
"explode": false,
"allowReserved": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Remote config retrieved"
},
"404": {
"description": "Error retrieving remote config"
}
}
},
"put": {
"operationId": "putRemoteConfig",
"summary": "Put Remote Config",
"description": "Updates the remote config",
"parameters": [
{
"name": "project_id",
"in": "path",
"description": "the firebase project id",
"required": true,
"deprecated": false,
"allowEmptyValue": false,
"explode": false,
"allowReserved": false,
"schema": {
"type": "string"
}
},
{
"name": "validationOnly",
"in": "query",
"description": "If true, the server will only attempt to validate the RemoteConfig.",
"required": false,
"deprecated": false,
"allowEmptyValue": false,
"explode": false,
"allowReserved": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Remote config updated"
},
"404": {
"description": "Error updating remote config"
}
}
}
}
}
}Firebase REST API
API for interacting with Google cloud resource management API.
POST /v3/projectsCreates a new google cloud projectRetrieves a list of the projects from Firebase.
원본 API 스키마
{
"openapi": "3.1.0",
"info": {
"title": "Firebase REST API",
"version": "v1",
"description": "API for interacting with Google cloud resource management API."
},
"servers": [
{
"url": "https://cloudresourcemanager.googleapis.com"
}
],
"paths": {
"/v3/projects": {
"post": {
"operationId": "createProject",
"summary": "Creates a new google cloud project",
"description": "Retrieves a list of the projects from Firebase.",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"projectId": {
"type": "string",
"description": "Immutable. The unique, user-assigned id of the project. It must be 6 to 30 lowercase ASCII letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited."
},
"displayName": {
"type": "string",
"description": "A user-assigned display name of the project. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point."
}
}
}
}
}
},
"responses": {
"200": {
"description": "Google Cloud Project created successfully"
},
"404": {
"description": "Something went wrong trying to create a new google cloud project"
}
}
}
}
}
}