Function getPublishedItems

  • Finds and returns the published items for a given item. This endpoint is particularly useful for finding the published copies of an app or a qvapp when you want to replace the content of a published copy with new information from the source item.

    Parameters

    • itemId: string

      The item's unique identifier

    • query: {
          limit?: number;
          next?: string;
          prev?: string;
          resourceType?: ItemResourceTypeEnum;
          sort?:
              | "-name"
              | "+name"
              | "+createdAt"
              | "-createdAt"
              | "+updatedAt"
              | "-updatedAt";
      }

      an object with query parameters

      • Optionallimit?: number

        The maximum number of resources to return for a request. The limit must be an integer between 1 and 100 (inclusive).

      • Optionalnext?: string
      • Optionalprev?: string
      • OptionalresourceType?: ItemResourceTypeEnum
      • Optionalsort?: "-name" | "+name" | "+createdAt" | "-createdAt" | "+updatedAt" | "-updatedAt"
    • Optionaloptions: ApiCallOptions

    Returns Promise<GetPublishedItemsHttpResponse>

    GetPublishedItemsHttpError