Atlassian · Capability

Atlassian Confluence Audit API — Retention

Atlassian Confluence Audit API — Retention. 2 operations. Lead operation: Atlassian Get Retention Period. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianRetention

What You Can Do

GET
Getretentionperiod — Atlassian Get Retention Period
/v1/wiki/rest/api/audit/retention
PUT
Setretentionperiod — Atlassian Set Retention Period
/v1/wiki/rest/api/audit/retention

MCP Tools

atlassian-get-retention-period

Atlassian Get Retention Period

read-only idempotent
atlassian-set-retention-period

Atlassian Set Retention Period

idempotent

Capability Spec

confluence-audit-retention.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Confluence Audit API — Retention
  description: 'Atlassian Confluence Audit API — Retention. 2 operations. Lead operation: Atlassian Get Retention Period.
    Self-contained Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Retention
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ATLASSIAN_API_KEY: ATLASSIAN_API_KEY
capability:
  consumes:
  - type: http
    namespace: confluence-audit-retention
    baseUri: ''
    description: Atlassian Confluence Audit API — Retention business capability. Self-contained, no shared references.
    resources:
    - name: wiki-rest-api-audit-retention
      path: /wiki/rest/api/audit/retention
      operations:
      - name: getretentionperiod
        method: GET
        description: Atlassian Get Retention Period
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: setretentionperiod
        method: PUT
        description: Atlassian Set Retention Period
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.ATLASSIAN_API_KEY}}'
  exposes:
  - type: rest
    namespace: confluence-audit-retention-rest
    port: 8080
    description: REST adapter for Atlassian Confluence Audit API — Retention. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/wiki/rest/api/audit/retention
      name: wiki-rest-api-audit-retention
      description: REST surface for wiki-rest-api-audit-retention.
      operations:
      - method: GET
        name: getretentionperiod
        description: Atlassian Get Retention Period
        call: confluence-audit-retention.getretentionperiod
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: setretentionperiod
        description: Atlassian Set Retention Period
        call: confluence-audit-retention.setretentionperiod
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: confluence-audit-retention-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Confluence Audit API — Retention. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: atlassian-get-retention-period
      description: Atlassian Get Retention Period
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: confluence-audit-retention.getretentionperiod
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-set-retention-period
      description: Atlassian Set Retention Period
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: confluence-audit-retention.setretentionperiod
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.