###### 用户作品备份 URL: /gameProject/backup/{projectId} METHOD: GET Headers: Parameter | Type | Description | :----------- | :------: | ------------: | | content-type | application/json;charset=utf-8 | | Authorization | token | ``` { "code": 1, "msg": "作品备份成功!", "data": null } ``` ###### 作品还原 URL: /gameProject/recovery/{备份历史的ID} METHOD: POST URL Parameters | Parameter | Type | Description | SendWay | | :----------- | :------: | ------------: | :------ | Headers: Parameter | Type | Description | :----------- | :------: | ------------: | | content-type | application/json;charset=utf-8 | | Authorization | token | ``` { "code":1, "msg":"作品导入成功!", "data":null } ###### 获取作品备份列表 URL: /user/backup/history METHOD: GET Headers: Parameter | Type | Description | :----------- | :------: | ------------: | | content-type | application/json;charset=utf-8 | | Authorization | token | URL Parameters | Parameter | Type | Description | SendWay | | :----------- | :------: | ------------: | :------ | | username | String | 作者用户名 | RequestParam | ``` { "code": 1, "msg": "成功", "data": [ { "id": 1, "type": 0, // 0表示系统备份的 "projectName": "穿越剧", "gmtCreate": 1551417650000 }, { "id": 2, "type": 0, "projectName": "穿越剧", "gmtCreate": 1551417797000 }, { "id": 3, "type": 1, "projectName": "穿越剧", "gmtCreate": 1551418926000 } ] } ```