naftiko: 1.0.0-alpha2
info:
label: eBay Translation API — Language
description: 'eBay Translation API — Language. 1 operations. Lead operation: Language. Self-contained Naftiko capability
covering one Ebay business surface.'
tags:
- Ebay
- Language
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
EBAY_API_KEY: EBAY_API_KEY
capability:
consumes:
- type: http
namespace: translation-language
baseUri: https://api.ebay.com{basePath}
description: eBay Translation API — Language business capability. Self-contained, no shared references.
resources:
- name: translate
path: /translate
operations:
- name: translate
method: POST
description: This method translates listing title and listing description text from one language into another. For
a full list of supported language translations, see the table in the API
Overview
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: Content-Type
in: header
type: string
description: 'This header indicates the format of the request body provided by the client. Its value should be set
to application/json.
For more information, '
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
authentication:
type: bearer
token: '{{env.EBAY_API_KEY}}'
exposes:
- type: rest
namespace: translation-language-rest
port: 8080
description: REST adapter for eBay Translation API — Language. One Spectral-compliant resource per consumed operation,
prefixed with /v1.
resources:
- path: /v1/translate
name: translate
description: REST surface for translate.
operations:
- method: POST
name: translate
description: This method translates listing title and listing description text from one language into another. For
a full list of supported language translations, see the table in the API
Overview
call: translation-language.translate
with:
Content-Type: rest.Content-Type
body: rest.body
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: translation-language-mcp
port: 9090
transport: http
description: MCP adapter for eBay Translation API — Language. One tool per consumed operation, routed inline through this
capability's consumes block.
tools:
- name: this-method-translates-listing-title
description: This method translates listing title and listing description text from one language into another. For a
full list of supported language translations, see the table in the API
Overview
hints:
readOnly: true
destructive: false
idempotent: false
call: translation-language.translate
with:
Content-Type: tools.Content-Type
body: tools.body
outputParameters:
- type: object
mapping: $.