tumblr.js - v5.0.1
    Preparing search index...

    Interface NpfPostParams

    interface NpfPostParams {
        content: readonly NpfContentBlock[];
        date?: string;
        interactability_reblog?: "everyone" | "noone";
        is_private?: boolean;
        layout?: readonly NpfLayoutBlock[];
        publish_on?: string;
        slug?: string;
        source_url?: string;
        state?: PostState;
        tags?: readonly string[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    content: readonly NpfContentBlock[]

    An array of NPF content blocks to be used to make the post; in a reblog, this is any content you want to add.

    date?: string

    The exact date and time (ISO 8601 format) in the past to backdate the post, if desired. This backdating does not apply to when the post shows up in the Dashboard.

    interactability_reblog?: "everyone" | "noone"

    Who can interact with this when reblogging

    is_private?: boolean

    Whether this should be a private answer, if this is an answer.

    layout?: readonly NpfLayoutBlock[]

    An array of NPF layout objects to be used to lay out the post content.

    publish_on?: string

    The exact future date and time (ISO 8601 format) to publish the post, if desired. This parameter will be ignored unless the state parameter is "queue".

    slug?: string

    A custom URL slug to use in the post's permalink URL.

    source_url?: string

    A source attribution for the post content.

    state?: PostState

    The initial state of the new post. Defaults to "published".

    tags?: readonly string[]

    Tags to associate with the post.