Interface CreateLinkedFile

interface CreateLinkedFile {
    content_type?: string;
    description?: string;
    name: string;
    size?: number;
    story_id?: number;
    thumbnail_url?: string;
    type: "url" | "google" | "dropbox" | "box" | "onedrive";
    uploader_id?: string;
    url: string;
}

Properties

content_type?: string

The content type of the image (e.g. txt/plain).

description?: string

The description of the file.

name: string

The name of the file.

1

256

size?: number

The filesize, if the integration provided it.

int64

story_id?: number

The ID of the linked story.

int64

thumbnail_url?: string

The URL of the thumbnail, if the integration provided it.

2048

^https?://.+$

type: "url" | "google" | "dropbox" | "box" | "onedrive"

The integration type of the file (e.g. google, dropbox, box).

uploader_id?: string

The UUID of the member that uploaded the file.

uuid

url: string

The URL of linked file.

2048

^https?://.+$

MMNEPVFCICPMFPCPTTAAATR