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

Freestyle Git API

APIs for managing git repositories and accessing git objects like commits, trees, blobs, tags, and refs.

Freestyle Git API is one of 11 APIs that Freestyle publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include Git. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, and 2 JSON Schemas.

This API exposes 38 operations across 28 paths, and defines 70 schemas. It is described by OpenAPI 3.2.0, at version 0.1.0.

Requests are made against a single base URL, https://api.freestyle.sh.

38 operations 28 paths 70 schemas 4 DELETE25 GET7 POST2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
0.1.0
Server
https://api.freestyle.sh
Authentication
HTTP Bearer
Contact
License
Closed Source
Resource Areas
1

Authentication & Security 1

Freestyle Git API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

Paths & Operations 38

Across 28 paths, the API surfaces 38 operations — 4 DELETE, 25 GET, 7 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.

Git 38

APIs for managing git repositories and accessing git objects like commits, trees, blobs, tags, and refs.

GET
/git/v1/repo
List Repositories
handle_list_repositories 3 params → 200500
POST
/git/v1/repo
Create a Repository
handle_create_repo body → 200403500
GET
/git/v1/repo/{repo_id}/default-branch
Get Repository Default Branch
handle_get_default_branch 1 param → 200403500
PUT
/git/v1/repo/{repo_id}/default-branch
Set Repository Default Branch
handle_set_default_branch 1 param body → 200403500
GET
/git/v1/repo/{repo_id}/github-sync
Get GitHub Sync Configuration
get_github_sync 1 param → 200404500
POST
/git/v1/repo/{repo_id}/github-sync
Configure GitHub Sync for Repository
configure_github_sync 1 param body → 200400404500
DELETE
/git/v1/repo/{repo_id}/github-sync
Remove GitHub Sync Configuration
remove_github_sync 1 param → 200404500
GET
/git/v1/repo/{repo_id}/visibility
Get Repository Visibility
handle_get_visibility 1 param → 200403500
PUT
/git/v1/repo/{repo_id}/visibility
Set Repository Visibility
handle_set_visibility 1 param body → 200403500
GET
/git/v1/repo/{repo}
Get Repository Information
handle_get_repo_info 1 param → 200400403404500
DELETE
/git/v1/repo/{repo}
Delete a Repository
handle_delete_repo 1 param → 200403500
POST
/git/v1/repo/{repo}/commits
Create a Commit with Files
handle_create_commit 1 param body → 200403500
GET
/git/v1/repo/{repo}/compare
Compare Two Commits
handle_compare_commits 3 params → 200
GET
/git/v1/repo/{repo}/contents/{path}
Get the Contents of a File or Directory
handle_get_contents 4 params → 200
GET
/git/v1/repo/{repo}/git/blobs/{hash}
Get a Blob Object
handle_get_blob 2 params → 200
GET
/git/v1/repo/{repo}/git/commits
List Commits for a Repository
handle_list_commits 8 params → 200403500
POST
/git/v1/repo/{repo}/git/commits
Create a Commit From Git Objects
handle_create_odb_commit 1 param body → 200403500
GET
/git/v1/repo/{repo}/git/commits/{hash}
Get a Commit Object
handle_get_commit 2 params → 200
GET
/git/v1/repo/{repo}/git/refs/heads/
List Branches in a Repo
handle_list_branches 1 param → 200
POST
/git/v1/repo/{repo}/git/refs/heads/{*branch}
Create a New Branch
handle_create_branch 2 params body → 200400403500
GET
/git/v1/repo/{repo}/git/refs/heads/{branch}
Get a Branch Reference
handle_get_ref_branch 2 params → 200400403500
GET
/git/v1/repo/{repo}/git/refs/tags/
List All Tags in a Repository
handle_list_tags 1 param → 200
GET
/git/v1/repo/{repo}/git/refs/tags/{tag}
Get a Tag by Name
handle_get_ref_tag 2 params → 200400403500
GET
/git/v1/repo/{repo}/git/tags/{hash}
Get an Annotated Tag Object by SHA (advanced)
handle_get_tag 2 params → 200
GET
/git/v1/repo/{repo}/git/trees/{hash}
Get a Tree Object
handle_get_tree 2 params → 200
GET
/git/v1/repo/{repo}/repair
List Repair Jobs for a Repository
handle_list_repair_jobs 1 param → 200403404
POST
/git/v1/repo/{repo}/repair
Schedule a Repo-repair Job
handle_schedule_repair 2 params → 202403404409429
GET
/git/v1/repo/{repo}/repair/{job_id}
Get the Status of a Repair Job
handle_get_repair_job 2 params → 200403404
DELETE
/git/v1/repo/{repo}/repair/{job_id}
Cancel a Running Repair Job
handle_cancel_repair_job 2 params → 200403404
GET
/git/v1/repo/{repo}/search
Full-text Search Across Repository Files
handle_search 10 params → 200
GET
/git/v1/repo/{repo}/search/commits
Search Commit Messages
handle_search_commits 6 params → 200
GET
/git/v1/repo/{repo}/search/diffs
Search File Content Changes Across Commits
handle_search_diffs 10 params → 200
GET
/git/v1/repo/{repo}/search/files
Search for Files by Name
handle_search_files 6 params → 200
GET
/git/v1/repo/{repo}/tarball
Download a Tarball of a Repo
handle_download_tarball 2 params → 200
GET
/git/v1/repo/{repo}/trigger
List Git Triggers for a Repository
handle_list_git_triggers 1 param → 200403404500
POST
/git/v1/repo/{repo}/trigger
Create a Git Trigger
handle_create_git_trigger 1 param body → 200400403404500
DELETE
/git/v1/repo/{repo}/trigger/{trigger}
Delete a Git Trigger
handle_delete_git_trigger 2 params → 200400403404500
GET
/git/v1/repo/{repo}/zip
Download a Zip of a Repo
handle_download_zip 2 params → 200

