Atlassian · Capability

Atlassian Confluence Content API — Page

Atlassian Confluence Content API — Page. 3 operations. Lead operation: Atlassian Get Watches for Page. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianPage

What You Can Do

GET
Getwatchesforpage — Atlassian Get Watches for Page
/v1/wiki/rest/api/content/{id}/notification/child-created
DELETE
Deletepagetree — Atlassian Delete Page Tree
/v1/wiki/rest/api/content/{id}/pagetree
PUT
Movepagetonewlocationrelativetotargetpage — Atlassian Move Page to New Location Relative to Target Page
/v1/wiki/rest/api/content/{pageid}/move/{position}/{targetid}

MCP Tools

atlassian-get-watches-page

Atlassian Get Watches for Page

read-only idempotent
atlassian-delete-page-tree

Atlassian Delete Page Tree

idempotent
atlassian-move-page-new-location

Atlassian Move Page to New Location Relative to Target Page

idempotent

Capability Spec

confluence-content-page.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Confluence Content API — Page
  description: 'Atlassian Confluence Content API — Page. 3 operations. Lead operation: Atlassian Get Watches for Page. Self-contained
    Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Page
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ATLASSIAN_API_KEY: ATLASSIAN_API_KEY
capability:
  consumes:
  - type: http
    namespace: confluence-content-page
    baseUri: ''
    description: Atlassian Confluence Content API — Page business capability. Self-contained, no shared references.
    resources:
    - name: wiki-rest-api-content-id-notification-child-created
      path: /wiki/rest/api/content/{id}/notification/child-created
      operations:
      - name: getwatchesforpage
        method: GET
        description: Atlassian Get Watches for Page
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: The ID of the content to be queried for its watches.
          required: true
        - name: start
          in: query
          type: integer
          description: The starting index of the returned watches.
        - name: limit
          in: query
          type: integer
          description: The maximum number of watches to return per page.
    - name: wiki-rest-api-content-id-pageTree
      path: /wiki/rest/api/content/{id}/pageTree
      operations:
      - name: deletepagetree
        method: DELETE
        description: Atlassian Delete Page Tree
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: The ID of the content which forms root of the page tree, to be deleted.
          required: true
    - name: wiki-rest-api-content-pageId-move-position-targetId
      path: /wiki/rest/api/content/{pageId}/move/{position}/{targetId}
      operations:
      - name: movepagetonewlocationrelativetotargetpage
        method: PUT
        description: Atlassian Move Page to New Location Relative to Target Page
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: pageId
          in: path
          type: string
          description: The ID of the page to be moved
          required: true
        - name: position
          in: path
          type: string
          description: 'The position to move the page to relative to the target page:'
          required: true
        - name: targetId
          in: path
          type: string
          description: The ID of the target page for this operation
          required: true
    authentication:
      type: bearer
      token: '{{env.ATLASSIAN_API_KEY}}'
  exposes:
  - type: rest
    namespace: confluence-content-page-rest
    port: 8080
    description: REST adapter for Atlassian Confluence Content API — Page. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/wiki/rest/api/content/{id}/notification/child-created
      name: wiki-rest-api-content-id-notification-child-created
      description: REST surface for wiki-rest-api-content-id-notification-child-created.
      operations:
      - method: GET
        name: getwatchesforpage
        description: Atlassian Get Watches for Page
        call: confluence-content-page.getwatchesforpage
        with:
          id: rest.id
          start: rest.start
          limit: rest.limit
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/wiki/rest/api/content/{id}/pagetree
      name: wiki-rest-api-content-id-pagetree
      description: REST surface for wiki-rest-api-content-id-pageTree.
      operations:
      - method: DELETE
        name: deletepagetree
        description: Atlassian Delete Page Tree
        call: confluence-content-page.deletepagetree
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/wiki/rest/api/content/{pageid}/move/{position}/{targetid}
      name: wiki-rest-api-content-pageid-move-position-targetid
      description: REST surface for wiki-rest-api-content-pageId-move-position-targetId.
      operations:
      - method: PUT
        name: movepagetonewlocationrelativetotargetpage
        description: Atlassian Move Page to New Location Relative to Target Page
        call: confluence-content-page.movepagetonewlocationrelativetotargetpage
        with:
          pageId: rest.pageId
          position: rest.position
          targetId: rest.targetId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: confluence-content-page-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Confluence Content API — Page. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: atlassian-get-watches-page
      description: Atlassian Get Watches for Page
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: confluence-content-page.getwatchesforpage
      with:
        id: tools.id
        start: tools.start
        limit: tools.limit
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-delete-page-tree
      description: Atlassian Delete Page Tree
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: confluence-content-page.deletepagetree
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-move-page-new-location
      description: Atlassian Move Page to New Location Relative to Target Page
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: confluence-content-page.movepagetonewlocationrelativetotargetpage
      with:
        pageId: tools.pageId
        position: tools.position
        targetId: tools.targetId
      outputParameters:
      - type: object
        mapping: $.