naftiko: 1.0.0-alpha2 info: label: Atlassian Confluence Content API — Groups description: 'Atlassian Confluence Content API — Groups. 6 operations. Lead operation: Atlassian Get Content Restriction Status for Group. Self-contained Naftiko capability covering one Atlassian business surface.' tags: - Atlassian - Groups 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-groups baseUri: '' description: Atlassian Confluence Content API — Groups business capability. Self-contained, no shared references. resources: - name: wiki-rest-api-content-id-restriction-byOperation-operationKey-byGroupId-groupId path: /wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/byGroupId/{groupId} operations: - name: getcontentrestrictionstatusforgroup method: GET description: Atlassian Get Content Restriction Status for Group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID of the content that the restriction applies to. required: true - name: operationKey in: path type: string description: The operation that the restriction applies to. required: true - name: groupId in: path type: string description: The id of the group to be queried for whether the content restriction required: true - name: addgrouptocontentrestriction method: PUT description: Atlassian Add Group to Content Restriction outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID of the content that the restriction applies to. required: true - name: operationKey in: path type: string description: The operation that the restriction applies to. required: true - name: groupId in: path type: string description: The groupId of the group to add to the content restriction. required: true - name: removegroupfromcontentrestriction method: DELETE description: Atlassian Remove Group From Content Restriction outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID of the content that the restriction applies to. required: true - name: operationKey in: path type: string description: The operation that the restriction applies to. required: true - name: groupId in: path type: string description: The id of the group to remove from the content restriction. required: true - name: wiki-rest-api-content-id-restriction-byOperation-operationKey-group-groupName path: /wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/group/{groupName} operations: - name: getcontentrestrictionstatusforgroup method: GET description: Atlassian Get Content Restriction Status for Group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID of the content that the restriction applies to. required: true - name: operationKey in: path type: string description: The operation that the restriction applies to. required: true - name: groupName in: path type: string description: The name of the group to be queried for whether the content restriction required: true - name: addgrouptocontentrestriction method: PUT description: Atlassian Add Group to Content Restriction outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID of the content that the restriction applies to. required: true - name: operationKey in: path type: string description: The operation that the restriction applies to. required: true - name: groupName in: path type: string description: The name of the group to add to the content restriction. required: true - name: removegroupfromcontentrestriction method: DELETE description: Atlassian Remove Group From Content Restriction outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID of the content that the restriction applies to. required: true - name: operationKey in: path type: string description: The operation that the restriction applies to. required: true - name: groupName in: path type: string description: The name of the group to remove from the content restriction. required: true authentication: type: bearer token: '{{env.ATLASSIAN_API_KEY}}' exposes: - type: rest namespace: confluence-content-groups-rest port: 8080 description: REST adapter for Atlassian Confluence Content API — Groups. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/wiki/rest/api/content/{id}/restriction/byoperation/{operationkey}/bygroupid/{groupid} name: wiki-rest-api-content-id-restriction-byoperation-operationkey-bygroupid-groupid description: REST surface for wiki-rest-api-content-id-restriction-byOperation-operationKey-byGroupId-groupId. operations: - method: GET name: getcontentrestrictionstatusforgroup description: Atlassian Get Content Restriction Status for Group call: confluence-content-groups.getcontentrestrictionstatusforgroup with: id: rest.id operationKey: rest.operationKey groupId: rest.groupId outputParameters: - type: object mapping: $. - method: PUT name: addgrouptocontentrestriction description: Atlassian Add Group to Content Restriction call: confluence-content-groups.addgrouptocontentrestriction with: id: rest.id operationKey: rest.operationKey groupId: rest.groupId outputParameters: - type: object mapping: $. - method: DELETE name: removegroupfromcontentrestriction description: Atlassian Remove Group From Content Restriction call: confluence-content-groups.removegroupfromcontentrestriction with: id: rest.id operationKey: rest.operationKey groupId: rest.groupId outputParameters: - type: object mapping: $. - path: /v1/wiki/rest/api/content/{id}/restriction/byoperation/{operationkey}/group/{groupname} name: wiki-rest-api-content-id-restriction-byoperation-operationkey-group-groupname description: REST surface for wiki-rest-api-content-id-restriction-byOperation-operationKey-group-groupName. operations: - method: GET name: getcontentrestrictionstatusforgroup description: Atlassian Get Content Restriction Status for Group call: confluence-content-groups.getcontentrestrictionstatusforgroup with: id: rest.id operationKey: rest.operationKey groupName: rest.groupName outputParameters: - type: object mapping: $. - method: PUT name: addgrouptocontentrestriction description: Atlassian Add Group to Content Restriction call: confluence-content-groups.addgrouptocontentrestriction with: id: rest.id operationKey: rest.operationKey groupName: rest.groupName outputParameters: - type: object mapping: $. - method: DELETE name: removegroupfromcontentrestriction description: Atlassian Remove Group From Content Restriction call: confluence-content-groups.removegroupfromcontentrestriction with: id: rest.id operationKey: rest.operationKey groupName: rest.groupName outputParameters: - type: object mapping: $. - type: mcp namespace: confluence-content-groups-mcp port: 9090 transport: http description: MCP adapter for Atlassian Confluence Content API — Groups. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: atlassian-get-content-restriction-status description: Atlassian Get Content Restriction Status for Group hints: readOnly: true destructive: false idempotent: true call: confluence-content-groups.getcontentrestrictionstatusforgroup with: id: tools.id operationKey: tools.operationKey groupId: tools.groupId outputParameters: - type: object mapping: $. - name: atlassian-add-group-content-restriction description: Atlassian Add Group to Content Restriction hints: readOnly: false destructive: false idempotent: true call: confluence-content-groups.addgrouptocontentrestriction with: id: tools.id operationKey: tools.operationKey groupId: tools.groupId outputParameters: - type: object mapping: $. - name: atlassian-remove-group-content-restriction description: Atlassian Remove Group From Content Restriction hints: readOnly: false destructive: true idempotent: true call: confluence-content-groups.removegroupfromcontentrestriction with: id: tools.id operationKey: tools.operationKey groupId: tools.groupId outputParameters: - type: object mapping: $. - name: atlassian-get-content-restriction-status-2 description: Atlassian Get Content Restriction Status for Group hints: readOnly: true destructive: false idempotent: true call: confluence-content-groups.getcontentrestrictionstatusforgroup with: id: tools.id operationKey: tools.operationKey groupName: tools.groupName outputParameters: - type: object mapping: $. - name: atlassian-add-group-content-restriction-2 description: Atlassian Add Group to Content Restriction hints: readOnly: false destructive: false idempotent: true call: confluence-content-groups.addgrouptocontentrestriction with: id: tools.id operationKey: tools.operationKey groupName: tools.groupName outputParameters: - type: object mapping: $. - name: atlassian-remove-group-content-restriction-2 description: Atlassian Remove Group From Content Restriction hints: readOnly: false destructive: true idempotent: true call: confluence-content-groups.removegroupfromcontentrestriction with: id: tools.id operationKey: tools.operationKey groupName: tools.groupName outputParameters: - type: object mapping: $.