Flatfile Subpackage Commits API
The subpackage_commits API from Flatfile — 3 operation(s) for subpackage_commits.
The subpackage_commits API from Flatfile — 3 operation(s) for subpackage_commits.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/flatfile:flatfile-subpackage-commits-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Reference Subpackage Commits API
version: 1.0.0
servers:
- url: https://api.x.flatfile.com/v1
tags:
- name: subpackage_commits
paths:
/commits/{commitId}:
get:
operationId: get
summary: Get a commit version
description: Returns the details of a commit version
tags:
- subpackage_commits
parameters:
- name: commitId
in: path
description: ID of the commit version to return
required: true
schema:
$ref: '#/components/schemas/type_commons_CommitId'
- name: Authorization
in: header
description: Bearer authentication
required: true
schema:
type: string
- name: X-Disable-Hooks
in: header
required: true
schema:
type: string
enum:
- 'true'
responses:
'200':
description: Response with status 200
content:
application/json:
schema:
$ref: '#/components/schemas/type_commits_CommitResponse'
'400':
description: Error response with status 400
content:
application/json:
schema:
$ref: '#/components/schemas/type_commons_Errors'
'404':
description: Error response with status 404
content:
application/json:
schema:
$ref: '#/components/schemas/type_commons_Errors'
/commits/{commitId}/complete:
post:
operationId: complete
summary: Complete a commit version
description: Completes a commit version. This marks the commit as complete and acknowledges that the changes have been applied to the sheet.
tags:
- subpackage_commits
parameters:
- name: commitId
in: path
description: ID of the commit version to complete
required: true
schema:
$ref: '#/components/schemas/type_commons_CommitId'
- name: Authorization
in: header
description: Bearer authentication
required: true
schema:
type: string
- name: X-Disable-Hooks
in: header
required: true
schema:
type: string
enum:
- 'true'
responses:
'200':
description: Response with status 200
content:
application/json:
schema:
$ref: '#/components/schemas/type_commons_Success'
'400':
description: Error response with status 400
content:
application/json:
schema:
$ref: '#/components/schemas/type_commons_Errors'
'404':
description: Error response with status 404
content:
application/json:
schema:
$ref: '#/components/schemas/type_commons_Errors'
/commits/{commitId}/replay:
post:
operationId: replay
summary: Replay a commit version
description: Replays a commit:created event.
tags:
- subpackage_commits
parameters:
- name: commitId
in: path
description: ID of the commit version to re-emit a commit:created event for
required: true
schema:
$ref: '#/components/schemas/type_commons_CommitId'
- name: Authorization
in: header
description: Bearer authentication
required: true
schema:
type: string
- name: X-Disable-Hooks
in: header
required: true
schema:
type: string
enum:
- 'true'
responses:
'200':
description: Response with status 200
content:
application/json:
schema:
$ref: '#/components/schemas/type_commons_Success'
'400':
description: Error response with status 400
content:
application/json:
schema:
$ref: '#/components/schemas/type_commons_Errors'
'404':
description: Error response with status 404
content:
application/json:
schema:
$ref: '#/components/schemas/type_commons_Errors'
components:
schemas:
type_commons_Success:
type: object
properties:
data:
$ref: '#/components/schemas/type_commons_SuccessData'
description: Informs whether or not a request was successful
title: Success
type_commons_Errors:
type: object
properties:
errors:
type: array
items:
$ref: '#/components/schemas/type_commons_Error'
required:
- errors
title: Errors
type_commons_SuccessData:
type: object
properties:
success:
type: boolean
required:
- success
title: SuccessData
type_commits_CommitResponse:
type: object
properties:
data:
$ref: '#/components/schemas/type_commits_Commit'
required:
- data
title: CommitResponse
type_commons_CommitId:
type: string
description: Commit ID
title: CommitId
type_commons_Error:
type: object
properties:
key:
type: string
message:
type: string
required:
- message
title: Error
type_commons_SheetId:
type: string
description: Sheet ID
title: SheetId
type_commits_Commit:
type: object
properties:
id:
$ref: '#/components/schemas/type_commons_CommitId'
sheetId:
$ref: '#/components/schemas/type_commons_SheetId'
createdBy:
type: string
description: The actor (user or system) who created the commit
completedBy:
type: string
description: The actor (user or system) who completed the commit
createdAt:
type: string
format: date-time
description: The time the commit was created
completedAt:
type: string
format: date-time
description: The time the commit was acknowledged
required:
- id
- sheetId
- createdBy
- createdAt
description: A commit version
title: Commit
securitySchemes:
default:
type: http
scheme: bearer
x-provenance:
method: harvested
publisher: Flatfile
source: https://reference.flatfile.com/openapi.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)