naftiko: 1.0.0-alpha2 info: label: Atlassian Confluence Content API — Operations description: 'Atlassian Confluence Content API — Operations. 2 operations. Lead operation: Atlassian Get Restrictions by Operation. Self-contained Naftiko capability covering one Atlassian business surface.' tags: - Atlassian - Operations 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-operations baseUri: '' description: Atlassian Confluence Content API — Operations business capability. Self-contained, no shared references. resources: - name: wiki-rest-api-content-id-restriction-byOperation path: /wiki/rest/api/content/{id}/restriction/byOperation operations: - name: getrestrictionsbyoperation method: GET description: Atlassian Get Restrictions by Operation 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 restrictions. required: true - name: expand in: query type: array description: A multi-value parameter indicating which properties of the content - name: wiki-rest-api-content-id-restriction-byOperation-operationKey path: /wiki/rest/api/content/{id}/restriction/byOperation/{operationKey} operations: - name: getrestrictionsforoperation method: GET description: Atlassian Get Restrictions for Operation 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 restrictions. required: true - name: operationKey in: path type: string description: The operation type of the restrictions to be returned. required: true - name: expand in: query type: array description: A multi-value parameter indicating which properties of the content - name: start in: query type: integer description: The starting index of the users and groups in the returned restrictions. - name: limit in: query type: integer description: The maximum number of users and the maximum number of groups, in the authentication: type: bearer token: '{{env.ATLASSIAN_API_KEY}}' exposes: - type: rest namespace: confluence-content-operations-rest port: 8080 description: REST adapter for Atlassian Confluence Content API — Operations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/wiki/rest/api/content/{id}/restriction/byoperation name: wiki-rest-api-content-id-restriction-byoperation description: REST surface for wiki-rest-api-content-id-restriction-byOperation. operations: - method: GET name: getrestrictionsbyoperation description: Atlassian Get Restrictions by Operation call: confluence-content-operations.getrestrictionsbyoperation with: id: rest.id expand: rest.expand outputParameters: - type: object mapping: $. - path: /v1/wiki/rest/api/content/{id}/restriction/byoperation/{operationkey} name: wiki-rest-api-content-id-restriction-byoperation-operationkey description: REST surface for wiki-rest-api-content-id-restriction-byOperation-operationKey. operations: - method: GET name: getrestrictionsforoperation description: Atlassian Get Restrictions for Operation call: confluence-content-operations.getrestrictionsforoperation with: id: rest.id operationKey: rest.operationKey expand: rest.expand start: rest.start limit: rest.limit outputParameters: - type: object mapping: $. - type: mcp namespace: confluence-content-operations-mcp port: 9090 transport: http description: MCP adapter for Atlassian Confluence Content API — Operations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: atlassian-get-restrictions-operation description: Atlassian Get Restrictions by Operation hints: readOnly: true destructive: false idempotent: true call: confluence-content-operations.getrestrictionsbyoperation with: id: tools.id expand: tools.expand outputParameters: - type: object mapping: $. - name: atlassian-get-restrictions-operation-2 description: Atlassian Get Restrictions for Operation hints: readOnly: true destructive: false idempotent: true call: confluence-content-operations.getrestrictionsforoperation with: id: tools.id operationKey: tools.operationKey expand: tools.expand start: tools.start limit: tools.limit outputParameters: - type: object mapping: $.