Portainer · Schema
stacks.swarmStackFromGitRepositoryPayload
Container ManagementContainersDockerKubernetesKubernetes ManagementEnterprise IdentityGitOps
Properties
| Name | Type | Description |
|---|---|---|
| AdditionalFiles | array | Applicable when deploying with multiple stack files |
| AutoUpdate | object | Optional GitOps update configuration |
| ComposeFile | string | Path to the Stack file inside the Git repository |
| Env | array | A list of environment variables used during stack deployment |
| FromAppTemplate | boolean | Whether the stack is from a app template |
| Name | string | Name of the stack |
| RepositoryAuthentication | boolean | Use basic authentication to clone the Git repository |
| RepositoryPassword | string | Password used in basic authentication. Required when RepositoryAuthentication is true. |
| RepositoryReferenceName | string | Reference name of a Git repository hosting the Stack file |
| RepositoryURL | string | URL of a Git repository hosting the Stack file |
| RepositoryUsername | string | Username used in basic authentication. Required when RepositoryAuthentication is true. |
| SwarmID | string | Swarm cluster identifier |
| TLSSkipVerify | boolean | TLSSkipVerify skips SSL verification when cloning the Git repository |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/portainer/main/json-schema/portainer-stacks-swarm-stack-from-git-repository-payload-schema.json",
"title": "stacks.swarmStackFromGitRepositoryPayload",
"x-generated": "2026-10-03",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/portainer-stacks-api-openapi.yml#/components/schemas/stacks.swarmStackFromGitRepositoryPayload",
"properties": {
"AdditionalFiles": {
"description": "Applicable when deploying with multiple stack files",
"items": {
"type": "string"
},
"type": "array"
},
"AutoUpdate": {
"allOf": [
{
"$ref": "#/$defs/portainer.AutoUpdateSettings"
}
],
"description": "Optional GitOps update configuration"
},
"ComposeFile": {
"default": "docker-compose.yml",
"description": "Path to the Stack file inside the Git repository",
"type": "string"
},
"Env": {
"description": "A list of environment variables used during stack deployment",
"items": {
"$ref": "#/$defs/portainer.Pair"
},
"type": "array"
},
"FromAppTemplate": {
"description": "Whether the stack is from a app template",
"type": "boolean"
},
"Name": {
"description": "Name of the stack",
"type": "string"
},
"RepositoryAuthentication": {
"description": "Use basic authentication to clone the Git repository",
"type": "boolean"
},
"RepositoryPassword": {
"description": "Password used in basic authentication. Required when RepositoryAuthentication is true.",
"type": "string"
},
"RepositoryReferenceName": {
"description": "Reference name of a Git repository hosting the Stack file",
"type": "string"
},
"RepositoryURL": {
"description": "URL of a Git repository hosting the Stack file",
"type": "string"
},
"RepositoryUsername": {
"description": "Username used in basic authentication. Required when RepositoryAuthentication is true.",
"type": "string"
},
"SwarmID": {
"description": "Swarm cluster identifier",
"type": "string"
},
"TLSSkipVerify": {
"description": "TLSSkipVerify skips SSL verification when cloning the Git repository",
"type": "boolean"
}
},
"required": [
"Name",
"RepositoryURL",
"SwarmID"
],
"type": "object",
"$defs": {
"portainer.AutoUpdateSettings": {
"properties": {
"ForcePullImage": {
"description": "Pull latest image",
"type": "boolean"
},
"ForceUpdate": {
"description": "Force update ignores repo changes",
"type": "boolean"
},
"Interval": {
"description": "Auto update interval",
"type": "string"
},
"JobID": {
"description": "Autoupdate job id",
"type": "string"
},
"Webhook": {
"description": "A UUID generated from client",
"type": "string"
}
},
"type": "object"
},
"portainer.Pair": {
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/portainer-stacks-swarm-stack-from-git-repository-payload"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
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.