interface ContentIdToContentTypeResponse {
    results?: {
        [key: string]:
            | "page"
            | "blogpost"
            | "attachment"
            | "footer-comment"
            | "inline-comment" | string;
    };
}

Hierarchy

  • Record<string, unknown>
    • ContentIdToContentTypeResponse

Properties

Properties

results?: {
    [key: string]:
        | "page"
        | "blogpost"
        | "attachment"
        | "footer-comment"
        | "inline-comment" | string;
}

JSON object containing all requested content ids as keys and their associated content types as the values. Duplicate content ids in the request will be returned under a single key in the response. For built-in content types, the enumerations are as specified. Custom content ids will be mapped to their associated type.