I am trying to update my existing tileset with new data. In postman, I sucessfully send the following;
https://api.mapbox.com/tilesets/v1/sources/{{usermame}}/testing?access_token={{admin-access-token}}
In the body, I have added a new line delimited geojson, as required, with the following key/value pair;
key: file
value: file_nd.geojson
As a reply I get the following;
status: ok
{
"id": "mapbox://tileset-source/{{username}}/testing",
"files": 1,
"source_size": 1131168,
"file_size": 1131168
}
When I go to the tileset tab on the mapbox website, the modified time does not change and the data is not updated. I did notice though that if I look at tileset sources in postman using the following;
https://api.mapbox.com/tilesets/v1/sources/{{username}}?access_token={{admin-access-token}}
This is returned;
{
"id": "mapbox://tileset-source/{{username}}/testing",
"size": 1131168,
"files": 1
},
So I am guessing that it has not yet been converted to a tileset. I cannot see in the documentation how to trigger the conversion via the API. Any help appreciated.