An individual search result.

Constructors

Properties

authorFullName?: string

Name of the author.

category?: string

For knowledge articles, the category of the article.

combinedId?: string

The ID of the document in HubSpot.

description?: string

The result's description. The content will be determined by the value of length in the request.

domain: string

The domain the document is hosted on.

featuredImageUrl?: string

URL of the featured image.

id: number

The ID of the content.

The document's language.

publishedDate?: number

The date the content was published.

rowId?: number

If a dynamic page, the row ID in the HubDB table.

score: number

The matching score of the document.

subcategory?: string

For knowledge articles, the subcategory of the article.

tableId?: number

If a dynamic page, the ID of the HubDB table.

tags?: string[]

If a blog post, the tags associated with it.

title?: string

The title of the returned document.

The type of document. Can be SITE_PAGE, LANDING_PAGE, BLOG_POST, LISTING_PAGE, or KNOWLEDGE_ARTICLE.

url: string

The url of the document.

attributeTypeMap: {
    baseName: string;
    format: string;
    name: string;
    type: string;
}[] = ...
discriminator: undefined | string = undefined

Methods

  • Returns {
        baseName: string;
        format: string;
        name: string;
        type: string;
    }[]