Documentation
    Preparing search index...

    Interface RESTOptions

    interface RESTOptions {
        api: string;
        globalRequestsPerMinute: number;
        headers: undefined | HeadersInit;
        userAgent: IUserAgent;
        version: string;
    }
    Index

    Properties

    api: string

    The base api path, without version

    'https://api.discloud.app'

    globalRequestsPerMinute: number

    How many requests to allow sending per second (Infinity for unlimited, 60 for the standard global limit used by Discloud)

    60

    headers: undefined | HeadersInit

    Additional headers to send for all API requests

    {}

    userAgent: IUserAgent
    version: string

    The version of the API to use

    {APIVersion}