postSyncData
Syncs data between device and server
Requires authentication as user
postSyncData
Request
post /Sync/Data
Parameters
| Name | In | Type | Default | Notes |
|---|---|---|---|---|
| *TargetId | query | TargetId |
||
| *body | body | SyncDataRequest | SyncDataRequest: |
Responses
| Status Code | Type | Description | Samples |
|---|---|---|---|
| 200 | SyncDataResponse | Operation successful. Returning a SyncDataResponse object. |
|
| 400 | Bad Request. Server cannot process request. |
||
| 401 | Unauthorized. Client needs to authenticate. |
||
| 403 | Forbidden. No permission for the reqested operation. |
||
| 404 | Resource not found or unavailable. |
||
| 500 | Server error. |
Definitions
SyncDataRequest
Emby.Server.Sync.Model.SyncDataRequest
| Name | Type | Notes |
|---|---|---|
| LocalItemIds | array | |
| InternalTargetIds | array |
SyncDataResponse
Emby.Server.Sync.Model.SyncDataResponse
| Name | Type | Notes |
|---|---|---|
| ItemIdsToRemove | array |