Models
Get git configuration
Changed onget/api/v1/models/{modelId}/git
Request
- Base URLhttps://omniapp.co (the document declares no server; this is the origin it was published from)
- URLhttps://omniapp.co/api/v1/models/{modelId}/git
- AuthHTTP bearer
Path parameters
modelIdstring uuid required
Model UUID
Example:123e4567-e89b-12d3-a456-426614174000
Query parameters
includestring
Comma-separated list of optional fields to include. Supported: "webhookSecret"
Example:webhookSecret
Response
Git configuration for the model
Example response
{
"authMethod": "ssh",
"baseBranch": "main",
"cloneUrl": "git@github.com:org/repo.git",
"commitSigningCommitterEmail": "omni-bot@example.com",
"commitSigningCommitterName": "Omni Bot",
"commitSigningPublicKey": "ssh-ed25519 AAAA...",
"gitServiceProvider": "github",
"githubAppInstallationId": "12345678",
"modelPath": "omni/my_model",
"publicKey": "ssh-ed25519 AAAA...",
"requirePullRequest": "users-only",
"webUrl": "https://github.com/org/repo",
"webhookUrl": "https://app.omni.co/api/webhooks/model/..."
}Changes
- warning
added the new
github_appenum value to theresponse property for the response status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- warning