list_organization_projects_v2
Fetch and organize GitHub projects within an organization using GraphQL API, supports pagination and customizable sorting by creation or update date.
Instructions
List projects V2 in a GitHub organization using GraphQL API
Input Schema
Name | Required | Description | Default |
---|---|---|---|
after | No | Cursor for pagination | |
first | No | Number of projects to fetch (max 100) | |
orderBy | No | How to order the projects | |
org | Yes | Organization name |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"after": {
"description": "Cursor for pagination",
"type": "string"
},
"first": {
"description": "Number of projects to fetch (max 100)",
"type": "number"
},
"orderBy": {
"additionalProperties": false,
"description": "How to order the projects",
"properties": {
"direction": {
"enum": [
"ASC",
"DESC"
],
"type": "string"
},
"field": {
"enum": [
"CREATED_AT",
"UPDATED_AT"
],
"type": "string"
}
},
"required": [
"field",
"direction"
],
"type": "object"
},
"org": {
"description": "Organization name",
"type": "string"
}
},
"required": [
"org"
],
"type": "object"
}