Create or update YAML files
documentedCreate or update YAML files for a model.
POST /api/v1/models/{modelId}/yamlModel YAMLno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$instance}}.omniapp.co/api/v1/models/{{$modelId}}/yaml" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"fileName": "{{$fileName}}", "yaml": "{{$yaml}}", "mode": "combined", "branchId": "{{$branchId}}", "commitMessage": "{{$commitMessage}}", "previousChecksum": "{{$previousChecksum}}"}'