Interface MediumNodeParameters

Source
interface MediumNodeParameters {
    additionalFields?: {
        canonicalUrl?: string;
        license?:
            | "all-rights-reserved"
            | "cc-40-by"
            | "cc-40-by-nc"
            | "cc-40-by-nc-nd"
            | "cc-40-by-nc-sa"
            | "cc-40-by-nd"
            | "cc-40-by-sa"
            | "cc-40-zero"
            | "public-domain";
        notifyFollowers?: boolean;
        publishStatus?: "public"
        | "draft"
        | "unlisted";
        tags?: string;
    };
    authentication?: "oAuth2"
    | "accessToken";
    content?: string;
    contentFormat?: "html" | "markdown";
    limit?: number;
    operation?: "create" | "getAll";
    publication?: boolean;
    publicationId?: string;
    resource?: "post" | "publication";
    returnAll?: boolean;
    title?: string;
}

Properties§

§readonly additionalFields?: { ... }

Default: {}

§readonly authentication?: "oAuth2" | "accessToken"

Default: "accessToken"

§readonly content?: string

The body of the post, in a valid semantic HTML fragment, or Markdown

§readonly contentFormat?: "html" | "markdown"

The format of the content to be posted

§readonly limit?: number

Max number of results to return Default: 100 Type options: {"minValue":1,"maxValue":200}

§readonly operation?: "create" | "getAll"

Default: "create"

§readonly publication?: boolean

Whether you are posting for a publication

§readonly publicationId?: string

Publication IDs. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getPublications"}

§readonly resource?: "post" | "publication"

Default: "post"

§readonly returnAll?: boolean

Whether to return all results or only up to a given limit

§readonly title?: string

Title of the post. Max Length : 100 characters.