Fetching Record Information (records/resolve)
Fetches information about records given their shortGUID
properties.
Path
POST [path]/database/[version]/[container]/[environment]/public/records/resolve
Parameters
- path
The URL to the CloudKit web service, which is
https://api.apple-cloudkit.com
.- version
The protocol version—currently, 1.
- container
A unique identifier for the app’s container. The container ID begins with
iCloud.
.- environment
The version of the app’s container. Pass
development
to use the environment that is not accessible by apps available on the store. Passproduction
to use the environment that is accessible by development apps and apps available on the store.
Request
The POST request is a JSON dictionary containing the following keys:
Key |
Description |
---|---|
|
An array of short GUIDs, described in ShortGUID Dictionary, representing the shared records. |
Response
Dictionary containing the results of the operation with the following keys:
Key |
Description |
---|---|
|
An array of result dictionaries, described in ShortGUID Result Dictionary, representing the results of accepting a shared record. |
Fetching Record Changes (records/changes)
Copyright © 2018 Apple Inc. All rights reserved. Terms of Use | Privacy Policy | Updated: 2016-06-13