naftiko: 1.0.0-alpha2 info: label: Atlassian The Confluence Cloud REST API — Space description: 'Atlassian The Confluence Cloud REST API — Space. 8 operations. Lead operation: Atlassian Get Spaces. Self-contained Naftiko capability covering one Atlassian business surface.' tags: - Atlassian - Space created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ATLASSIAN_API_KEY: ATLASSIAN_API_KEY capability: consumes: - type: http namespace: confluence-space baseUri: '' description: Atlassian The Confluence Cloud REST API — Space business capability. Self-contained, no shared references. resources: - name: wiki-rest-api-space path: /wiki/rest/api/space operations: - name: atlassiangetspaces method: GET description: Atlassian Get Spaces outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: spaceKey in: query type: array description: The key of the space to be returned. To return multiple spaces, - name: spaceId in: query type: array description: The id of the space to be returned. To return multiple spaces, - name: type in: query type: string description: Filter the results to spaces based on their type. - name: status in: query type: string description: Filter the results to spaces based on their status. - name: label in: query type: array description: Filter the results to spaces based on their label. - name: favourite in: query type: boolean description: Filter the results to the favourite spaces of the user specified by - name: favouriteUserKey in: query type: string description: The userKey of the user, whose favourite spaces are used to filter - name: start in: query type: integer description: The starting index of the returned spaces. - name: limit in: query type: integer description: The maximum number of spaces to return per page. Note, this may be - name: atlassiancreatespace method: POST description: Atlassian Create Space outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: wiki-rest-api-space-_private path: /wiki/rest/api/space/_private operations: - name: atlassiancreateprivatespace method: POST description: Atlassian Create Private Space outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: wiki-rest-api-space-spaceKey path: /wiki/rest/api/space/{spaceKey} operations: - name: atlassiangetspace method: GET description: Atlassian Get Space outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: spaceKey in: path type: string description: The key of the space to be returned. required: true - name: atlassianupdatespace method: PUT description: Atlassian Update Space outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: spaceKey in: path type: string description: The key of the space to update. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: atlassiandeletespace method: DELETE description: Atlassian Delete Space outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: spaceKey in: path type: string description: The key of the space to delete. required: true - name: wiki-rest-api-space-spaceKey-content path: /wiki/rest/api/space/{spaceKey}/content operations: - name: atlassiangetcontentforspace method: GET description: Atlassian Get Content For Space outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: spaceKey in: path type: string description: The key of the space to be queried for its content. required: true - name: depth in: query type: string description: Filter the results to content at the root level of the space or all content. - 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 objects to return per page. Note, this - name: wiki-rest-api-space-spaceKey-content-type path: /wiki/rest/api/space/{spaceKey}/content/{type} operations: - name: atlassiangetcontentbytypeforspace method: GET description: Atlassian Get Content By Type For Space outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: spaceKey in: path type: string description: The key of the space to be queried for its content. required: true - name: type in: path type: string description: The type of content to return. `page`, `blogpost`, ``. required: true - name: depth in: query type: string description: Filter the results to content at the root level of the space or all - 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 objects to return per page. Note, this authentication: type: bearer token: '{{env.ATLASSIAN_API_KEY}}' exposes: - type: rest namespace: confluence-space-rest port: 8080 description: REST adapter for Atlassian The Confluence Cloud REST API — Space. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/wiki/rest/api/space name: wiki-rest-api-space description: REST surface for wiki-rest-api-space. operations: - method: GET name: atlassiangetspaces description: Atlassian Get Spaces call: confluence-space.atlassiangetspaces with: spaceKey: rest.spaceKey spaceId: rest.spaceId type: rest.type status: rest.status label: rest.label favourite: rest.favourite favouriteUserKey: rest.favouriteUserKey start: rest.start limit: rest.limit outputParameters: - type: object mapping: $. - method: POST name: atlassiancreatespace description: Atlassian Create Space call: confluence-space.atlassiancreatespace with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/wiki/rest/api/space/private name: wiki-rest-api-space-private description: REST surface for wiki-rest-api-space-_private. operations: - method: POST name: atlassiancreateprivatespace description: Atlassian Create Private Space call: confluence-space.atlassiancreateprivatespace with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/wiki/rest/api/space/{spacekey} name: wiki-rest-api-space-spacekey description: REST surface for wiki-rest-api-space-spaceKey. operations: - method: GET name: atlassiangetspace description: Atlassian Get Space call: confluence-space.atlassiangetspace with: spaceKey: rest.spaceKey outputParameters: - type: object mapping: $. - method: PUT name: atlassianupdatespace description: Atlassian Update Space call: confluence-space.atlassianupdatespace with: spaceKey: rest.spaceKey body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: atlassiandeletespace description: Atlassian Delete Space call: confluence-space.atlassiandeletespace with: spaceKey: rest.spaceKey outputParameters: - type: object mapping: $. - path: /v1/wiki/rest/api/space/{spacekey}/content name: wiki-rest-api-space-spacekey-content description: REST surface for wiki-rest-api-space-spaceKey-content. operations: - method: GET name: atlassiangetcontentforspace description: Atlassian Get Content For Space call: confluence-space.atlassiangetcontentforspace with: spaceKey: rest.spaceKey depth: rest.depth start: rest.start limit: rest.limit outputParameters: - type: object mapping: $. - path: /v1/wiki/rest/api/space/{spacekey}/content/{type} name: wiki-rest-api-space-spacekey-content-type description: REST surface for wiki-rest-api-space-spaceKey-content-type. operations: - method: GET name: atlassiangetcontentbytypeforspace description: Atlassian Get Content By Type For Space call: confluence-space.atlassiangetcontentbytypeforspace with: spaceKey: rest.spaceKey type: rest.type depth: rest.depth start: rest.start limit: rest.limit outputParameters: - type: object mapping: $. - type: mcp namespace: confluence-space-mcp port: 9090 transport: http description: MCP adapter for Atlassian The Confluence Cloud REST API — Space. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: atlassian-get-spaces description: Atlassian Get Spaces hints: readOnly: true destructive: false idempotent: true call: confluence-space.atlassiangetspaces with: spaceKey: tools.spaceKey spaceId: tools.spaceId type: tools.type status: tools.status label: tools.label favourite: tools.favourite favouriteUserKey: tools.favouriteUserKey start: tools.start limit: tools.limit outputParameters: - type: object mapping: $. - name: atlassian-create-space description: Atlassian Create Space hints: readOnly: false destructive: false idempotent: false call: confluence-space.atlassiancreatespace with: body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-create-private-space description: Atlassian Create Private Space hints: readOnly: false destructive: false idempotent: false call: confluence-space.atlassiancreateprivatespace with: body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-get-space description: Atlassian Get Space hints: readOnly: true destructive: false idempotent: true call: confluence-space.atlassiangetspace with: spaceKey: tools.spaceKey outputParameters: - type: object mapping: $. - name: atlassian-update-space description: Atlassian Update Space hints: readOnly: false destructive: false idempotent: true call: confluence-space.atlassianupdatespace with: spaceKey: tools.spaceKey body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-delete-space description: Atlassian Delete Space hints: readOnly: false destructive: true idempotent: true call: confluence-space.atlassiandeletespace with: spaceKey: tools.spaceKey outputParameters: - type: object mapping: $. - name: atlassian-get-content-space description: Atlassian Get Content For Space hints: readOnly: true destructive: false idempotent: true call: confluence-space.atlassiangetcontentforspace with: spaceKey: tools.spaceKey depth: tools.depth start: tools.start limit: tools.limit outputParameters: - type: object mapping: $. - name: atlassian-get-content-type-space description: Atlassian Get Content By Type For Space hints: readOnly: true destructive: false idempotent: true call: confluence-space.atlassiangetcontentbytypeforspace with: spaceKey: tools.spaceKey type: tools.type depth: tools.depth start: tools.start limit: tools.limit outputParameters: - type: object mapping: $.