interface CustomContentSingle {
    _links?: CustomContentLinks;
    authorId?: string;
    blogPostId?: string;
    body?: CustomContentBodySingle;
    createdAt?: string;
    customContentId?: string;
    id?: string;
    labels?: {
        _links?: OptionalFieldLinks;
        meta?: OptionalFieldMeta;
        results?: Label[];
    } & {
        [key: string]: unknown;
    };
    operations?: {
        _links?: OptionalFieldLinks;
        meta?: OptionalFieldMeta;
        results?: Operation[];
    } & {
        [key: string]: unknown;
    };
    pageId?: string;
    properties?: {
        _links?: OptionalFieldLinks;
        meta?: OptionalFieldMeta;
        results?: ContentProperty[];
    } & {
        [key: string]: unknown;
    };
    spaceId?: string;
    status?: ContentStatus;
    title?: string;
    type?: string;
    version?: Version;
    versions?: {
        _links?: OptionalFieldLinks;
        meta?: OptionalFieldMeta;
        results?: Version[];
    } & {
        [key: string]: unknown;
    };
}

Hierarchy

  • Record<string, unknown>
    • CustomContentSingle

Properties

authorId?: string

The account ID of the user who created this custom content originally.

blogPostId?: string

ID of the containing blog post.

Note: This is only returned if the custom content has a container that is a blog post.

Contains fields for each representation type requested.

createdAt?: string

Date and time when the custom content was created. In format "YYYY-MM-DDTHH:mm:ss.sssZ".

customContentId?: string

ID of the containing custom content.

Note: This is only returned if the custom content has a container that is custom content.

id?: string

ID of the custom content.

labels?: {
    _links?: OptionalFieldLinks;
    meta?: OptionalFieldMeta;
    results?: Label[];
} & {
    [key: string]: unknown;
}
operations?: {
    _links?: OptionalFieldLinks;
    meta?: OptionalFieldMeta;
    results?: Operation[];
} & {
    [key: string]: unknown;
}
pageId?: string

ID of the containing page.

Note: This is only returned if the custom content has a container that is a page.

properties?: {
    _links?: OptionalFieldLinks;
    meta?: OptionalFieldMeta;
    results?: ContentProperty[];
} & {
    [key: string]: unknown;
}
spaceId?: string

ID of the space the custom content is in.

Note: This is always returned, regardless of if the custom content has a container that is a space.

status?: ContentStatus

The status of the content.

title?: string

Title of the custom content.

type?: string

The type of custom content.

version?: Version
versions?: {
    _links?: OptionalFieldLinks;
    meta?: OptionalFieldMeta;
    results?: Version[];
} & {
    [key: string]: unknown;
}