Atlassian · Capability

Atlassian Confluence Audit API — Sets

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

Run with Naftiko AtlassianSets

What You Can Do

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

MCP Tools

atlassian-set-retention-period

Atlassian Set Retention Period

idempotent

Capability Spec

confluence-audit-sets.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Confluence Audit API — Sets
  description: 'Atlassian Confluence Audit API — Sets. 1 operations. Lead operation: Atlassian Set Retention Period. Self-contained
    Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Sets
  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-sets
    baseUri: ''
    description: Atlassian Confluence Audit API — Sets business capability. Self-contained, no shared references.
    resources:
    - name: wiki-rest-api-audit-retention
      path: /wiki/rest/api/audit/retention
      operations:
      - 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-sets-rest
    port: 8080
    description: REST adapter for Atlassian Confluence Audit API — Sets. 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: PUT
        name: setretentionperiod
        description: Atlassian Set Retention Period
        call: confluence-audit-sets.setretentionperiod
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: confluence-audit-sets-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Confluence Audit API — Sets. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: atlassian-set-retention-period
      description: Atlassian Set Retention Period
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: confluence-audit-sets.setretentionperiod
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.