Full Update without the Overwrite Check
This method overwrites the data on the server with the key-value pairs sent from the client (the data on the server will be lost).
The data will be overwritten unconditionally regardless of if the data on the server is updated by other clients.
Here is the sample code:
curl -v -X PUT \
-H "Authorization: Bearer {ACCESS_TOKEN}" \
-H "Content-Type: application/vnd.{APP_ID}.mydata+json" \
"https://api-jp.kii.com/api/apps/{APP_ID}/users/me/buckets/{BUCKET_ID}/objects/{OBJECT_ID}" \
-d '{"score": 2300, "name": "game1"}'
If the KiiObject is fully updated, Kii Cloud will respond with the modification time in UNIX time (msec, UTC) like this:
< HTTP/1.1 200 OK
< Server: Apache-Coyote/1.1
< ETag: "2"
< Content-Type: application/vnd.kii.ObjectUpdateResponse+json
< Transfer-Encoding: chunked
< Date: Mon, 14 May 2012 23:50:48 GMT
<
{
"modifiedAt" : 1337039448517
}