All Verbs | /sync/changes | ||
---|---|---|---|
All Verbs | /sync/changes/{SyncName}/{ClientId} |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
SyncName | path | string | No | |
ClientId | path | Guid | No | |
Scopes | query | List<ScopeRequest> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Name | form | string | No | |
ClientBlob | form | byte[] | No | |
Parameters | form | List<SyncParamValue> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Name | form | string | No | |
Value | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .x-protobuf suffix or ?format=x-protobuf
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /sync/changes HTTP/1.1
Host: apex.nikoratrade.ge
Accept: application/x-protobuf
Content-Type: application/x-protobuf
Content-Length: length
{"SyncName":"String","ClientId":"00000000000000000000000000000000","Scopes":[{"Name":"String","ClientBlob":"AA==","Parameters":[{"Name":"String","Value":"String"}]}]}