{"_id":"5754e268d6cd8f0e001cac75","category":{"_id":"5754e14949a0bf0e004b6f3a","__v":0,"project":"55af2569826d210d00041dee","version":"55af2569826d210d00041df1","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-06-06T02:34:49.923Z","from_sync":false,"order":9999,"slug":"image","title":"image"},"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"},"user":"5588ba6b1163180d00b646a2","parentDoc":null,"project":"55af2569826d210d00041dee","__v":0,"editedParams2":true,"editedParams":true,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-06-06T02:39:36.623Z","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/img/thumbnail \\\n    --header \"Content-Type: application/json\" \\ \n    --data \"{\\\"token\\\":\\\"xxxxxx\\\",\\\"path\\\":\\\"/11/xxx.docx\\\"}\"","name":""}]},"method":"post","results":{"codes":[{"name":"","code":"https://xxxx/api/v1/img/thumbnail?yyyyy","language":"json","status":302},{"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":"image path","default":"","type":"string","name":"path"},{"_id":"57535d03d8fe070e00258a74","ref":"","in":"body","required":false,"desc":"thumbnail width","default":"1024","type":"int","name":"w"},{"_id":"57535d03d8fe070e00258a73","ref":"","in":"body","required":false,"desc":"thumbnail height","default":"1024","type":"int","name":"h"}],"url":"/img/thumbnail"},"isReference":false,"order":0,"body":"","excerpt":"return image thumbnail","slug":"img_thumbnail","type":"endpoint","title":"img/thumbnail"}

postimg/thumbnail

return image thumbnail

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

path:
required
string
image path
w:
integer1024
thumbnail width
h:
integer1024
thumbnail height

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 }}