Skip to content

records/query: add zoneWide and numbersAsStrings request options #383

@leogdion

Description

@leogdion

Background

Follow-up to #32 (Fetching Records Using a Query — CLOSED). A gap review of openapi.yaml against the CloudKit JS query request (cloudkitjs.md:1822-1840) and the Web Services reference found the records/query request body is missing two documented options.

Current state

records/query request body (openapi.yaml:51-67) exposes only: zoneID, resultsLimit, query, desiredKeys, continuationMarker.

What needs to be done

Add to the request body schema:

  • zoneWide (boolean) — query across all zones rather than a single zone.
  • numbersAsStrings (boolean) — return numeric field values as strings (avoids JS precision loss; relevant for INT64).

Implementation notes

  • Edit openapi.yaml only, then regenerate via ./Scripts/generate-openapi.sh. Never hand-edit Sources/MistKitOpenAPI/.
  • Surface the new options through the relevant CloudKitService query method(s).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions