{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/maps","auth":"required","method":"post","params":[{"name":"title","type":"string","default":"","desc":"title of the map","required":false,"in":"body","ref":"","_id":"55fb3967a62ba1170021aa18"},{"name":"description","type":"string","default":"","desc":"Description of the map.","required":false,"in":"body","ref":"","_id":"55fb3967a62ba1170021aa17"},{"name":"map","type":"file","default":"","desc":"The map file itself","required":false,"in":"body","ref":"","_id":"55fb3967a62ba1170021aa16"}],"results":{"codes":[{"status":200,"language":"json","code":"{\n  \"url\": \"https://biggerplate.com/MapId/map-title\"\n}","name":""},{"status":400,"language":"json","code":"{\n  \"code\": 400,\n  \"error\": \"error\",\n  \"error_description\": \"'title' and 'description' required in post body.\"\n}","name":""},{"status":500,"language":"json","code":"{\n  \"code\": 0,\n  \"error\": \"error\",\n  \"error_description\": \"Unable to upload map, please try again later.\"\n}"}]},"settings":"","examples":{"codes":[{"language":"shell","name":"","code":"curl -i -F title=TITLE -F description=DESCRIPTION -F map=:::at:::map.zip -H \"Authorization: Bearer <ACCESS_TOKEN>\" https://api.biggerplate.com/maps"}]}},"next":{"description":"","pages":[]},"title":"/maps","type":"endpoint","slug":"maps-1","excerpt":"Upload a map file","body":"","updates":[],"order":1,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"55fb3967a62ba1170021aa15","__v":0,"editedParams2":true,"githubsync":"","version":{"version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":true,"is_hidden":false,"is_deprecated":false,"categories":["55eedd1b08f9423700896e69","55eedf54d6e2c62b001ac0f5","55eedf63b97ce63700d0592a","55ef11c0c2c70e23001077ec","55ef1ac37c751f0d007ff7d3","55ef1ae78eb7ae0d00feeb5d","55ef1b44e7f5490d000c0e38","55ef1b552eaf2917007d6b46","55ef40ed7c751f0d007ff839","55f0391f8563861700a33771","55fb3d4aa62ba1170021aa20"],"_id":"55eedd1b08f9423700896e68","project":"55eedd1a08f9423700896e65","createdAt":"2015-09-08T13:05:31.033Z","releaseDate":"2015-09-08T13:05:31.033Z","__v":11},"category":{"sync":{"isSync":false,"url":""},"pages":["55f039618563861700a33773","55f03c3bcfb3fe2d004e0ff0","55f0420b35803d230000a9be","55fb3967a62ba1170021aa15","55fb3b1341747c210075b2ca","56321112fa40240d007c8d08"],"title":"Maps API","slug":"maps-api","order":1,"from_sync":false,"reference":false,"_id":"55f0391f8563861700a33771","project":"55eedd1a08f9423700896e65","__v":6,"version":"55eedd1b08f9423700896e68","createdAt":"2015-09-09T13:50:23.244Z"},"createdAt":"2015-09-17T22:06:31.915Z","editedParams":true,"project":"55eedd1a08f9423700896e65","user":"55eedd0b08f9423700896e64"}

post/maps

Upload a map file

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

title:
string
title of the map
description:
string
Description of the map.
map:
file
The map file itself

Examples


Result Format