Updating to the V4 API
1. API URL Path Changes
Base path in API v1:
Base path in API v4:
Accessing objects in API v1:
Accessing objects in API v4:
Changes to 'datamodel' and 'oplog'
datamodel' and 'oplog' Getting the Data Model in API v1:
Getting the Data Model in API v4:
Accessing the Oplog in API v1:
Accessing the Oplog in API v4:
2. Response Data Format for Retrieving Multiple Objects
{
"objects": [
{
"updated_at": "2012-08-29T06:46:10Z",
"name": "Lena Deberon",
"id": "9a700bdc-f115-11e1-bac8-001cc01904e3",
"display": "Lena Deberon"
},
{
"updated_at": "2012-08-29T06:46:17Z",
"name": "Sara Heandy",
"id": "3c2db07a-f1a5-11e1-a7df-001cc01904e3",
"display": "Sara Heandy"
}
],
"count": 2,
"total": 2,
"more": false
}[
{
"_updated_at": "2012-08-29T06:46:10Z",
"name": "Lena Deberon",
"id": "9a700bdc-f115-11e1-bac8-001cc01904e3",
"display_name": "Lena Deberon",
"display_attachments": {
}
},
{
"_updated_at": "2012-08-29T06:46:17Z",
"name": "Sara Heandy",
"id": "3c2db07a-f1a5-11e1-a7df-001cc01904e3",
"display_name": "Sara Heandy",
"display_attachments": {
}
}
]3. Partial Updates to Objects Should Now Use PATCH Method
Partial update to an object in API v1:
Partial update to an object in API v4:
4. PUT Method Will Replace Object Completely
Replace object in API v1:
Replace object in API v4:
5. Updated Field Representation for Choice Data Types
'single-choice-integer' representation in API v1:
'single-choice-integer' representation in API v4:
6. Changes to Photos and Signatures Response Data Format
7. New Data Model Naming Conventions
8. JSON Response Format Supported Only
9. Structured Error Responses
Last updated