Fetching Zones by Identifier (zones/lookup)
You can fetch zones by using specified identifiers.
The URL to the CloudKit web service, which is
The protocol version—currently, 1.
A unique identifier for the app’s container. The container ID begins with
The version of the app’s container. Pass
developmentto use the environment that is not accessible by apps available on the store. Pass
productionto use the environment that is accessible by development apps and apps available on the store.
The database to store the data within the container. Pass
publicto use the database that is accessible to all users of the app. Pass
privateto use the database that is visible only to the currently signed-in user.
The POST request is a JSON dictionary containing the following keys:
Dictionary that identifies a record zone in the database, described in Zone ID Dictionary. Use the
The response is a dictionary containing the results per zone with the following key:
Related Framework API
This request is similar to using the
CKFetchRecordZonesOperation class in the CloudKit framework.