naftiko: 1.0.0-alpha2 info: label: Terrain Discovery Environment API — Identifiers description: 'Terrain Discovery Environment API — Identifiers. 2 operations. Lead operation: List Permanent Id Requests. Self-contained Naftiko capability covering one Terrain Discovery Environment Api business surface.' tags: - Terrain Discovery Environment Api - Identifiers created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TERRAIN_DISCOVERY_ENVIRONMENT_API_API_KEY: TERRAIN_DISCOVERY_ENVIRONMENT_API_API_KEY capability: consumes: - type: http namespace: terrain-identifiers baseUri: https://de.cyverse.org/terrain description: Terrain Discovery Environment API — Identifiers business capability. Self-contained, no shared references. resources: - name: secured-permanent-id-requests path: /secured/permanent-id-requests operations: - name: listpermanentidrequests method: GET description: List Permanent Id Requests outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createpermanentidrequest method: POST description: Create Permanent Id Request 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.TERRAIN_DISCOVERY_ENVIRONMENT_API_API_KEY}}' exposes: - type: rest namespace: terrain-identifiers-rest port: 8080 description: REST adapter for Terrain Discovery Environment API — Identifiers. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/secured/permanent-id-requests name: secured-permanent-id-requests description: REST surface for secured-permanent-id-requests. operations: - method: GET name: listpermanentidrequests description: List Permanent Id Requests call: terrain-identifiers.listpermanentidrequests outputParameters: - type: object mapping: $. - method: POST name: createpermanentidrequest description: Create Permanent Id Request call: terrain-identifiers.createpermanentidrequest with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: terrain-identifiers-mcp port: 9090 transport: http description: MCP adapter for Terrain Discovery Environment API — Identifiers. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-permanent-id-requests description: List Permanent Id Requests hints: readOnly: true destructive: false idempotent: true call: terrain-identifiers.listpermanentidrequests outputParameters: - type: object mapping: $. - name: create-permanent-id-request description: Create Permanent Id Request hints: readOnly: false destructive: false idempotent: false call: terrain-identifiers.createpermanentidrequest with: body: tools.body outputParameters: - type: object mapping: $.