{"_id":"564e37deae07512b00a87ddc","user":"55fae9d4825d5f19001fa379","editedParams2":true,"parentDoc":null,"project":"55faeacad0e22017005b8265","category":{"_id":"561d588d8ca8b90d00210219","project":"55faeacad0e22017005b8265","version":"55faeacad0e22017005b8268","__v":7,"pages":["561d58cc8ca8b90d0021021a","561d58ea071cd60d000d3202","561d58f88ca8b90d0021021c","564e30acc475e017007ffb43","564e3524e964972100508e6a","564e37deae07512b00a87ddc","564e3a08c475e017007ffb58"],"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-10-13T19:16:29.547Z","from_sync":false,"order":10,"slug":"thumbnail-service-guide","title":"Thumbnail Service Guide"},"version":{"_id":"55faeacad0e22017005b8268","project":"55faeacad0e22017005b8265","__v":34,"createdAt":"2015-09-17T16:31:06.800Z","releaseDate":"2015-09-17T16:31:06.800Z","categories":["55faeacbd0e22017005b8269","55faf550764f50210095078e","55faf5b5626c341700fd9e96","55faf8a7825d5f19001fa386","560052f91503430d007cc88f","560054f73aa0520d00da0b1a","56005aaf6932a00d00ba7c62","56005c273aa0520d00da0b3f","5601ae7681a9670d006d164d","5601ae926811d00d00ceb487","5601aeb064866b1900f4768d","5601aee850ee460d0002224c","5601afa02499c119000faf19","5601afd381a9670d006d1652","561d4c78281aec0d00eb27b6","561d588d8ca8b90d00210219","563a5f934cc3621900ac278c","5665c5763889610d0008a29e","566710a36819320d000c2e93","56ddf6df8a5ae10e008e3926","56e1c96b2506700e00de6e83","56e1ccc4e416450e00b9e48c","56e1ccdfe63f910e00e59870","56e1cd10bc46be0e002af26a","56e1cd21e416450e00b9e48e","56e3139a51857d0e008e77be","573b4f62ef164e2900a2b881","57c9d1335fd8ca0e006308ed","57e2bd9d1e7b7220000d7fa5","57f2b992ac30911900c7c2b6","58adb5c275df0f1b001ed59b","58c81b5c6dc7140f003c3c46","595412446ed4d9001b3e7b37","59e76ce41938310028037295"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"v1","version_clean":"1.0.0","version":"1"},"__v":0,"editedParams":true,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-11-19T20:58:06.222Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"method":"get","results":{"codes":[{"code":"{\n  \"image\": \"https://alpha-thumbnail-cache.s3.amazonaws.com/1050410002946400/256s.png\",\n  \"metadata\": \"https://alpha-thumbnail-cache.s3.amazonaws.com/1050410002946400/metadata.json\"\n}","language":"json","status":200,"name":""}]},"settings":"","examples":{"codes":[{"name":"","code":"https://geobigdata.io/thumbnails/v1/get/1050410002946400.small.png","language":"json"}]},"auth":"required","params":[{"_id":"564e37deae07512b00a87dde","ref":"","in":"path","required":true,"desc":"The catalog ID of the required image.","default":"","type":"string","name":"catid"},{"_id":"564e37deae07512b00a87ddd","ref":"","in":"path","required":true,"desc":"The dimension of the desired image. Valid dimensions are 'small, medium, large and natres","default":"","type":"string","name":"dim"}],"url":"/thumbnails/v1/get/:catid.:dim.png"},"isReference":false,"order":3,"body":"This API call with a catalog ID (catID) and dimensions (dim) returns the bucket location with the thumbnail and the JSON file with metadata. \n\nValid dimensions are:\n* small\n* medium\n* large\n* natres","excerpt":"Get the location of the thumbnail and its metadata by catalog ID and DIM","slug":"json-mode","type":"endpoint","title":"JSON Mode"}

getJSON Mode

Get the location of the thumbnail and its metadata by catalog ID and DIM

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

catid:
required
string
The catalog ID of the required image.
dim:
required
string
The dimension of the desired image. Valid dimensions are 'small, medium, large and natres

Examples


Result Format


Documentation

This API call with a catalog ID (catID) and dimensions (dim) returns the bucket location with the thumbnail and the JSON file with metadata. Valid dimensions are: * small * medium * large * natres