Skip to content
API reference

media

Import
import * as api from "@fungi.computer/oyster/media";
Kind Export Description
constant mediaSlot Media slot supplied by the host; Oyster owns routing, never generation.

mediaSlotconstant

Section titled “mediaSlot”
Signature
const mediaSlot: object;

Media slot supplied by the host; Oyster owns routing, never generation.

Name Type Default value
id "media.generation" "media.generation"
version number mediaGeneration.version
base "/media/" "/media/"
methods object -
methods.describe object -
methods.describe.kind "json" "json"
methods.describe.method "GET" "GET"
methods.describe.path "describe" "describe"
methods.generate object -
methods.generate.kind "json" "json"
methods.generate.method "POST" "POST"
methods.generate.path "generate" "generate"
methods.cancelAttempt object -
methods.cancelAttempt.kind "json" "json"
methods.cancelAttempt.method "POST" "POST"
methods.cancelAttempt.path "cancel-attempt" "cancel-attempt"