adobe-firefly-sdk
    Preparing search index...

    Type Alias GetProjectChildrenData

    type GetProjectChildrenData = {
        body?: never;
        headers?: { "x-request-id"?: string };
        path: { assetId: AssetId };
        query?: {
            cursor?: string;
            filter?: string;
            limit?: number;
            sortBy?: string;
        };
        url: "/projects/{assetId}/children";
    }
    Index

    Properties

    body?: never
    headers?: { "x-request-id"?: string }

    Type Declaration

    • Optionalx-request-id?: string

      The X-Request-Id header is used to identify a request. It can be used to correlate logs and other resources and is intended to be a non-persistent identifier.

    path: { assetId: AssetId }

    Type Declaration

    • assetId: AssetId

      The ID of the asset to get.

    query?: { cursor?: string; filter?: string; limit?: number; sortBy?: string }

    Type Declaration

    • Optionalcursor?: string

      Cursor used for fetching next set of results.

      • If not provided, the first page of results is returned.
      • For subsequent pages, only the cursor should be sent.

      NOTE: The cursor is opaque and should not be parsed or modified by clients.


    • Optionalfilter?: string

      FIQL-based filter string

      Following fields are supported for filtering:

      • mediaType: Filter by media type (operators allowed are == and =in=). Multiple values are supported.
      • assetType: Filter by asset type (operators allowed are ==). Single value is only supported.
      • state: Filter by asset state (operators allowed are ==). Single value is only supported.
      • active (default): Filter by active assets.
      • deleted: Filter by (soft)deleted assets.

      NOTE:

      • Only applicable for the first page. Subsequent pages must use the cursor.

    • Optionallimit?: number
      • Provides a hint for the number of items per page.
      • In cases where multiple elements have the same field value used to split the page, the server may adjust the number of items returned to ensure page boundaries align correctly.
    • OptionalsortBy?: string

      Defines the sort order.

      • If not specified, the default is +name.
      • Prefix with - for descending order. + is optional for ascending order.

      Following fields are supported for sorting:

      • name
      • created
      • modified

      NOTE:

      • Only applicable for the first page. Subsequent pages must use the cursor.

    url: "/projects/{assetId}/children"