naftiko: 1.0.0-alpha2
info:
label: eBay Media API — Video
description: 'eBay Media API — Video. 3 operations. Lead operation: Video. Self-contained Naftiko capability covering one
Ebay business surface.'
tags:
- Ebay
- Video
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
EBAY_API_KEY: EBAY_API_KEY
capability:
consumes:
- type: http
namespace: media-video
baseUri: https://apim.ebay.com{basePath}
description: eBay Media API — Video business capability. Self-contained, no shared references.
resources:
- name: video
path: /video
operations:
- name: createvideo
method: POST
description: This method creates a video. When using this method, specify the title, size, and classification
of the video to be created. Description is an optional field for this method.
application/json.
For more information, '
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: false
- name: video-video_id
path: /video/{video_id}
operations:
- name: getvideo
method: GET
description: 'This method retrieves a video''s metadata and content given a specified video ID. The method
returns the title, size, classification, description, video ID, playList,
status, status '
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: video_id
in: path
type: string
description: The unique identifier of the video to be retrieved.
required: true
- name: video-video_id-upload
path: /video/{video_id}/upload
operations:
- name: uploadvideo
method: POST
description: This method associates the specified file with the specified video ID and uploads the input file.
After the file has been uploaded the processing of the file begins.
video ID. The method
returns the title, size, classification, description, video ID, playList,
status, status '
call: media-video.getvideo
with:
video_id: rest.video_id
outputParameters:
- type: object
mapping: $.
- path: /v1/video/{video-id}/upload
name: video-video-id-upload
description: REST surface for video-video_id-upload.
operations:
- method: POST
name: uploadvideo
description: This method associates the specified file with the specified video ID and uploads the input file.
After the file has been uploaded the processing of the file begins.
title, size, and classification
of the video to be created. Description is an optional field for this method.
video ID. The method returns
the title, size, classification, description, video ID, playList, status,
status '
hints:
readOnly: true
destructive: false
idempotent: true
call: media-video.getvideo
with:
video_id: tools.video_id
outputParameters:
- type: object
mapping: $.
- name: this-method-associates-specified-file
description: This method associates the specified file with the specified video ID and uploads the input file.
After the file has been uploaded the processing of the file begins.