tridion-sites-extensions-api-docs

Home > @tridion-sites/open-api-client > PublishingService > isPublished

PublishingService.isPublished() method

Indicates whether a specified item is published (true) or not (false).

Signature:

static isPublished({ escapedItemId, isPublishedInContext, targetIdOrPurpose, }: {
        escapedItemId: string;
        isPublishedInContext: boolean;
        targetIdOrPurpose?: string;
    }): CancelablePromise<boolean>;

Parameters

Parameter Type Description
{ escapedItemId, isPublishedInContext, targetIdOrPurpose, } { escapedItemId: string; isPublishedInContext: boolean; targetIdOrPurpose?: string; }  

Returns:

CancelablePromise<boolean>

boolean Successfully published

Exceptions

ApiError