Atlassian · Capability

Atlassian The Confluence Cloud REST API — Template

Atlassian The Confluence Cloud REST API — Template. 6 operations. Lead operation: Atlassian Update Content Template. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianTemplate

What You Can Do

PUT
Atlassianupdatecontenttemplate — Atlassian Update Content Template
/v1/wiki/rest/api/template
POST
Atlassiancreatecontenttemplate — Atlassian Create Content Template
/v1/wiki/rest/api/template
GET
Atlassiangetblueprinttemplates — Atlassian Get Blueprint Templates
/v1/wiki/rest/api/template/blueprint
GET
Atlassiangetcontenttemplates — Atlassian Get Content Templates
/v1/wiki/rest/api/template/page
GET
Atlassiangetcontenttemplate — Atlassian Get Content Template
/v1/wiki/rest/api/template/{contenttemplateid}
DELETE
Atlassianremovetemplate — Atlassian Remove Template
/v1/wiki/rest/api/template/{contenttemplateid}

MCP Tools

atlassian-update-content-template

Atlassian Update Content Template

idempotent
atlassian-create-content-template

Atlassian Create Content Template

atlassian-get-blueprint-templates

Atlassian Get Blueprint Templates

read-only idempotent
atlassian-get-content-templates

Atlassian Get Content Templates

read-only idempotent
atlassian-get-content-template

Atlassian Get Content Template

read-only idempotent
atlassian-remove-template

Atlassian Remove Template

idempotent

Capability Spec

confluence-template.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian The Confluence Cloud REST API — Template
  description: 'Atlassian The Confluence Cloud REST API — Template. 6 operations. Lead operation: Atlassian Update Content
    Template. Self-contained Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Template
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ATLASSIAN_API_KEY: ATLASSIAN_API_KEY
capability:
  consumes:
  - type: http
    namespace: confluence-template
    baseUri: ''
    description: Atlassian The Confluence Cloud REST API — Template business capability. Self-contained, no shared references.
    resources:
    - name: wiki-rest-api-template
      path: /wiki/rest/api/template
      operations:
      - name: atlassianupdatecontenttemplate
        method: PUT
        description: Atlassian Update Content Template
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: atlassiancreatecontenttemplate
        method: POST
        description: Atlassian Create Content Template
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: wiki-rest-api-template-blueprint
      path: /wiki/rest/api/template/blueprint
      operations:
      - name: atlassiangetblueprinttemplates
        method: GET
        description: Atlassian Get Blueprint Templates
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: spaceKey
          in: query
          type: string
          description: The key of the space to be queried for templates. If the `spaceKey`
        - name: start
          in: query
          type: integer
          description: The starting index of the returned templates.
        - name: limit
          in: query
          type: integer
          description: The maximum number of templates to return per page.
        - name: expand
          in: query
          type: array
          description: A multi-value parameter indicating which properties of the template
    - name: wiki-rest-api-template-page
      path: /wiki/rest/api/template/page
      operations:
      - name: atlassiangetcontenttemplates
        method: GET
        description: Atlassian Get Content Templates
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: spaceKey
          in: query
          type: string
          description: The key of the space to be queried for templates. If the `spaceKey`
        - name: start
          in: query
          type: integer
          description: The starting index of the returned templates.
        - name: limit
          in: query
          type: integer
          description: The maximum number of templates to return per page.
        - name: expand
          in: query
          type: array
          description: A multi-value parameter indicating which properties of the template
    - name: wiki-rest-api-template-contentTemplateId
      path: /wiki/rest/api/template/{contentTemplateId}
      operations:
      - name: atlassiangetcontenttemplate
        method: GET
        description: Atlassian Get Content Template
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: contentTemplateId
          in: path
          type: string
          description: The ID of the content template to be returned.
          required: true
      - name: atlassianremovetemplate
        method: DELETE
        description: Atlassian Remove Template
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: contentTemplateId
          in: path
          type: string
          description: The ID of the template to be deleted.
          required: true
    authentication:
      type: bearer
      token: '{{env.ATLASSIAN_API_KEY}}'
  exposes:
  - type: rest
    namespace: confluence-template-rest
    port: 8080
    description: REST adapter for Atlassian The Confluence Cloud REST API — Template. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/wiki/rest/api/template
      name: wiki-rest-api-template
      description: REST surface for wiki-rest-api-template.
      operations:
      - method: PUT
        name: atlassianupdatecontenttemplate
        description: Atlassian Update Content Template
        call: confluence-template.atlassianupdatecontenttemplate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: atlassiancreatecontenttemplate
        description: Atlassian Create Content Template
        call: confluence-template.atlassiancreatecontenttemplate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/wiki/rest/api/template/blueprint
      name: wiki-rest-api-template-blueprint
      description: REST surface for wiki-rest-api-template-blueprint.
      operations:
      - method: GET
        name: atlassiangetblueprinttemplates
        description: Atlassian Get Blueprint Templates
        call: confluence-template.atlassiangetblueprinttemplates
        with:
          spaceKey: rest.spaceKey
          start: rest.start
          limit: rest.limit
          expand: rest.expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/wiki/rest/api/template/page
      name: wiki-rest-api-template-page
      description: REST surface for wiki-rest-api-template-page.
      operations:
      - method: GET
        name: atlassiangetcontenttemplates
        description: Atlassian Get Content Templates
        call: confluence-template.atlassiangetcontenttemplates
        with:
          spaceKey: rest.spaceKey
          start: rest.start
          limit: rest.limit
          expand: rest.expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/wiki/rest/api/template/{contenttemplateid}
      name: wiki-rest-api-template-contenttemplateid
      description: REST surface for wiki-rest-api-template-contentTemplateId.
      operations:
      - method: GET
        name: atlassiangetcontenttemplate
        description: Atlassian Get Content Template
        call: confluence-template.atlassiangetcontenttemplate
        with:
          contentTemplateId: rest.contentTemplateId
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: atlassianremovetemplate
        description: Atlassian Remove Template
        call: confluence-template.atlassianremovetemplate
        with:
          contentTemplateId: rest.contentTemplateId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: confluence-template-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian The Confluence Cloud REST API — Template. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: atlassian-update-content-template
      description: Atlassian Update Content Template
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: confluence-template.atlassianupdatecontenttemplate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-create-content-template
      description: Atlassian Create Content Template
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: confluence-template.atlassiancreatecontenttemplate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-blueprint-templates
      description: Atlassian Get Blueprint Templates
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: confluence-template.atlassiangetblueprinttemplates
      with:
        spaceKey: tools.spaceKey
        start: tools.start
        limit: tools.limit
        expand: tools.expand
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-content-templates
      description: Atlassian Get Content Templates
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: confluence-template.atlassiangetcontenttemplates
      with:
        spaceKey: tools.spaceKey
        start: tools.start
        limit: tools.limit
        expand: tools.expand
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-content-template
      description: Atlassian Get Content Template
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: confluence-template.atlassiangetcontenttemplate
      with:
        contentTemplateId: tools.contentTemplateId
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-remove-template
      description: Atlassian Remove Template
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: confluence-template.atlassianremovetemplate
      with:
        contentTemplateId: tools.contentTemplateId
      outputParameters:
      - type: object
        mapping: $.