How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

GitHub Templates API

The Templates API from GitHub — 4 operation(s) for templates.

GitHub Templates API is one of 350 APIs that GitHub publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Templates. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an AsyncAPI specification, and an API reference.

This API exposes 6 operations across 4 paths, and defines 16 schemas. It is described by OpenAPI 3.2.0, at version 1.1.4.

Requests are made against 2 base URLs: {protocol}://{hostname}/api/v3, {protocol}://{hostname}.

6 operations 4 paths 16 schemas 3 GET1 POST2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.1.4
Base URL
https://api.github.com
Authentication
HTTP Bearer
License
Terms of Service
Resource Areas
1

Authentication & Security 1

GitHub Templates API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerHttpAuthentication).

  • bearerHttpAuthentication — Bearer Token

Paths & Operations 6

Across 4 paths, the API surfaces 6 operations — 3 GET, 1 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.

Templates 6
GET
/gitignore/templates/{name}
GitHub Get Gitignore Template
getGitignoreTemplate 1 param → 200304
GET
/orgs/{org}/actions/oidc/customization/sub
GitHub Get the Customization Template for an Oidc Subject Claim for an Organization
getTheCustomizationTemplateForAnOidcSubjectClaimForAnOrganization 1 param → 200
PUT
/orgs/{org}/actions/oidc/customization/sub
GitHub Set the Customization Template for an Oidc Subject Claim for an Organization
setTheCustomizationTemplateForAnOidcSubjectClaimForAnOrganization 1 param body → 201403404
GET
/repos/{owner}/{repo}/actions/oidc/customization/sub
GitHub Get the Customization Template for an Oidc Subject Claim for Repository
getTheCustomizationTemplateForAnOidcSubjectClaimForRepository 5 params → 200400404
PUT
/repos/{owner}/{repo}/actions/oidc/customization/sub
GitHub Set the Customization Template for an Oidc Subject Claim for Repository
setTheCustomizationTemplateForAnOidcSubjectClaimForRepository 5 params body → 201400404422
POST
/repos/{template_owner}/{template_repo}/generate
GitHub Create Repository Using Template
createRepositoryUsingTemplate 5 params body → 201

Schemas 16

The contract defines 16 schemas that model the data the API accepts and returns. The most detailed are full-repository (102 properties), nullable-repository (95 properties), repository (95 properties), simple-user (21 properties). Each schema is shown below with its type and property counts.

gitignore-template
object
Gitignore Template
2 properties 2 required
empty-object
object
An object without any properties.
oidc-custom-sub
object
Actions OIDC Subject customization
1 property 1 required
basic-error
object
Basic Error
4 properties
scim-error
object
Scim Error
6 properties
empty-object_2
object
An object without any properties.
oidc-custom-sub-repo
object
Actions OIDC subject customization for a repository
2 properties 1 required
validation-error-simple
object
Validation Error Simple
3 properties 2 required
simple-user
object
GitHub user.
21 properties 18 required
nullable-repository
object
repository on GitHub.
95 properties 73 required
full-repository
object
Full Repository
102 properties 75 required
repository
object
repository on GitHub.
95 properties 73 required
code-of-conduct-simple
object
Code of Conduct Simple
4 properties 4 required
nullable-simple-user
object
GitHub user.
21 properties 18 required
nullable-license-simple
object
License Simple
6 properties 5 required
security-and-analysis
object
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

github-templates-api-openapi.yml Raw ↑

Other APIs GitHub publishes across the network.

GitHub Events API
GitHub Feeds API
GitHub Gists API
GitHub Issues API
GitHub Licenses API
GitHub Markdown API
GitHub Meta API
GitHub Notifications API
GitHub Octocat API
GitHub Projects API
GitHub Repos API
GitHub Search API
Where this information came from

This is an independent, third-party profile of GitHub Templates API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.