Generated by API Evangelist
Written by API Evangelist tooling for PeerTube's API. It is a proposal applied on top of the contract, not a document PeerTube publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for PeerTube Video Embed Privacy API
version: 1.0.0
extends: openapi/peertube-video-embed-privacy-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-22'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/api/v1/videos/{id}/embed-privacy'].get
update:
x-apievangelist-phrasing:
intent: Get a video's embed privacy policy
effect: read
questions:
- Can I check which domains are allowed to embed a video?
- What embed privacy policy is set on a video?
instructions:
- text: Get the embed privacy policy for video {id}.
slots:
id: path.id
- text: Show which domains are allowed to embed video {id}.
slots:
id: path.id
method: generated
generated: '2026-11-22'
- target: $.paths['/api/v1/videos/{id}/embed-privacy'].put
update:
x-apievangelist-phrasing:
intent: Set a video's embed privacy policy
effect: write
questions:
- How do I stop all domains from embedding a video?
- Can I restrict embeds to only my own domains?
instructions:
- text: Set embed privacy policy {policy} on video {id}.
slots:
policy: requestBody.policy
id: path.id
- text: Allow only domains {domains} to embed video {id}.
slots:
domains: requestBody.domains
id: path.id
method: generated
generated: '2026-11-22'
- target: $.paths['/api/v1/videos/{id}/embed-privacy/allowed'].get
update:
x-apievangelist-phrasing:
intent: Check if a video can be embedded on a domain
effect: read
questions:
- Is embedding the video on my site allowed?
- Can I check embed privacy for one domain?
instructions:
- text: Check if video {id} can be embedded on {domain}.
slots:
id: path.id
domain: query.domain
- text: Tell me whether embed privacy allows video {id} on {domain}.
slots:
id: path.id
domain: query.domain
method: generated
generated: '2026-11-22'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.