v1
latestOpenAPI 3.0.02026-07-17527114.4 KBActions
Push from branch
Sync data from your current git branch to the server.
- Upload specs (feature.yaml files) and the requirements and metadata defined in them.
- Upload code references (ACID tags) found in source code, and their file paths.
This endpoint can create or link implementations while syncing specs and refs, but it does not accept feature-state writes or configure implementation settings directly.
Use this when source code or specs have changed on a branch. This endpoint is primarily intended to serve the acai push CLI command.
post/push
Request body
Example request
{
"branch_name": "main",
"commit_hash": "abc123def456",
"repo_uri": "github.com/my-org/my-repo",
"specs": [
{
"feature": {
"name": "auth-feature",
"product": "my-app"
},
"meta": {
"last_seen_commit": "abc123def456",
"path": "features/auth.feature.yaml"
},
"requirements": {
"auth-feature.AUTH.1": {
"requirement": "Must validate credentials"
}
}
}
]
}Response
Push successful
Example response
{
"data": {
"branch_id": "123e4567-e89b-12d3-a456-426614174001",
"implementation_id": "123e4567-e89b-12d3-a456-426614174000",
"implementation_name": "production",
"product_name": "my-app",
"specs_created": 1,
"specs_updated": 0,
"warnings": []
}
}