Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

APIs.io Engineering Platform Git API

Raw Git functionality.

This API exposes 13 operations across 12 paths, and defines 9 schemas. It is described by OpenAPI 3.0.0, at version 2015-07-09.

Requests are made against 4 base URLs: http://apigateway.{region}.amazonaws.com, https://apigateway.{region}.amazonaws.com, http://apigateway.{region}.amazonaws.com.cn, https://apigateway.{region}.amazonaws.com.cn.

13 operations 12 paths 9 schemas 1 DELETE6 GET1 PATCH5 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
2015-07-09
Base URL
https://{bucketname}.s3.amazonaws.com
Authentication
API Key
Terms of Service
Resource Areas
1

Authentication & Security 1

APIs.io Engineering Platform Git API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (hmac). By default, every request must be authenticated.

  • hmac — Amazon Signature authorization v4

Paths & Operations 13

Across 12 paths, the API surfaces 13 operations — 1 DELETE, 6 GET, 1 PATCH, 5 POST. Each is listed below with its method, path, parameters, and response codes.

Git 13

Raw Git functionality.

POST
/repos/{owner}/{repo}/git/blobs
APIs.io Engineering Platform Create a blob
git/create-blob 2 params body → 201404409403422
GET
/repos/{owner}/{repo}/git/blobs/{file_sha}
APIs.io Engineering Platform Get a blob
git/get-blob 3 params → 200404422403409
POST
/repos/{owner}/{repo}/git/commits
APIs.io Engineering Platform Create a commit
git/create-commit 2 params body → 201422404409
GET
/repos/{owner}/{repo}/git/commits/{commit_sha}
APIs.io Engineering Platform Get a commit object
git/get-commit 3 params → 200404409
GET
/repos/{owner}/{repo}/git/matching-refs/{ref}
APIs.io Engineering Platform List matching references
git/list-matching-refs 3 params → 200409
GET
/repos/{owner}/{repo}/git/ref/{ref}
APIs.io Engineering Platform Get a reference
git/get-ref 3 params → 200404409
POST
/repos/{owner}/{repo}/git/refs
APIs.io Engineering Platform Create a reference
git/create-ref 2 params body → 201422409
PATCH
/repos/{owner}/{repo}/git/refs/{ref}
APIs.io Engineering Platform Update a reference
git/update-ref 3 params body → 200422409
DELETE
/repos/{owner}/{repo}/git/refs/{ref}
APIs.io Engineering Platform Delete a reference
git/delete-ref 3 params → 204422409
POST
/repos/{owner}/{repo}/git/tags
APIs.io Engineering Platform Create a tag object
git/create-tag 2 params body → 201422409
GET
/repos/{owner}/{repo}/git/tags/{tag_sha}
APIs.io Engineering Platform Get a tag
git/get-tag 3 params → 200404409
POST
/repos/{owner}/{repo}/git/trees
APIs.io Engineering Platform Create a tree
git/create-tree 2 params body → 201422404403409
GET
/repos/{owner}/{repo}/git/trees/{tree_sha}
APIs.io Engineering Platform Get a tree
git/get-tree 4 params → 200422404409

Schemas 9

The contract defines 9 schemas that model the data the API accepts and returns. The most detailed are git-commit (10 properties), git-tag (8 properties), blob (7 properties), basic-error (4 properties). Each schema is shown below with its type and property counts.

basic-error
object
Basic Error
4 properties
git-commit
object
Low-level Git commit operations within a repository
10 properties 10 required
validation-error
object
Validation Error
3 properties 2 required
git-tree
object
The hierarchy between files in a Git repository.
4 properties 4 required
verification
object
4 properties 4 required
git-tag
object
Metadata for a Git tag
8 properties 7 required
short-blob
object
Short Blob
2 properties 2 required
blob
object
Blob
7 properties 6 required
git-ref
object
Git references within a repository
4 properties 4 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

engineering-platform-git-api-openapi.yml Raw ↑