UNPKG

@linode/api-v4

Version:
21 lines 685 B
import type { Filter, ResourcePage as Page, Params } from '../types'; import type { CreateStreamPayload, Stream } from './types'; /** * Returns all the information about a specified Stream. * * @param streamId { number } The ID of the Stream to access. * */ export declare const getStream: (streamId: number) => Promise<Stream>; /** * Returns a paginated list of Streams. * */ export declare const getStreams: (params?: Params, filter?: Filter) => Promise<Page<Stream>>; /** * Adds a new Stream. * * @param data { object } Data for type, label, etc. */ export declare const createStream: (data: CreateStreamPayload) => Promise<Stream>; //# sourceMappingURL=streams.d.ts.map