Request

Response

    Queries

    foldersByFolder

    GraphQL: Query

    Retrieves all subfolders within a specified folder that meet the filter criteria specified by the filter argument.

    Template for Query:

    query GetFoldersByFolder($projectId: ID!, $folderId: ID!, $filter: FolderFilterInput, $pagination: PaginationInput) {
      foldersByFolder(projectId: $projectId, folderId: $folderId, filter: $filter, pagination: $pagination) {
        # FoldersByFolder Fields
      }
    }
    

    Template for Query Variables:

    {
      "projectId" : "<SOME-ID-TYPE-SCALAR-VALUE>",
      "folderId" : "<SOME-ID-TYPE-SCALAR-VALUE>",
      "filter" : "<SOME-FOLDERFILTER-INPUT-TYPE-VALUE>",
      "pagination" : "<SOME-PAGINATION-INPUT-TYPE-VALUE>"
    }
    


    Arguments

    projectId*
    ID! non-null
    The ID of the project that contains the items.
    folderId*
    ID! non-null
    The ID of the folder that contains the subfolders.
    filterSpecifies how to filter on folders. You can filter by name.
    paginationSpecifies how to split the response into multiple pages.
    * Required

    Possible Returns

    Value TypeDescription
    Folders A list of Folders returned in response to a query. A folder contains items, such as designs and sub-folders.


    Examples