Skip to content

How to filter entry.getMany? #1690

@gabdara

Description

@gabdara

Hi, in the Contentful GraphQL API we have the Collection Filters that are very helpful to filter based on some fields.

I'm looking for a way to do the same thing with Contentful Management API.
All I could find is to specify content_type, but nothing for the fields.

this.client.entry.getMany<T>({
  query: {
    content_type: contentType,
    limit,
    skip,
  },
});

Without this, I would have to fetch all the entries (which are thousands and require multiple requests) to manually filter them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions