Portainer · Schema

edgestacks.edgeStackFromGitRepositoryPayload

Container ManagementContainersDockerKubernetesKubernetes ManagementEnterprise IdentityGitOps

Properties

Name Type Description
DeploymentType object Deployment type to deploy this stack Valid values are: 0 - 'compose', 1 - 'kubernetes' compose is enabled only for docker environments kubernetes is enabled only for kubernetes environments
EdgeGroups array List of identifiers of EdgeGroups
FilePathInRepository string Path to the Stack file inside the Git repository
Name string Name of the stack Max length: 255 Name must only contains lowercase characters, numbers, hyphens, or underscores Name must start with a lowercase character or number Example: stack-name or stack_123 o
Registries array List of Registries to use for this stack
RepositoryAuthentication boolean Use basic authentication to clone the Git repository
RepositoryAuthorizationType object RepositoryAuthorizationType is the authorization type to use
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.
TLSSkipVerify boolean TLSSkipVerify skips SSL verification when cloning the Git repository
UseManifestNamespaces boolean Uses the manifest's namespaces instead of the default one
View JSON Schema on GitHub

JSON Schema

portainer-edgestacks-edge-stack-from-git-repository-payload-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/portainer/main/json-schema/portainer-edgestacks-edge-stack-from-git-repository-payload-schema.json",
  "title": "edgestacks.edgeStackFromGitRepositoryPayload",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/portainer-edge-stacks-api-openapi.yml#/components/schemas/edgestacks.edgeStackFromGitRepositoryPayload",
  "properties": {
    "DeploymentType": {
      "allOf": [
        {
          "$ref": "#/$defs/portainer.EdgeStackDeploymentType"
        }
      ],
      "description": "Deployment type to deploy this stack\nValid values are: 0 - 'compose', 1 - 'kubernetes'\ncompose is enabled only for docker environments\nkubernetes is enabled only for kubernetes environments",
      "enum": [
        0,
        1,
        2
      ]
    },
    "EdgeGroups": {
      "description": "List of identifiers of EdgeGroups",
      "items": {
        "type": "integer"
      },
      "type": "array"
    },
    "FilePathInRepository": {
      "default": "docker-compose.yml",
      "description": "Path to the Stack file inside the Git repository",
      "type": "string"
    },
    "Name": {
      "description": "Name of the stack\nMax length: 255\nName must only contains lowercase characters, numbers, hyphens, or underscores\nName must start with a lowercase character or number\nExample: stack-name or stack_123 or stackName",
      "type": "string"
    },
    "Registries": {
      "description": "List of Registries to use for this stack",
      "items": {
        "type": "integer"
      },
      "type": "array"
    },
    "RepositoryAuthentication": {
      "description": "Use basic authentication to clone the Git repository",
      "type": "boolean"
    },
    "RepositoryAuthorizationType": {
      "allOf": [
        {
          "$ref": "#/$defs/gittypes.GitCredentialAuthType"
        }
      ],
      "description": "RepositoryAuthorizationType is the authorization type to use"
    },
    "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"
    },
    "TLSSkipVerify": {
      "description": "TLSSkipVerify skips SSL verification when cloning the Git repository",
      "type": "boolean"
    },
    "UseManifestNamespaces": {
      "description": "Uses the manifest's namespaces instead of the default one",
      "type": "boolean"
    }
  },
  "required": [
    "EdgeGroups",
    "Name",
    "RepositoryURL"
  ],
  "type": "object",
  "$defs": {
    "gittypes.GitCredentialAuthType": {
      "enum": [
        0,
        1
      ],
      "type": "integer",
      "x-enum-varnames": [
        "GitCredentialAuthType_Basic",
        "GitCredentialAuthType_Token"
      ]
    },
    "portainer.EdgeStackDeploymentType": {
      "enum": [
        0,
        1
      ],
      "type": "integer",
      "x-enum-varnames": [
        "EdgeStackDeploymentCompose",
        "EdgeStackDeploymentKubernetes"
      ]
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/portainer-edgestacks-edge-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.