GH Features

GitHub Features API

Full documentation for interacting with GitHub Features through its REST and GraphQL APIs.

Last updated: 2025-08-15

Quick Start

1. Authentication

Use a personal access token or OAuth2 for API requests.

curl -H "Authorization: Bearer YOUR_TOKEN" https://api.githubfeatures.com/api/v1/user
Learn about tokens →

2. Base URL

All API endpoints are relative to the base URL: https://api.githubfeatures.com/api/v1

GET /repositories

3. Make Requests

Use standard HTTP methods and content types (application/json).

POST /collaborators
{
  "username": "example-user"
}

API Endpoints

Authentication

Endpoint: POST /auth/token

Obtain an access token using a client ID and secret.

{
  "client_id": "your-client-id",
  "client_secret": "your-secret",
  "username": "user-identifier"
}

Repository API

Endpoint: GET /repositories

List all repositories for the authenticated user.

Endpoint: POST /repositories

Create a new repository with the specified name and options.

Collaboration

Endpoint: POST /collaborators

Add a collaborator to a specific repository.

Endpoint: GET /repositories/{id}/collaborators

List all collaborators for a specific repository.

Example Requests

Create a Repository

POST /repositories

# cURL Example
curl -u "oauth2:ACCESS_TOKEN" \
     -X POST \
     -H "Content-Type: application/json" \
     -d '{
           "name": "my-new-repo",
           "description": "A sample repository"
         }' \
     "https://api.githubfeatures.com/repositories"

Response (201 Created):

{ "id": 12345, "name": "my-new-repo", "html_url": "https://github.com/username/my-new-repo" }

Need More Help?

API Changelog

View detailed updates for each API version and breaking changes.

View History

API Rate Limits

Learn about rate limits and how to handle API throttling scenarios.

View Limits

API Playground

Test API calls directly from your browser using our interactive console.

Try it Now

Need Help Integrating?

Get assistance from our developers or join our community forums to ask questions.