Templates

Get a specific template by slug

Changed on

Returns detailed information about a single template.

get/templates/{slug}

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

slugstring required

Template slug

Response

Template details

commandstring[] nullable

Optional command passed to the image entrypoint.

databasesstring[] required

Managed databases the template needs.

descriptionstring nullable

Short description

exposed_portinteger nullable

Container port the prebuilt image listens on (image deploys only).

featuresstring[] required

Feature highlights

health_check_pathstring nullable

HTTP health-check path probed after the container starts (image deploys).

imagestring nullable

Prebuilt Docker image reference. When set, the one-click deploy pulls and runs this image directly (no build); when absent it builds from git.

image_urlstring nullable

URL to template image/icon

is_featuredboolean required

Whether the template is featured/promoted

kind'starter' | 'app' required

Who owns the code once the template is created.

managed_service_bindingsobject required

Managed-service environment aliases of the first service, used at deployment time.

namestring required

Display name

presetstring required

Framework/preset of the first service.

screenshot_urlstring nullable

URL to a wide screenshot/banner preview of the deployed template. Absent for templates that don't have one captured yet.

servicesstring[] required

Managed databases the template needs. Same as databases; kept for clients written before templates could have several services.

slugstring required

Unique identifier for the template (used in URLs)

tagsstring[] required

Tags/categories for filtering

versionstring required

Immutable release identifier for apps.

Changes

    • warning

      added the new app enum value to the kind response property for the response status

    • info

      removed the service enum value from the kind response property for the response status

    • info

      added the required property databases to the response with the status

    3 more changes in this revision