Skip to content

Use PATCH instead of PUT for transformEntries #1469

@Swissbite

Description

@Swissbite

The current implementation uses the PUT methods to replace an entry on itself. But it falls short as soon as the content gets larger and a single entry exceeds the payload limit of 1 MB.

It would be nicer, if the migration itself would use the PATCH options introduced in the API (which is also used on the Contentful Web Client) to update an entry. That would reduce the payload and would not require to hack around with makeRequest for a migration.

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