Fetching Contacts (users/lookup/contacts)
You can fetch discoverable users in the current user’s address book.
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 response is a dictionary containing the results of the operation with the following key:
An array of user dictionaries, described in User Dictionary, but not including an
Related Framework API
This request is similar to the
CKDiscoverAllContactsOperation class in the CloudKit framework.