HAAS Assistant
HAAS Assistant · GPT Actions
OpenAI_Agent_Swarm GitHub repo GraphQL API
Interact with the OpenAI_Agent_Swarm GitHub repo using GraphQL. Sample query: curl -X POST -H 'Content-Type: application/json' -d '{"query": "query { repository(owner: \"daveshap\", name: \"OpenAI_Agent_Swarm\") { issues(first: 10, states: OPEN) { edges { node { title url createdAt } } } } }"}' https://api.github.com/graphql
POST /graphqlgraphqlEndpoint_v3GraphQL endpoint for the OpenAI_Agent_Swarm GitHub repo.
原始 API 定义
{
"openapi": "3.1.0",
"info": {
"title": "OpenAI_Agent_Swarm GitHub repo GraphQL API",
"description": "Interact with the OpenAI_Agent_Swarm GitHub repo using GraphQL. Sample query: curl -X POST -H 'Content-Type: application/json' -d '{\"query\": \"query { repository(owner: \\\"daveshap\\\", name: \\\"OpenAI_Agent_Swarm\\\") { issues(first: 10, states: OPEN) { edges { node { title url createdAt } } } } }\"}' https://api.github.com/graphql",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://api.github.com"
}
],
"paths": {
"/graphql": {
"post": {
"description": "GraphQL endpoint for the OpenAI_Agent_Swarm GitHub repo.",
"operationId": "graphqlEndpoint_v3",
"requestBody": {
"description": "GraphQL query in a stringified JSON format",
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"query": {
"type": "string"
}
},
"required": [
"query"
]
}
}
}
}
}
}
},
"components": {
"schemas": {
"Error": {
"type": "object",
"properties": {
"message": {
"type": "string"
}
}
}
}
}
}