naftiko: 1.0.0-alpha2 info: label: Sumo Logic API — contentPermissions description: 'Sumo Logic API — contentPermissions. 3 operations. Lead operation: Get Permissions Of A Content Item. Self-contained Naftiko capability covering one Sumo Logic business surface.' tags: - Sumo Logic - contentPermissions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SUMO_LOGIC_API_KEY: SUMO_LOGIC_API_KEY capability: consumes: - type: http namespace: sumo-logic-contentpermissions baseUri: https://api.au.sumologic.com/api description: Sumo Logic API — contentPermissions business capability. Self-contained, no shared references. resources: - name: v2-content-id-permissions path: /v2/content/{id}/permissions operations: - name: getcontentpermissions method: GET description: Get Permissions Of A Content Item outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The identifier of the content item. required: true - name: explicitOnly in: query type: boolean description: 'There are two permission types: explicit and implicit. Permissions specifically assigned to the content item are explicit. Permissions derived from a parent con' - name: isAdminMode in: header type: string description: Set this to "true" if you want to perform the request as a Content Administrator. - name: v2-content-id-permissions-add path: /v2/content/{id}/permissions/add operations: - name: addcontentpermissions method: PUT description: Add Permissions To A Content Item. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The identifier of the content item. required: true - name: isAdminMode in: header type: string description: Set this to "true" if you want to perform the request as a Content Administrator. - name: body in: body type: object description: Request body (JSON). required: true - name: v2-content-id-permissions-remove path: /v2/content/{id}/permissions/remove operations: - name: removecontentpermissions method: PUT description: Remove Permissions From A Content Item. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The identifier of the content item. required: true - name: isAdminMode in: header type: string description: Set this to "true" if you want to perform the request as a Content Administrator. - name: body in: body type: object description: Request body (JSON). required: true authentication: type: basic username: '{{env.SUMO_LOGIC_USER}}' password: '{{env.SUMO_LOGIC_PASS}}' exposes: - type: rest namespace: sumo-logic-contentpermissions-rest port: 8080 description: REST adapter for Sumo Logic API — contentPermissions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/content/{id}/permissions name: v2-content-id-permissions description: REST surface for v2-content-id-permissions. operations: - method: GET name: getcontentpermissions description: Get Permissions Of A Content Item call: sumo-logic-contentpermissions.getcontentpermissions with: id: rest.id explicitOnly: rest.explicitOnly isAdminMode: rest.isAdminMode outputParameters: - type: object mapping: $. - path: /v1/v2/content/{id}/permissions/add name: v2-content-id-permissions-add description: REST surface for v2-content-id-permissions-add. operations: - method: PUT name: addcontentpermissions description: Add Permissions To A Content Item. call: sumo-logic-contentpermissions.addcontentpermissions with: id: rest.id isAdminMode: rest.isAdminMode body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/content/{id}/permissions/remove name: v2-content-id-permissions-remove description: REST surface for v2-content-id-permissions-remove. operations: - method: PUT name: removecontentpermissions description: Remove Permissions From A Content Item. call: sumo-logic-contentpermissions.removecontentpermissions with: id: rest.id isAdminMode: rest.isAdminMode body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: sumo-logic-contentpermissions-mcp port: 9090 transport: http description: MCP adapter for Sumo Logic API — contentPermissions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-permissions-content-item description: Get Permissions Of A Content Item hints: readOnly: true destructive: false idempotent: true call: sumo-logic-contentpermissions.getcontentpermissions with: id: tools.id explicitOnly: tools.explicitOnly isAdminMode: tools.isAdminMode outputParameters: - type: object mapping: $. - name: add-permissions-content-item description: Add Permissions To A Content Item. hints: readOnly: false destructive: false idempotent: true call: sumo-logic-contentpermissions.addcontentpermissions with: id: tools.id isAdminMode: tools.isAdminMode body: tools.body outputParameters: - type: object mapping: $. - name: remove-permissions-content-item description: Remove Permissions From A Content Item. hints: readOnly: false destructive: false idempotent: true call: sumo-logic-contentpermissions.removecontentpermissions with: id: tools.id isAdminMode: tools.isAdminMode body: tools.body outputParameters: - type: object mapping: $.