naftiko: 1.0.0-alpha2 info: label: Atlassian The Confluence Cloud REST API — Content Watches description: 'Atlassian The Confluence Cloud REST API — Content Watches. 12 operations. Lead operation: Atlassian Get Watches For Page. Self-contained Naftiko capability covering one Atlassian business surface.' tags: - Atlassian - Content Watches 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-watches-2 baseUri: '' description: Atlassian The Confluence Cloud REST API — Content Watches business capability. Self-contained, no shared references. resources: - name: wiki-rest-api-content-id-notification-child-created path: /wiki/rest/api/content/{id}/notification/child-created operations: - name: atlassiangetwatchesforpage method: GET description: Atlassian Get Watches For Page 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 watches. required: true - name: start in: query type: integer description: The starting index of the returned watches. - name: limit in: query type: integer description: The maximum number of watches to return per page. - name: wiki-rest-api-content-id-notification-created path: /wiki/rest/api/content/{id}/notification/created operations: - name: atlassiangetwatchesforspace method: GET description: Atlassian Get Watches For Space 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 watches. required: true - name: start in: query type: integer description: The starting index of the returned watches. - name: limit in: query type: integer description: The maximum number of watches to return per page. - name: wiki-rest-api-space-spaceKey-watch path: /wiki/rest/api/space/{spaceKey}/watch operations: - name: atlassiangetwatchersforspace method: GET description: Atlassian Get Space Watchers outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: spaceKey in: path type: string description: The key of the space to get watchers. required: true - name: start in: query type: string description: The start point of the collection to return. - name: limit in: query type: string description: The limit of the number of items to return, this may be restricted by fixed system limits. - name: wiki-rest-api-user-watch-content-contentId path: /wiki/rest/api/user/watch/content/{contentId} operations: - name: atlassiangetcontentwatchstatus method: GET description: Atlassian Get Content Watch Status outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: contentId in: path type: string description: The ID of the content to be queried for whether the specified user is required: true - name: atlassianaddcontentwatcher method: POST description: Atlassian Add Content Watcher outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: contentId in: path type: string description: The ID of the content to add the watcher to. required: true - name: atlassianremovecontentwatcher method: DELETE description: Atlassian Remove Content Watcher outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: X-Atlassian-Token in: header type: string description: Note, you must add header when making a required: true - name: contentId in: path type: string description: The ID of the content to remove the watcher from. required: true - name: wiki-rest-api-user-watch-label-labelName path: /wiki/rest/api/user/watch/label/{labelName} operations: - name: atlassianiswatchinglabel method: GET description: Atlassian Get Label Watch Status outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: labelName in: path type: string description: The name of the label to be queried for whether the specified user is required: true - name: atlassianaddlabelwatcher method: POST description: Atlassian Add Label Watcher outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: X-Atlassian-Token in: header type: string description: Note, you must add header when making a required: true - name: labelName in: path type: string description: The name of the label to add the watcher to. required: true - name: atlassianremovelabelwatcher method: DELETE description: Atlassian Remove Label Watcher outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: labelName in: path type: string description: The name of the label to remove the watcher from. required: true - name: wiki-rest-api-user-watch-space-spaceKey path: /wiki/rest/api/user/watch/space/{spaceKey} operations: - name: atlassianiswatchingspace method: GET description: Atlassian Get Space Watch Status 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 whether the specified user is required: true - name: atlassianaddspacewatcher method: POST description: Atlassian Add Space Watcher outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: X-Atlassian-Token in: header type: string description: Note, you must add header when making a required: true - name: spaceKey in: path type: string description: The key of the space to add the watcher to. required: true - name: atlassianremovespacewatch method: DELETE description: Atlassian Remove Space Watch outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: spaceKey in: path type: string description: The key of the space to remove the watcher from. required: true authentication: type: bearer token: '{{env.ATLASSIAN_API_KEY}}' exposes: - type: rest namespace: confluence-content-watches-2-rest port: 8080 description: REST adapter for Atlassian The Confluence Cloud REST API — Content Watches. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/wiki/rest/api/content/{id}/notification/child-created name: wiki-rest-api-content-id-notification-child-created description: REST surface for wiki-rest-api-content-id-notification-child-created. operations: - method: GET name: atlassiangetwatchesforpage description: Atlassian Get Watches For Page call: confluence-content-watches-2.atlassiangetwatchesforpage with: id: rest.id start: rest.start limit: rest.limit outputParameters: - type: object mapping: $. - path: /v1/wiki/rest/api/content/{id}/notification/created name: wiki-rest-api-content-id-notification-created description: REST surface for wiki-rest-api-content-id-notification-created. operations: - method: GET name: atlassiangetwatchesforspace description: Atlassian Get Watches For Space call: confluence-content-watches-2.atlassiangetwatchesforspace with: id: rest.id start: rest.start limit: rest.limit outputParameters: - type: object mapping: $. - path: /v1/wiki/rest/api/space/{spacekey}/watch name: wiki-rest-api-space-spacekey-watch description: REST surface for wiki-rest-api-space-spaceKey-watch. operations: - method: GET name: atlassiangetwatchersforspace description: Atlassian Get Space Watchers call: confluence-content-watches-2.atlassiangetwatchersforspace with: spaceKey: rest.spaceKey start: rest.start limit: rest.limit outputParameters: - type: object mapping: $. - path: /v1/wiki/rest/api/user/watch/content/{contentid} name: wiki-rest-api-user-watch-content-contentid description: REST surface for wiki-rest-api-user-watch-content-contentId. operations: - method: GET name: atlassiangetcontentwatchstatus description: Atlassian Get Content Watch Status call: confluence-content-watches-2.atlassiangetcontentwatchstatus with: contentId: rest.contentId outputParameters: - type: object mapping: $. - method: POST name: atlassianaddcontentwatcher description: Atlassian Add Content Watcher call: confluence-content-watches-2.atlassianaddcontentwatcher with: contentId: rest.contentId outputParameters: - type: object mapping: $. - method: DELETE name: atlassianremovecontentwatcher description: Atlassian Remove Content Watcher call: confluence-content-watches-2.atlassianremovecontentwatcher with: X-Atlassian-Token: rest.X-Atlassian-Token contentId: rest.contentId outputParameters: - type: object mapping: $. - path: /v1/wiki/rest/api/user/watch/label/{labelname} name: wiki-rest-api-user-watch-label-labelname description: REST surface for wiki-rest-api-user-watch-label-labelName. operations: - method: GET name: atlassianiswatchinglabel description: Atlassian Get Label Watch Status call: confluence-content-watches-2.atlassianiswatchinglabel with: labelName: rest.labelName outputParameters: - type: object mapping: $. - method: POST name: atlassianaddlabelwatcher description: Atlassian Add Label Watcher call: confluence-content-watches-2.atlassianaddlabelwatcher with: X-Atlassian-Token: rest.X-Atlassian-Token labelName: rest.labelName outputParameters: - type: object mapping: $. - method: DELETE name: atlassianremovelabelwatcher description: Atlassian Remove Label Watcher call: confluence-content-watches-2.atlassianremovelabelwatcher with: labelName: rest.labelName outputParameters: - type: object mapping: $. - path: /v1/wiki/rest/api/user/watch/space/{spacekey} name: wiki-rest-api-user-watch-space-spacekey description: REST surface for wiki-rest-api-user-watch-space-spaceKey. operations: - method: GET name: atlassianiswatchingspace description: Atlassian Get Space Watch Status call: confluence-content-watches-2.atlassianiswatchingspace with: spaceKey: rest.spaceKey outputParameters: - type: object mapping: $. - method: POST name: atlassianaddspacewatcher description: Atlassian Add Space Watcher call: confluence-content-watches-2.atlassianaddspacewatcher with: X-Atlassian-Token: rest.X-Atlassian-Token spaceKey: rest.spaceKey outputParameters: - type: object mapping: $. - method: DELETE name: atlassianremovespacewatch description: Atlassian Remove Space Watch call: confluence-content-watches-2.atlassianremovespacewatch with: spaceKey: rest.spaceKey outputParameters: - type: object mapping: $. - type: mcp namespace: confluence-content-watches-2-mcp port: 9090 transport: http description: MCP adapter for Atlassian The Confluence Cloud REST API — Content Watches. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: atlassian-get-watches-page description: Atlassian Get Watches For Page hints: readOnly: true destructive: false idempotent: true call: confluence-content-watches-2.atlassiangetwatchesforpage with: id: tools.id start: tools.start limit: tools.limit outputParameters: - type: object mapping: $. - name: atlassian-get-watches-space description: Atlassian Get Watches For Space hints: readOnly: true destructive: false idempotent: true call: confluence-content-watches-2.atlassiangetwatchesforspace with: id: tools.id start: tools.start limit: tools.limit outputParameters: - type: object mapping: $. - name: atlassian-get-space-watchers description: Atlassian Get Space Watchers hints: readOnly: true destructive: false idempotent: true call: confluence-content-watches-2.atlassiangetwatchersforspace with: spaceKey: tools.spaceKey start: tools.start limit: tools.limit outputParameters: - type: object mapping: $. - name: atlassian-get-content-watch-status description: Atlassian Get Content Watch Status hints: readOnly: true destructive: false idempotent: true call: confluence-content-watches-2.atlassiangetcontentwatchstatus with: contentId: tools.contentId outputParameters: - type: object mapping: $. - name: atlassian-add-content-watcher description: Atlassian Add Content Watcher hints: readOnly: false destructive: false idempotent: false call: confluence-content-watches-2.atlassianaddcontentwatcher with: contentId: tools.contentId outputParameters: - type: object mapping: $. - name: atlassian-remove-content-watcher description: Atlassian Remove Content Watcher hints: readOnly: false destructive: true idempotent: true call: confluence-content-watches-2.atlassianremovecontentwatcher with: X-Atlassian-Token: tools.X-Atlassian-Token contentId: tools.contentId outputParameters: - type: object mapping: $. - name: atlassian-get-label-watch-status description: Atlassian Get Label Watch Status hints: readOnly: true destructive: false idempotent: true call: confluence-content-watches-2.atlassianiswatchinglabel with: labelName: tools.labelName outputParameters: - type: object mapping: $. - name: atlassian-add-label-watcher description: Atlassian Add Label Watcher hints: readOnly: false destructive: false idempotent: false call: confluence-content-watches-2.atlassianaddlabelwatcher with: X-Atlassian-Token: tools.X-Atlassian-Token labelName: tools.labelName outputParameters: - type: object mapping: $. - name: atlassian-remove-label-watcher description: Atlassian Remove Label Watcher hints: readOnly: false destructive: true idempotent: true call: confluence-content-watches-2.atlassianremovelabelwatcher with: labelName: tools.labelName outputParameters: - type: object mapping: $. - name: atlassian-get-space-watch-status description: Atlassian Get Space Watch Status hints: readOnly: true destructive: false idempotent: true call: confluence-content-watches-2.atlassianiswatchingspace with: spaceKey: tools.spaceKey outputParameters: - type: object mapping: $. - name: atlassian-add-space-watcher description: Atlassian Add Space Watcher hints: readOnly: false destructive: false idempotent: false call: confluence-content-watches-2.atlassianaddspacewatcher with: X-Atlassian-Token: tools.X-Atlassian-Token spaceKey: tools.spaceKey outputParameters: - type: object mapping: $. - name: atlassian-remove-space-watch description: Atlassian Remove Space Watch hints: readOnly: false destructive: true idempotent: true call: confluence-content-watches-2.atlassianremovespacewatch with: spaceKey: tools.spaceKey outputParameters: - type: object mapping: $.