naftiko: 1.0.0-alpha2 info: label: m3ter API — LookupTableRevision description: 'm3ter API — LookupTableRevision. 6 operations. Lead operation: List LookupTableRevision. Self-contained Naftiko capability covering one M3ter business surface.' tags: - M3ter - LookupTableRevision created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: M3TER_API_KEY: M3TER_API_KEY capability: consumes: - type: http namespace: m3ter-lookuptablerevision baseUri: https://api.m3ter.com description: m3ter API — LookupTableRevision business capability. Self-contained, no shared references. resources: - name: organizations-orgId-lookuptables-lookupTableId-revisions path: /organizations/{orgId}/lookuptables/{lookupTableId}/revisions operations: - name: listlookuptablerevision method: GET description: List LookupTableRevision outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgId in: path type: string description: UUID of the Organization required: true - name: lookupTableId in: path type: string description: The lookup table Id required: true - name: pageSize in: query type: integer description: Number of LookupTable to retrieve per page - name: nextToken in: query type: string description: Token to supply for multi page retrievals - name: ids in: query type: array description: List of Lookup Table Revision IDs to retrieve - name: createlookuptablerevision method: POST description: Create LookupTableRevision outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgId in: path type: string description: UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service. required: true - name: lookupTableId in: path type: string description: UUID of the Lookup Table the Revision will be created for. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: organizations-orgId-lookuptables-lookupTableId-revisions-id path: /organizations/{orgId}/lookuptables/{lookupTableId}/revisions/{id} operations: - name: getlookuptablerevision method: GET description: Retrieve LookupTableRevision outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgId in: path type: string description: UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service. required: true - name: id in: path type: string description: The UUID of the Lookup Table Revision to retrieve. required: true - name: lookupTableId in: path type: string description: The UUID of the Lookup Table the Revision belongs to. required: true - name: updatelookuptablerevision method: PUT description: Update LookupTableRevision outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgId in: path type: string description: UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service. required: true - name: id in: path type: string description: The UUID of the Lookup Table Revision to update. required: true - name: lookupTableId in: path type: string description: The UUID of the Lookup Table the Revision belongs to. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deletelookuptablerevision method: DELETE description: Delete LookupTableRevision outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgId in: path type: string description: UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service. required: true - name: id in: path type: string description: The UUID of the Lookup Table Revision to update. required: true - name: lookupTableId in: path type: string description: The UUID of the Lookup Table the Revision belongs to. required: true - name: organizations-orgId-lookuptables-lookupTableId-revisions-id-status path: /organizations/{orgId}/lookuptables/{lookupTableId}/revisions/{id}/status operations: - name: updatelookuptablerevisionstatus method: PUT description: Update LookupTableRevision Status outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgId in: path type: string description: UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service. required: true - name: id in: path type: string description: The UUID of the Lookup Table Revision to update the status for. required: true - name: lookupTableId in: path type: string description: UUID of the Lookup Table the Revision belongs to. required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.M3TER_API_KEY}}' exposes: - type: rest namespace: m3ter-lookuptablerevision-rest port: 8080 description: REST adapter for m3ter API — LookupTableRevision. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/organizations/{orgid}/lookuptables/{lookuptableid}/revisions name: organizations-orgid-lookuptables-lookuptableid-revisions description: REST surface for organizations-orgId-lookuptables-lookupTableId-revisions. operations: - method: GET name: listlookuptablerevision description: List LookupTableRevision call: m3ter-lookuptablerevision.listlookuptablerevision with: orgId: rest.orgId lookupTableId: rest.lookupTableId pageSize: rest.pageSize nextToken: rest.nextToken ids: rest.ids outputParameters: - type: object mapping: $. - method: POST name: createlookuptablerevision description: Create LookupTableRevision call: m3ter-lookuptablerevision.createlookuptablerevision with: orgId: rest.orgId lookupTableId: rest.lookupTableId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/organizations/{orgid}/lookuptables/{lookuptableid}/revisions/{id} name: organizations-orgid-lookuptables-lookuptableid-revisions-id description: REST surface for organizations-orgId-lookuptables-lookupTableId-revisions-id. operations: - method: GET name: getlookuptablerevision description: Retrieve LookupTableRevision call: m3ter-lookuptablerevision.getlookuptablerevision with: orgId: rest.orgId id: rest.id lookupTableId: rest.lookupTableId outputParameters: - type: object mapping: $. - method: PUT name: updatelookuptablerevision description: Update LookupTableRevision call: m3ter-lookuptablerevision.updatelookuptablerevision with: orgId: rest.orgId id: rest.id lookupTableId: rest.lookupTableId body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletelookuptablerevision description: Delete LookupTableRevision call: m3ter-lookuptablerevision.deletelookuptablerevision with: orgId: rest.orgId id: rest.id lookupTableId: rest.lookupTableId outputParameters: - type: object mapping: $. - path: /v1/organizations/{orgid}/lookuptables/{lookuptableid}/revisions/{id}/status name: organizations-orgid-lookuptables-lookuptableid-revisions-id-status description: REST surface for organizations-orgId-lookuptables-lookupTableId-revisions-id-status. operations: - method: PUT name: updatelookuptablerevisionstatus description: Update LookupTableRevision Status call: m3ter-lookuptablerevision.updatelookuptablerevisionstatus with: orgId: rest.orgId id: rest.id lookupTableId: rest.lookupTableId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: m3ter-lookuptablerevision-mcp port: 9090 transport: http description: MCP adapter for m3ter API — LookupTableRevision. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-lookuptablerevision description: List LookupTableRevision hints: readOnly: true destructive: false idempotent: true call: m3ter-lookuptablerevision.listlookuptablerevision with: orgId: tools.orgId lookupTableId: tools.lookupTableId pageSize: tools.pageSize nextToken: tools.nextToken ids: tools.ids outputParameters: - type: object mapping: $. - name: create-lookuptablerevision description: Create LookupTableRevision hints: readOnly: true destructive: false idempotent: false call: m3ter-lookuptablerevision.createlookuptablerevision with: orgId: tools.orgId lookupTableId: tools.lookupTableId body: tools.body outputParameters: - type: object mapping: $. - name: retrieve-lookuptablerevision description: Retrieve LookupTableRevision hints: readOnly: true destructive: false idempotent: true call: m3ter-lookuptablerevision.getlookuptablerevision with: orgId: tools.orgId id: tools.id lookupTableId: tools.lookupTableId outputParameters: - type: object mapping: $. - name: update-lookuptablerevision description: Update LookupTableRevision hints: readOnly: false destructive: false idempotent: true call: m3ter-lookuptablerevision.updatelookuptablerevision with: orgId: tools.orgId id: tools.id lookupTableId: tools.lookupTableId body: tools.body outputParameters: - type: object mapping: $. - name: delete-lookuptablerevision description: Delete LookupTableRevision hints: readOnly: false destructive: true idempotent: true call: m3ter-lookuptablerevision.deletelookuptablerevision with: orgId: tools.orgId id: tools.id lookupTableId: tools.lookupTableId outputParameters: - type: object mapping: $. - name: update-lookuptablerevision-status description: Update LookupTableRevision Status hints: readOnly: false destructive: false idempotent: true call: m3ter-lookuptablerevision.updatelookuptablerevisionstatus with: orgId: tools.orgId id: tools.id lookupTableId: tools.lookupTableId body: tools.body outputParameters: - type: object mapping: $.