{"_id":"5754e2e849a0bf0e004b6f3e","editedParams":true,"__v":0,"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"},"editedParams2":true,"parentDoc":null,"user":"5588ba6b1163180d00b646a2","category":{"_id":"5754e14222cb8d1900a97659","__v":0,"project":"55af2569826d210d00041dee","version":"55af2569826d210d00041df1","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-06-06T02:34:42.421Z","from_sync":false,"order":9999,"slug":"documents","title":"documents"},"project":"55af2569826d210d00041dee","updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-06-06T02:41:44.612Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"settings":"","examples":{"codes":[{"language":"curl","code":"curl -X POST \thttps://app.minicloud.io/api/v1/doc/cover \\\n    --header \"Content-Type: application/json\" \\ \n    --data \"{\\\"token\\\":\\\"xxxxxx\\\",\\\"path\\\":\\\"/11/xxx.docx\\\"}\"","name":""}]},"method":"post","results":{"codes":[{"language":"json","status":302,"name":"","code":"https://xxxx/api/v1/doc/cover?yyyyy"},{"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}]},"auth":"never","params":[{"_id":"572059aa5be73c17009601dc","ref":"","in":"body","required":true,"desc":"document path","default":"","type":"string","name":"path"}],"url":"/doc/cover"},"isReference":false,"order":0,"body":"","excerpt":"return document cover,support doc/docx/ppt/pptx/xls/xlsx/pdf","slug":"doc_cover","type":"endpoint","title":"doc/cover"}

postdoc/cover

return document cover,support doc/docx/ppt/pptx/xls/xlsx/pdf

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

path:
required
string
document 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 }}