Portainer · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for PortainerCE Custom Templates API

10 actions 10 updates phrasing extends openapi/portainer-custom-templates-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Portainer's API. It is a proposal applied on top of the contract, not a document Portainer publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 10

$.info
$.paths['/custom_templates'].get
$.paths['/custom_templates/{id}'].get
$.paths['/custom_templates/{id}'].put
$.paths['/custom_templates/{id}'].delete
$.paths['/custom_templates/{id}/file'].get
$.paths['/custom_templates/{id}/git_fetch'].put
$.paths['/custom_templates/create/file'].post
$.paths['/custom_templates/create/repository'].post
$.paths['/custom_templates/create/string'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for PortainerCE Custom Templates API
  version: 1.0.0
extends: openapi/portainer-custom-templates-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-19'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 9
- target: $.paths['/custom_templates'].get
  update:
    x-apievangelist-phrasing:
      intent: List custom templates
      effect: read
      questions:
      - Which custom templates are available to deploy?
      - Can I list only edge templates?
      instructions:
      - text: List custom templates of type {type}.
        slots:
          type: query.type
      - text: List {type} templates where edge is {edge}.
        slots:
          type: query.type
          edge: query.edge
      method: generated
      generated: '2026-11-19'
- target: $.paths['/custom_templates/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Inspect a custom template
      effect: read
      questions:
      - What file and variables does a custom template use?
      - Can I see the details of one template?
      instructions:
      - text: Inspect custom template {id}.
        slots:
          id: path.id
      - text: Show the file and variables of template {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/custom_templates/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a custom template
      effect: write
      questions:
      - How do I change the file content of an existing template?
      - Can I update the variables in a custom template?
      instructions:
      - text: Update template {id} with file {FileContent} and variables {Variables}.
        slots:
          id: path.id
          FileContent: requestBody.FileContent
          Variables: requestBody.Variables
      - text: Change the description of template {id} to {Description}.
        slots:
          id: path.id
          Description: requestBody.Description
      method: generated
      generated: '2026-11-19'
- target: $.paths['/custom_templates/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove a custom template
      effect: destructive
      questions:
      - How do I delete a custom template?
      - Can I remove a template I no longer use?
      instructions:
      - text: Delete custom template {id}.
        slots:
          id: path.id
      - text: Remove template {id} permanently.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/custom_templates/{id}/file'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a template's stack file content
      effect: read
      questions:
      - What does the stack file of a custom template contain?
      - Can I download the file behind a template?
      instructions:
      - text: Get the stack file content of template {id}.
        slots:
          id: path.id
      - text: Download the file behind custom template {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/custom_templates/{id}/git_fetch'].put
  update:
    x-apievangelist-phrasing:
      intent: Fetch a template's latest Git config
      effect: write
      questions:
      - How do I reload a Git-backed template with the latest config?
      - Can I refresh a template's file from its repository?
      instructions:
      - text: Fetch the latest config for template {id}.
        slots:
          id: path.id
      - text: Reload template {id} from its Git repository.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/custom_templates/create/file'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a template from a file
      effect: write
      questions:
      - How do I create a custom template from a stack file on disk?
      - Can I add a template with a file I already have?
      instructions:
      - text: Create a {Type} template {Title} from file {File} on {Platform}.
        slots:
          Type: requestBody.Type
          Title: requestBody.Title
          File: requestBody.File
          Platform: requestBody.Platform
      - text: Add a template {Title} with description {Description} and note {Note}.
        slots:
          Title: requestBody.Title
          Description: requestBody.Description
          Note: requestBody.Note
      method: generated
      generated: '2026-11-19'
- target: $.paths['/custom_templates/create/repository'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a template from a Git repository
      effect: write
      questions:
      - How do I create a template from a Git repository?
      - Can I use a private repo with credentials to create a template?
      instructions:
      - text: Create a {Type} template {Title} from repo {RepositoryURL}.
        slots:
          Type: requestBody.Type
          Title: requestBody.Title
          RepositoryURL: requestBody.RepositoryURL
      - text: Create template {Title} from {RepositoryURL} on branch {RepositoryReferenceName}.
        slots:
          Title: requestBody.Title
          RepositoryURL: requestBody.RepositoryURL
          RepositoryReferenceName: requestBody.RepositoryReferenceName
      method: generated
      generated: '2026-11-19'
- target: $.paths['/custom_templates/create/string'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a template from file content
      effect: write
      questions:
      - How do I create a template from raw stack file content?
      - Can I define a template's file content inline as text?
      instructions:
      - text: Create a {Type} template {Title} with file content {FileContent}.
        slots:
          Type: requestBody.Type
          Title: requestBody.Title
          FileContent: requestBody.FileContent
      - text: Create template {Title} from inline content {FileContent} on {Platform}.
        slots:
          Title: requestBody.Title
          FileContent: requestBody.FileContent
          Platform: requestBody.Platform
      method: generated
      generated: '2026-11-19'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay 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 overlay
curl "https://apis.io/api/v1/overlays/portainer-custom-templates-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.