Single Assets
Basic asset query
window.fetch('https://api.cmft.io/v1/<repo>/assets/<assetID>', {
method: 'get',
headers: {
'Content-Type': 'application/json',
'Authorization': '<apiKey>'
}
})
.then(function (response) { return response.json() })
.then(function (data) {
console.log(data)
})curl 'https://api.cmft.io/v1/<repo>/assets/<assetID>' \
-H 'Authorization: <apiKey>'https://api.cmft.io/v1/<repo>/assets/<assetID>?key=<apiKey>Response Shaping: Asset query with reduced fields
Asset query with localisation
Last updated