Model Git configuration
Get Git configuration
Retrieve the Git configuration for a shared model, or a shared extension model in the Develop independently branch workflow that owns its own Git repository, separate from its parent model's.
get/v1/models/{modelId}/git
Request
- Base URLhttps://blobsrus.omniapp.co/api
- URLhttps://blobsrus.omniapp.co/api/v1/models/{modelId}/git
- AuthHTTP bearer
Path parameters
modelIdstring uuid required
The unique identifier of the shared model, or a shared extension model in the Develop independently branch workflow.
Query parameters
include'webhookSecret'
Comma-separated list of additional fields to include in the response.
- webhookSecret - Include the webhook secret in the response
Response
Git configuration retrieved successfully
Example response
{
"authMethod": "ssh",
"cloneUrl": "git@github.com:org/repo.git",
"baseBranch": "main",
"gitServiceProvider": "github",
"modelPath": "omni/blobs_r_us",
"requirePullRequest": "users-only",
"sshUrl": "git@github.com:org/repo.git",
"webUrl": "https://github.com/org/repo",
"webhookUrl": "https://app.omni.co/api/webhooks/model/..."
}Changes
No recorded changes to this operation across all 2 revisions of this API.