naftiko: 1.0.0-alpha2 info: label: Atlassian wiki/rest/api/content/ — Content Restrictions description: 'Atlassian wiki/rest/api/content/ — Content Restrictions. 15 operations. Lead operation: Atlassian Get Restrictions. Self-contained Naftiko capability covering one Atlassian business surface.' tags: - Atlassian - Content Restrictions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ATLASSIAN_API_KEY: ATLASSIAN_API_KEY capability: consumes: - type: http namespace: wiki-rest-api-content--content-restrictions baseUri: '' description: Atlassian wiki/rest/api/content/ — Content Restrictions business capability. Self-contained, no shared references. resources: - name: wiki-rest-api-content-id-restriction path: /wiki/rest/api/content/{id}/restriction operations: - name: atlassiangetrestrictions method: GET description: Atlassian Get Restrictions 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: 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 - name: atlassianupdaterestrictions method: PUT description: Atlassian Update Restrictions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID of the content to update restrictions for. required: true - name: expand in: query type: array description: A multi-value parameter indicating which properties of the content - name: body in: body type: object description: Request body (JSON). required: true - name: atlassianaddrestrictions method: POST description: Atlassian Add Restrictions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID of the content to add restrictions to. required: true - name: expand in: query type: array description: A multi-value parameter indicating which properties of the content - name: body in: body type: object description: Request body (JSON). required: true - name: atlassiandeleterestrictions method: DELETE description: Atlassian Delete Restrictions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID of the content to remove restrictions from. 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 path: /wiki/rest/api/content/{id}/restriction/byOperation operations: - name: atlassiangetrestrictionsbyoperation 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: atlassiangetrestrictionsforoperation 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 - name: wiki-rest-api-content-id-restriction-byOperation-operationKey-byGroupId-groupId path: /wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/byGroupId/{groupId} operations: - name: atlassiangetindividualgrouprestrictionstatusbygroupid 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: atlassianaddgrouptocontentrestrictionbygroupid 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: atlassianremovegroupfromcontentrestriction 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: atlassiangetcontentrestrictionstatusforgroup 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: atlassianaddgrouptocontentrestriction 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: atlassianremovegroupfromcontentrestrictionbyid 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 - name: wiki-rest-api-content-id-restriction-byOperation-operationKey-user path: /wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/user operations: - name: atlassiangetcontentrestrictionstatusforuser method: GET description: Atlassian Get Content Restriction Status For User 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 is restricted. required: true - name: atlassianaddusertocontentrestriction method: PUT description: Atlassian Add User 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: atlassianremoveuserfromcontentrestriction method: DELETE description: Atlassian Remove User 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 exposes: - type: rest namespace: wiki-rest-api-content--content-restrictions-rest port: 8080 description: REST adapter for Atlassian wiki/rest/api/content/ — Content Restrictions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/wiki/rest/api/content/{id}/restriction name: wiki-rest-api-content-id-restriction description: REST surface for wiki-rest-api-content-id-restriction. operations: - method: GET name: atlassiangetrestrictions description: Atlassian Get Restrictions call: wiki-rest-api-content--content-restrictions.atlassiangetrestrictions with: id: rest.id expand: rest.expand start: rest.start limit: rest.limit outputParameters: - type: object mapping: $. - method: PUT name: atlassianupdaterestrictions description: Atlassian Update Restrictions call: wiki-rest-api-content--content-restrictions.atlassianupdaterestrictions with: id: rest.id expand: rest.expand body: rest.body outputParameters: - type: object mapping: $. - method: POST name: atlassianaddrestrictions description: Atlassian Add Restrictions call: wiki-rest-api-content--content-restrictions.atlassianaddrestrictions with: id: rest.id expand: rest.expand body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: atlassiandeleterestrictions description: Atlassian Delete Restrictions call: wiki-rest-api-content--content-restrictions.atlassiandeleterestrictions with: id: rest.id expand: rest.expand outputParameters: - type: object mapping: $. - 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: atlassiangetrestrictionsbyoperation description: Atlassian Get Restrictions By Operation call: wiki-rest-api-content--content-restrictions.atlassiangetrestrictionsbyoperation 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: atlassiangetrestrictionsforoperation description: Atlassian Get Restrictions For Operation call: wiki-rest-api-content--content-restrictions.atlassiangetrestrictionsforoperation with: id: rest.id operationKey: rest.operationKey expand: rest.expand start: rest.start limit: rest.limit outputParameters: - type: object mapping: $. - 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: atlassiangetindividualgrouprestrictionstatusbygroupid description: Atlassian Get Content Restriction Status For Group call: wiki-rest-api-content--content-restrictions.atlassiangetindividualgrouprestrictionstatusbygroupid with: id: rest.id operationKey: rest.operationKey groupId: rest.groupId outputParameters: - type: object mapping: $. - method: PUT name: atlassianaddgrouptocontentrestrictionbygroupid description: Atlassian Add Group To Content Restriction call: wiki-rest-api-content--content-restrictions.atlassianaddgrouptocontentrestrictionbygroupid with: id: rest.id operationKey: rest.operationKey groupId: rest.groupId outputParameters: - type: object mapping: $. - method: DELETE name: atlassianremovegroupfromcontentrestriction description: Atlassian Remove Group From Content Restriction call: wiki-rest-api-content--content-restrictions.atlassianremovegroupfromcontentrestriction 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: atlassiangetcontentrestrictionstatusforgroup description: Atlassian Get Content Restriction Status For Group call: wiki-rest-api-content--content-restrictions.atlassiangetcontentrestrictionstatusforgroup with: id: rest.id operationKey: rest.operationKey groupName: rest.groupName outputParameters: - type: object mapping: $. - method: PUT name: atlassianaddgrouptocontentrestriction description: Atlassian Add Group To Content Restriction call: wiki-rest-api-content--content-restrictions.atlassianaddgrouptocontentrestriction with: id: rest.id operationKey: rest.operationKey groupName: rest.groupName outputParameters: - type: object mapping: $. - method: DELETE name: atlassianremovegroupfromcontentrestrictionbyid description: Atlassian Remove Group From Content Restriction call: wiki-rest-api-content--content-restrictions.atlassianremovegroupfromcontentrestrictionbyid with: id: rest.id operationKey: rest.operationKey groupName: rest.groupName outputParameters: - type: object mapping: $. - path: /v1/wiki/rest/api/content/{id}/restriction/byoperation/{operationkey}/user name: wiki-rest-api-content-id-restriction-byoperation-operationkey-user description: REST surface for wiki-rest-api-content-id-restriction-byOperation-operationKey-user. operations: - method: GET name: atlassiangetcontentrestrictionstatusforuser description: Atlassian Get Content Restriction Status For User call: wiki-rest-api-content--content-restrictions.atlassiangetcontentrestrictionstatusforuser with: id: rest.id operationKey: rest.operationKey outputParameters: - type: object mapping: $. - method: PUT name: atlassianaddusertocontentrestriction description: Atlassian Add User To Content Restriction call: wiki-rest-api-content--content-restrictions.atlassianaddusertocontentrestriction with: id: rest.id operationKey: rest.operationKey outputParameters: - type: object mapping: $. - method: DELETE name: atlassianremoveuserfromcontentrestriction description: Atlassian Remove User From Content Restriction call: wiki-rest-api-content--content-restrictions.atlassianremoveuserfromcontentrestriction with: id: rest.id operationKey: rest.operationKey outputParameters: - type: object mapping: $. - type: mcp namespace: wiki-rest-api-content--content-restrictions-mcp port: 9090 transport: http description: MCP adapter for Atlassian wiki/rest/api/content/ — Content Restrictions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: atlassian-get-restrictions description: Atlassian Get Restrictions hints: readOnly: true destructive: false idempotent: true call: wiki-rest-api-content--content-restrictions.atlassiangetrestrictions with: id: tools.id expand: tools.expand start: tools.start limit: tools.limit outputParameters: - type: object mapping: $. - name: atlassian-update-restrictions description: Atlassian Update Restrictions hints: readOnly: false destructive: false idempotent: true call: wiki-rest-api-content--content-restrictions.atlassianupdaterestrictions with: id: tools.id expand: tools.expand body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-add-restrictions description: Atlassian Add Restrictions hints: readOnly: false destructive: false idempotent: false call: wiki-rest-api-content--content-restrictions.atlassianaddrestrictions with: id: tools.id expand: tools.expand body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-delete-restrictions description: Atlassian Delete Restrictions hints: readOnly: false destructive: true idempotent: true call: wiki-rest-api-content--content-restrictions.atlassiandeleterestrictions with: id: tools.id expand: tools.expand outputParameters: - type: object mapping: $. - name: atlassian-get-restrictions-operation description: Atlassian Get Restrictions By Operation hints: readOnly: true destructive: false idempotent: true call: wiki-rest-api-content--content-restrictions.atlassiangetrestrictionsbyoperation 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: wiki-rest-api-content--content-restrictions.atlassiangetrestrictionsforoperation with: id: tools.id operationKey: tools.operationKey expand: tools.expand start: tools.start limit: tools.limit outputParameters: - type: object mapping: $. - name: atlassian-get-content-restriction-status description: Atlassian Get Content Restriction Status For Group hints: readOnly: true destructive: false idempotent: true call: wiki-rest-api-content--content-restrictions.atlassiangetindividualgrouprestrictionstatusbygroupid 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: wiki-rest-api-content--content-restrictions.atlassianaddgrouptocontentrestrictionbygroupid 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: wiki-rest-api-content--content-restrictions.atlassianremovegroupfromcontentrestriction 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: wiki-rest-api-content--content-restrictions.atlassiangetcontentrestrictionstatusforgroup 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: wiki-rest-api-content--content-restrictions.atlassianaddgrouptocontentrestriction 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: wiki-rest-api-content--content-restrictions.atlassianremovegroupfromcontentrestrictionbyid with: id: tools.id operationKey: tools.operationKey groupName: tools.groupName outputParameters: - type: object mapping: $. - name: atlassian-get-content-restriction-status-3 description: Atlassian Get Content Restriction Status For User hints: readOnly: true destructive: false idempotent: true call: wiki-rest-api-content--content-restrictions.atlassiangetcontentrestrictionstatusforuser with: id: tools.id operationKey: tools.operationKey outputParameters: - type: object mapping: $. - name: atlassian-add-user-content-restriction description: Atlassian Add User To Content Restriction hints: readOnly: false destructive: false idempotent: true call: wiki-rest-api-content--content-restrictions.atlassianaddusertocontentrestriction with: id: tools.id operationKey: tools.operationKey outputParameters: - type: object mapping: $. - name: atlassian-remove-user-content-restriction description: Atlassian Remove User From Content Restriction hints: readOnly: false destructive: true idempotent: true call: wiki-rest-api-content--content-restrictions.atlassianremoveuserfromcontentrestriction with: id: tools.id operationKey: tools.operationKey outputParameters: - type: object mapping: $.