naftiko: 1.0.0-alpha2 info: label: Docker HUB API — org-settings description: 'Docker HUB API — org-settings. 2 operations. Lead operation: Get organization settings. Self-contained Naftiko capability covering one Docker Hub business surface.' tags: - Docker Hub - org-settings created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DOCKER_HUB_API_KEY: DOCKER_HUB_API_KEY capability: consumes: - type: http namespace: docker-hub-org-settings baseUri: https://hub.docker.com description: Docker HUB API — org-settings business capability. Self-contained, no shared references. resources: - name: v2-orgs-name-settings path: /v2/orgs/{name}/settings operations: - name: get method: GET description: Get organization settings outputRawFormat: json outputParameters: - name: result type: object value: $. - name: put method: PUT description: Update organization settings outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.DOCKER_HUB_API_KEY}}' exposes: - type: rest namespace: docker-hub-org-settings-rest port: 8080 description: REST adapter for Docker HUB API — org-settings. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/orgs/{name}/settings name: v2-orgs-name-settings description: REST surface for v2-orgs-name-settings. operations: - method: GET name: get description: Get organization settings call: docker-hub-org-settings.get outputParameters: - type: object mapping: $. - method: PUT name: put description: Update organization settings call: docker-hub-org-settings.put with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: docker-hub-org-settings-mcp port: 9090 transport: http description: MCP adapter for Docker HUB API — org-settings. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-organization-settings description: Get organization settings hints: readOnly: true destructive: false idempotent: true call: docker-hub-org-settings.get outputParameters: - type: object mapping: $. - name: update-organization-settings description: Update organization settings hints: readOnly: false destructive: false idempotent: true call: docker-hub-org-settings.put with: body: tools.body outputParameters: - type: object mapping: $.