{"_id":"57535bfe76b3b70e0007f343","__v":0,"editedParams":true,"editedParams2":true,"parentDoc":null,"user":"5588ba6b1163180d00b646a2","project":"55af2569826d210d00041dee","version":{"_id":"55af2569826d210d00041df1","project":"55af2569826d210d00041dee","__v":24,"createdAt":"2015-07-22T05:08:57.777Z","releaseDate":"2015-07-22T05:08:57.777Z","categories":["55af256a826d210d00041df2","55af6a25826d210d00041e6e","55af6a29555b900d0036d2b9","55b0adaaf202b12100cda284","55b1c4574311490d0092916b","55b8ab85dec1c9210013cf7e","55b8ab94dec1c9210013cf7f","55c1aafd1230af1700d78d3e","55c409f8afefb00d00727f49","55c452448b45eb0d004cfa74","55c9ab71e4927a0d0004a6dc","55d191593ea9882100ec86bc","55dd4a91bfbc6417007a1232","55ecdeafb2714d2100f227c6","565d5457d18ae50d0071845d","565d64a165242f0d00d93199","5665199cc8981f0d0039a87b","56764e49baf6721700cf18ae","57202f98a0acd42000af9679","57204c40c669e80e00c34f80","575357a54d4f120e0096b115","5754e14222cb8d1900a97659","5754e14949a0bf0e004b6f3a","5754e2a849a0bf0e004b6f3d"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"_id":"575357a54d4f120e0096b115","version":"55af2569826d210d00041df1","__v":0,"project":"55af2569826d210d00041dee","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-06-04T22:35:17.757Z","from_sync":false,"order":9999,"slug":"file","title":"file"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-06-04T22:53:50.974Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"language":"curl","code":"curl -X POST \thttps://app.minicloud.io/api/v1/file/history \\\n    --header \"Content-Type: application/json\" \\ \n    --data \"{\\\"token\\\":\\\"xxxxxx\\\",\\\"path\\\":\\\"/11/xxx.docx\\\"}\"","name":""}]},"method":"post","results":{"codes":[{"name":"","code":"[\n  {\n    nick:\"张三\",\n    hash:\"xxxxxx\",\n    time:1464939366169\n  }\n]","language":"json","status":200},{"code":"{\n  \"code\":400,\n  \"error\":\"Error in call to API function xxxx\",\n  \"error_description\":[{\"path\":\"required field.\"}]\n}","language":"json","status":400},{"code":"{\n  \"code\":401,\n  \"error\":\"invalid_token\",\n  \"error_description\":\"The access token provided is invalid.\"\n}","language":"json","status":401}]},"settings":"","auth":"never","params":[{"_id":"572059aa5be73c17009601dc","ref":"","in":"body","required":true,"desc":"file path","default":"","type":"string","name":"path"}],"url":"/file/history"},"isReference":false,"order":0,"body":"","excerpt":"return file history versions","slug":"file_history","type":"endpoint","title":"file/history"}

postfile/history

return file history versions

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

path:
required
string
file path

Examples


Result Format


User Information

Try It Out

post
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}