naftiko: 1.0.0-alpha2
info:
label: eBay Account API — Privilege
description: 'eBay Account API — Privilege. 1 operations. Lead operation: Privilege. Self-contained Naftiko capability covering
one Ebay business surface.'
tags:
- Ebay
- Privilege
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
EBAY_API_KEY: EBAY_API_KEY
capability:
consumes:
- type: http
namespace: account-privilege
baseUri: https://api.ebay.com{basePath}
description: eBay Account API — Privilege business capability. Self-contained, no shared references.
resources:
- name: privilege
path: /privilege
operations:
- name: getprivileges
method: GET
description: This method retrieves the seller's current set of privileges, including whether or not the seller's eBay
registration has been completed, as well as the details of their site-wide sellingLimt (the amount and quantity
they can sell on
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
authentication:
type: bearer
token: '{{env.EBAY_API_KEY}}'
exposes:
- type: rest
namespace: account-privilege-rest
port: 8080
description: REST adapter for eBay Account API — Privilege. One Spectral-compliant resource per consumed operation, prefixed
with /v1.
resources:
- path: /v1/privilege
name: privilege
description: REST surface for privilege.
operations:
- method: GET
name: getprivileges
description: This method retrieves the seller's current set of privileges, including whether or not the seller's eBay
registration has been completed, as well as the details of their site-wide sellingLimt (the amount and quantity
they can sell on
call: account-privilege.getprivileges
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: account-privilege-mcp
port: 9090
transport: http
description: MCP adapter for eBay Account API — Privilege. One tool per consumed operation, routed inline through this
capability's consumes block.
tools:
- name: this-method-retrieves-seller-s-current
description: This method retrieves the seller's current set of privileges, including whether or not the seller's eBay
registration has been completed, as well as the details of their site-wide sellingLimt (the amount and quantity
they can sell on
hints:
readOnly: true
destructive: false
idempotent: true
call: account-privilege.getprivileges
outputParameters:
- type: object
mapping: $.