Skip to main content

Create or replace a record

PUT 

/records/:collection/:id

Creates the record, or replaces its payload when updated_at_ms is equal to or later than the stored one. An older write changes nothing and answers with the stored record. The payload is a JSON object of at most 64 KB. Needs the Records add-on and the records:write scope.

Request​

Responses​

The stored record, unchanged when the write was older.

Response Headers
    X-Request-Id

    The id of this request. Quote it when you contact support.

    Hometown-Version

    The API version that answered: the one the request named, or the version the account is pinned to.

    RateLimit-Policy

    The per-minute limit of the account, as limit;w=60.

    RateLimit

    Requests left in the current minute: limit, remaining and reset in seconds.