naftiko: 1.0.0-alpha2 info: label: JFrog Access REST API — Permissions description: 'JFrog Access REST API — Permissions. 5 operations. Lead operation: JFrog List Permissions. Self-contained Naftiko capability covering one Jfrog business surface.' tags: - Jfrog - Permissions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: JFROG_API_KEY: JFROG_API_KEY capability: consumes: - type: http namespace: access-permissions baseUri: https://{server}.jfrog.io/access description: JFrog Access REST API — Permissions business capability. Self-contained, no shared references. resources: - name: api-v2-permissions path: /api/v2/permissions operations: - name: listpermissions method: GET description: JFrog List Permissions outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createpermission method: POST description: JFrog Create Permission outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-v2-permissions-permissionName path: /api/v2/permissions/{permissionName} operations: - name: getpermission method: GET description: JFrog Get Permission outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: permissionName in: path type: string description: Permission name required: true - name: updatepermission method: PUT description: JFrog Update Permission outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: permissionName in: path type: string description: Permission name required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deletepermission method: DELETE description: JFrog Delete Permission outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: permissionName in: path type: string description: Permission name required: true authentication: type: bearer token: '{{env.JFROG_API_KEY}}' exposes: - type: rest namespace: access-permissions-rest port: 8080 description: REST adapter for JFrog Access REST API — Permissions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v2/permissions name: api-v2-permissions description: REST surface for api-v2-permissions. operations: - method: GET name: listpermissions description: JFrog List Permissions call: access-permissions.listpermissions outputParameters: - type: object mapping: $. - method: POST name: createpermission description: JFrog Create Permission call: access-permissions.createpermission with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/permissions/{permissionname} name: api-v2-permissions-permissionname description: REST surface for api-v2-permissions-permissionName. operations: - method: GET name: getpermission description: JFrog Get Permission call: access-permissions.getpermission with: permissionName: rest.permissionName outputParameters: - type: object mapping: $. - method: PUT name: updatepermission description: JFrog Update Permission call: access-permissions.updatepermission with: permissionName: rest.permissionName body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletepermission description: JFrog Delete Permission call: access-permissions.deletepermission with: permissionName: rest.permissionName outputParameters: - type: object mapping: $. - type: mcp namespace: access-permissions-mcp port: 9090 transport: http description: MCP adapter for JFrog Access REST API — Permissions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: jfrog-list-permissions description: JFrog List Permissions hints: readOnly: true destructive: false idempotent: true call: access-permissions.listpermissions outputParameters: - type: object mapping: $. - name: jfrog-create-permission description: JFrog Create Permission hints: readOnly: false destructive: false idempotent: false call: access-permissions.createpermission with: body: tools.body outputParameters: - type: object mapping: $. - name: jfrog-get-permission description: JFrog Get Permission hints: readOnly: true destructive: false idempotent: true call: access-permissions.getpermission with: permissionName: tools.permissionName outputParameters: - type: object mapping: $. - name: jfrog-update-permission description: JFrog Update Permission hints: readOnly: false destructive: false idempotent: true call: access-permissions.updatepermission with: permissionName: tools.permissionName body: tools.body outputParameters: - type: object mapping: $. - name: jfrog-delete-permission description: JFrog Delete Permission hints: readOnly: false destructive: true idempotent: true call: access-permissions.deletepermission with: permissionName: tools.permissionName outputParameters: - type: object mapping: $.