Tileset API
MapTiler’s Tileset API allows you to manage your uploaded data via API. You can update the metadata, delete unwanted maps from your account, and much more.
List tilesets belonging to your account
GET https://service.maptiler.com/v1/tiles
Request
You must include an Service Token with every API request
Query Parameters
| Parameters | Type | Description |
|---|---|---|
| cursor | string <byte> |
Page cursor
|
| limit | integer |
Page limit
>= 10<= 100Default: 50 |
Responses
| Code | Content | Description |
|---|---|---|
| 200 | application/json | TilesetPage |
Get tileset details
GET https://service.maptiler.com/v1/tiles/{document_id}
Request
You must include an Service Token with every API request
Path Parameters
| Parameters | Type | Description |
|---|---|---|
| document_id | string <uuid> |
|
Responses
| Code | Content | Description |
|---|---|---|
| 200 | application/json | Tileset |
Delete tileset
DELETE https://service.maptiler.com/v1/tiles/{document_id}
Request
You must include an Service Token with every API request
Path Parameters
| Parameters | Type | Description |
|---|---|---|
| document_id | string <uuid> |
|
Responses
| Code | Content | Description |
|---|---|---|
| 200 |
Resource marked for deletion. |
Change tileset metadata
POST https://service.maptiler.com/v1/tiles/{document_id}/change_metadata
Request
You must include an Service Token with every API request
Path Parameters
| Parameters | Type | Description |
|---|---|---|
| document_id | string <uuid> |
|
Body
| Content-Type | Data | application/json |
|---|
Responses
| Code | Content | Description |
|---|---|---|
| 200 | application/json | Tileset |
TilesetPage
| Property | Type | Description |
|---|---|---|
| cursor | string <byte> or null | |
| items | array[Tileset ] |
Tileset
| Property | Type | Description |
|---|---|---|
| id | string <uuid> | |
| title | string | |
| description | string | |
| attribution | string |
TilesetMetadataChange
| Property | Type | Description |
|---|---|---|
| title | string | |
| description | string | |
| attribution | string |
Using the OpenAPI Specification?
Get the openapi.yaml
On this page