Atlassian · Capability

Atlassian wiki/rest/api/content/ — Content - Children and Descendants

Atlassian wiki/rest/api/content/ — Content - Children and Descendants. 7 operations. Lead operation: Atlassian Get Content Children. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianContent - Children and Descendants

What You Can Do

GET
Atlassiangetcontentchildren — Atlassian Get Content Children
/v1/wiki/rest/api/content/{id}/child
GET
Atlassiangetcontentchildrenbytype — Atlassian Get Content Children By Type
/v1/wiki/rest/api/content/{id}/child/{type}
POST
Atlassiancopypage — Atlassian Copy Single Page
/v1/wiki/rest/api/content/{id}/copy
GET
Atlassiangetcontentdescendants — Atlassian Get Content Descendants
/v1/wiki/rest/api/content/{id}/descendant
GET
Atlassiangetdescendantsoftype — Atlassian Get Content Descendants By Type
/v1/wiki/rest/api/content/{id}/descendant/{type}
POST
Atlassiancopypagehierarchy — Atlassian Copy Page Hierarchy
/v1/wiki/rest/api/content/{id}/pagehierarchy/copy
PUT
Atlassianmovepage — Atlassian Move A Page To A New Location Relative To A Target Page
/v1/wiki/rest/api/content/{pageid}/move/{position}/{targetid}

MCP Tools

atlassian-get-content-children

Atlassian Get Content Children

read-only idempotent
atlassian-get-content-children-type

Atlassian Get Content Children By Type

read-only idempotent
atlassian-copy-single-page

Atlassian Copy Single Page

atlassian-get-content-descendants

Atlassian Get Content Descendants

read-only idempotent
atlassian-get-content-descendants-type

Atlassian Get Content Descendants By Type

read-only idempotent
atlassian-copy-page-hierarchy

Atlassian Copy Page Hierarchy

atlassian-move-page-new-location

Atlassian Move A Page To A New Location Relative To A Target Page

idempotent

Capability Spec

