This article provides an overview of the new API intended for uploading of tilesets.
Overview
If you want to change metadata of already created tilesets, add new ones, or delete them, you can now do so without opening a browser. The new API can be accessed at https://service.maptiler.com/v1
. The API specification for it is located at MapTiler API Documentation Page.
All of the requests to the API have to be authorized using your personal token that can be obtained in the administration of your account.
Getting the token
Navigate to the “Credentials“ section of your account administration and create new credentials if you have not done so yet.
After creating the credentials you will be able to copy the token:
Using the API
There are numerous ways to send your requests to the API, whether you a fan of API clients or go with the good old curl, don’t forget to set the Authorization
header in the form of Token {YOUR_TOKEN}
, so we know it's you who are making the requests. To make your life easier we have also created a CLI utility to upload the tilesets, more on that in the MapTiler Documentation.
Limitations
The standard storage limits from price plans apply to the API.
Comments
0 comments
Please sign in to leave a comment.