Skip to content

Add ability to request for a restricted set of fields when listing files #77

@Freezystem

Description

@Freezystem

Is there a way to limit returned fields in the list request ?

It would be a nice thing to be able to limit the returned fields to reduce bandwidth, memory usage and increase overall performances.

For instance, we're sometimes listing files just to get their id in order to move them to a different group or delete them. I don't need anything but the id field in that case and there is a lot of useless information transiting through the network.

This could be done through a dedicated query parameter taking a comma separated list of fields like: https://api.pinata.cloud/v3/v3/files/public?fields=id,cid,name.

Regards,

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