wiki-rest-api-content--content-children-and-descendants.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian wiki/rest/api/content/ — Content - Children and Descendants
  description: 'Atlassian wiki/rest/api/content/ — Content - Children and Descendants. 7 operations. Lead operation: Atlassian
    Get Content Children. Self-contained Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Content - Children and Descendants
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ATLASSIAN_API_KEY: ATLASSIAN_API_KEY
capability:
  consumes:
  - type: http
    namespace: wiki-rest-api-content--content-children-and-descendants
    baseUri: ''
    description: Atlassian wiki/rest/api/content/ — Content - Children and Descendants business capability. Self-contained,
      no shared references.
    resources:
    - name: wiki-rest-api-content-id-child
      path: /wiki/rest/api/content/{id}/child
      operations:
      - name: atlassiangetcontentchildren
        method: GET
        description: Atlassian Get Content Children
        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 children.
          required: true
        - name: expand
          in: query
          type: array
          description: 'A multi-value parameter indicating which properties of the children to expand, where:'
        - name: parentVersion
          in: query
          type: integer
          description: The version of the parent content to retrieve children for.
    - name: wiki-rest-api-content-id-child-type
      path: /wiki/rest/api/content/{id}/child/{type}
      operations:
      - name: atlassiangetcontentchildrenbytype
        method: GET
        description: Atlassian Get Content Children By Type
        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 children.
          required: true
        - name: type
          in: path
          type: string
          description: The type of children to return.
          required: true
        - name: parentVersion
          in: query
          type: integer
          description: The version of the parent content to retrieve children for.
        - name: start
          in: query
          type: integer
          description: The starting index of the returned content.
        - name: limit
          in: query
          type: integer
          description: The maximum number of content to return per page. Note,
    - name: wiki-rest-api-content-id-copy
      path: /wiki/rest/api/content/{id}/copy
      operations:
      - name: atlassiancopypage
        method: POST
        description: Atlassian Copy Single Page
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: wiki-rest-api-content-id-descendant
      path: /wiki/rest/api/content/{id}/descendant
      operations:
      - name: atlassiangetcontentdescendants
        method: GET
        description: Atlassian Get Content Descendants
        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 descendants.
          required: true
        - name: expand
          in: query
          type: array
          description: A multi-value parameter indicating which properties of the children to
    - name: wiki-rest-api-content-id-descendant-type
      path: /wiki/rest/api/content/{id}/descendant/{type}
      operations:
      - name: atlassiangetdescendantsoftype
        method: GET
        description: Atlassian Get Content Descendants By Type
        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 descendants.
          required: true
        - name: type
          in: path
          type: string
          description: The type of descendants to return.
          required: true
        - name: depth
          in: query
          type: string
          description: Filter the results to descendants upto a desired level of the content. Note, the maximum value supported
            is 100. root level of the content means immediate (leve
        - name: start
          in: query
          type: integer
          description: The starting index of the returned content.
        - name: limit
          in: query
          type: integer
          description: The maximum number of content to return per page. Note,
    - name: wiki-rest-api-content-id-pagehierarchy-copy
      path: /wiki/rest/api/content/{id}/pagehierarchy/copy
      operations:
      - name: atlassiancopypagehierarchy
        method: POST
        description: Atlassian Copy Page Hierarchy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: wiki-rest-api-content-pageId-move-position-targetId
      path: /wiki/rest/api/content/{pageId}/move/{position}/{targetId}
      operations:
      - name: atlassianmovepage
        method: PUT
        description: Atlassian Move A Page To A New Location Relative To A 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
  exposes:
  - type: rest
    namespace: wiki-rest-api-content--content-children-and-descendants-rest
    port: 8080
    description: REST adapter for Atlassian wiki/rest/api/content/ — Content - Children and Descendants. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/wiki/rest/api/content/{id}/child
      name: wiki-rest-api-content-id-child
      description: REST surface for wiki-rest-api-content-id-child.
      operations:
      - method: GET
        name: atlassiangetcontentchildren
        description: Atlassian Get Content Children
        call: wiki-rest-api-content--content-children-and-descendants.atlassiangetcontentchildren
        with:
          id: rest.id
          expand: rest.expand
          parentVersion: rest.parentVersion
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/wiki/rest/api/content/{id}/child/{type}
      name: wiki-rest-api-content-id-child-type
      description: REST surface for wiki-rest-api-content-id-child-type.
      operations:
      - method: GET
        name: atlassiangetcontentchildrenbytype
        description: Atlassian Get Content Children By Type
        call: wiki-rest-api-content--content-children-and-descendants.atlassiangetcontentchildrenbytype
        with:
          id: rest.id
          type: rest.type
          parentVersion: rest.parentVersion
          start: rest.start
          limit: rest.limit
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/wiki/rest/api/content/{id}/copy
      name: wiki-rest-api-content-id-copy
      description: REST surface for wiki-rest-api-content-id-copy.
      operations:
      - method: POST
        name: atlassiancopypage
        description: Atlassian Copy Single Page
        call: wiki-rest-api-content--content-children-and-descendants.atlassiancopypage
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/wiki/rest/api/content/{id}/descendant
      name: wiki-rest-api-content-id-descendant
      description: REST surface for wiki-rest-api-content-id-descendant.
      operations:
      - method: GET
        name: atlassiangetcontentdescendants
        description: Atlassian Get Content Descendants
        call: wiki-rest-api-content--content-children-and-descendants.atlassiangetcontentdescendants
        with:
          id: rest.id
          expand: rest.expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/wiki/rest/api/content/{id}/descendant/{type}
      name: wiki-rest-api-content-id-descendant-type
      description: REST surface for wiki-rest-api-content-id-descendant-type.
      operations:
      - method: GET
        name: atlassiangetdescendantsoftype
        description: Atlassian Get Content Descendants By Type
        call: wiki-rest-api-content--content-children-and-descendants.atlassiangetdescendantsoftype
        with:
          id: rest.id
          type: rest.type
          depth: rest.depth
          start: rest.start
          limit: rest.limit
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/wiki/rest/api/content/{id}/pagehierarchy/copy
      name: wiki-rest-api-content-id-pagehierarchy-copy
      description: REST surface for wiki-rest-api-content-id-pagehierarchy-copy.
      operations:
      - method: POST
        name: atlassiancopypagehierarchy
        description: Atlassian Copy Page Hierarchy
        call: wiki-rest-api-content--content-children-and-descendants.atlassiancopypagehierarchy
        with:
          id: rest.id
          body: rest.body
        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: atlassianmovepage
        description: Atlassian Move A Page To A New Location Relative To A Target Page
        call: wiki-rest-api-content--content-children-and-descendants.atlassianmovepage
        with:
          pageId: rest.pageId
          position: rest.position
          targetId: rest.targetId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: wiki-rest-api-content--content-children-and-descendants-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian wiki/rest/api/content/ — Content - Children and Descendants. One tool per consumed
      operation, routed inline through this capability's consumes block.
    tools:
    - name: atlassian-get-content-children
      description: Atlassian Get Content Children
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: wiki-rest-api-content--content-children-and-descendants.atlassiangetcontentchildren
      with:
        id: tools.id
        expand: tools.expand
        parentVersion: tools.parentVersion
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-content-children-type
      description: Atlassian Get Content Children By Type
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: wiki-rest-api-content--content-children-and-descendants.atlassiangetcontentchildrenbytype
      with:
        id: tools.id
        type: tools.type
        parentVersion: tools.parentVersion
        start: tools.start
        limit: tools.limit
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-copy-single-page
      description: Atlassian Copy Single Page
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: wiki-rest-api-content--content-children-and-descendants.atlassiancopypage
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-content-descendants
      description: Atlassian Get Content Descendants
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: wiki-rest-api-content--content-children-and-descendants.atlassiangetcontentdescendants
      with:
        id: tools.id
        expand: tools.expand
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-content-descendants-type
      description: Atlassian Get Content Descendants By Type
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: wiki-rest-api-content--content-children-and-descendants.atlassiangetdescendantsoftype
      with:
        id: tools.id
        type: tools.type
        depth: tools.depth
        start: tools.start
        limit: tools.limit
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-copy-page-hierarchy
      description: Atlassian Copy Page Hierarchy
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: wiki-rest-api-content--content-children-and-descendants.atlassiancopypagehierarchy
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-move-page-new-location
      description: Atlassian Move A Page To A New Location Relative To A Target Page
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: wiki-rest-api-content--content-children-and-descendants.atlassianmovepage
      with:
        pageId: tools.pageId
        position: tools.position
        targetId: tools.targetId
      outputParameters:
      - type: object
        mapping: $.