Schemas 70

The contract defines 70 schemas that model the data the API accepts and returns. The most detailed are RepairJobView (11 properties), CommitList (8 properties), DiffFile (7 properties), CommitObject (6 properties). Each schema is shown below with its type and property counts.

CommitParent
object
1 property 1 required
CreateRepoImport
CommitSearchResult
object
3 properties 3 required
DiffLineMatch
object
A line that was added or changed in a diff that matched the search query.
5 properties 5 required
DiffSearchCommit
object
A commit that contained matching diff content.
6 properties 6 required
RewrittenRef
object
3 properties 3 required
GetDefaultBranchResponse
object
1 property 1 required
GitReference
object
A reference to a Git object
2 properties 2 required
CreateRepositoryResponseSuccess
object
1 property 1 required
CreateOdbCommitResponse
object
1 property 1 required
BranchDetails
object
3 properties 2 required
CommitTree
object
1 property 1 required
SetDefaultBranchRequest
object
1 property 1 required
CreateOdbCommitRequest
object
5 properties 3 required
RepositoryInfoRaw
object
6 properties 5 required
TagTarget
object
1 property 1 required
DiffFile
object
A file that was changed in the comparison
7 properties 5 required
RepositoryMetadata
object
3 properties 3 required
ConfigureGithubSyncRequest
object
1 property 1 required
CommitComparison
object
Response containing the comparison between two commits
5 properties 5 required
CreateRepoSource
object
5 properties 1 required
CreateCommitRequest
object
5 properties 2 required
SearchResult
object
4 properties 4 required
CommitAuthorInfo
object
2 properties 2 required
CommitSearchEntry
object
6 properties 6 required
RepairResult
object
2 properties 2 required
ListRepositoriesSuccess
object
3 properties 3 required
LineMatch
object
6 properties 6 required
ComparisonStatus
string
The status of a commit comparison
CreateBranchResponse
object
2 properties 2 required
SetVisibilityRequest
object
1 property 1 required
SetVisibilityResponse
object
RepairAccepted
object
4 properties 3 required
CommitList
object
8 properties 4 required
TagDetails
object
3 properties 2 required
GetVisibilityResponse
object
1 property 1 required
FilenameEntry
object
3 properties 2 required
CreateBranchRequest
object
1 property
FileChange
object
4 properties 1 required
FileEncoding
string
File content encoding
FileSearchResult
object
4 properties 3 required
GitContents
GitRepositoryTrigger
object
6 properties 6 required
CreateCommitResponse
object
1 property 1 required
DiffFileMatch
object
A file within a commit that contained matching changed content.
2 properties 2 required
FilenameSearchResult
object
3 properties 3 required
TagObject
object
Tag object
5 properties 3 required
CommitAuthor
object
3 properties 2 required
CommitOrder
string
Sort order for commit listing
GitContentsDirEntryItem
TreeEntry
GithubSyncConfigResponse
object
1 property 1 required
RepairJobList
object
1 property 1 required
CommitObject
object
Commit object
6 properties 6 required
TreeObject
object
Tree object
2 properties 2 required
BlobEncoding
string
The encoding of a blob from the API. Always base64.
DiffSearchResult
object
Diff content search results.
3 properties 3 required
Visibility
string
Signature
object
3 properties 3 required
ListGitTriggersSuccess
object
1 property 1 required
DeleteRepositorySuccess
object
BranchInfo
object
2 properties 1 required
ListTagsResponse
object
1 property 1 required
BlobObject
object
Blob object
4 properties 4 required
RepairJobView
object
JSON view of a job for the GET endpoint. Status is tagged so the result and error fields are unambiguous to consumers.
11 properties 5 required
CommitsSelector
Selector for commits based on since/until
SetDefaultBranchResponse
object
VerificationFailureView
object
Failure shape for the post-rewrite verification phase. Surfaced via RepairJobStatus::Failed when the dry-run pack build fails, so the operator can see which OI…
5 properties 3 required
DiffFileStatus
string
The status of a file in a diff
ListBranchesResponse
object
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

freestyle-sh-git-api-openapi.yml Raw ↑

Other APIs Freestyle publishes across the network.

Freestyle Auth API
Freestyle Certs API
Freestyle Cron API
Freestyle DNS API
Freestyle Domains API
Freestyle Execute API
Freestyle Identity API
Freestyle Observability API
Freestyle VM API
Freestyle Web API
Where this information came from

This is an independent, third-party profile of Freestyle Git 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.