Collections
Fetching Collections
window.fetch('https://api.cmft.io/v1/<repo>/collections/<collection>', {
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>/<collection>' \
-H 'Authorization: <apiKey>'https://api.cmft.io/v1/<repo>/collections/<collection>?key=<apiKey>Sample Request
Query Parameters
Name
Type
Description
Response Shaping
Sample Request
Path Parameters
Name
Type
Description
Reduced scopes
Sample Request
Path Parameters
Name
Type
Description
Reduced fields for relations
The parameter explained
Sample Request
Path Parameters
Name
Type
Description
Applying filters to collection queries
Filter by checkbox state
Sample Request
Path Parameters
Name
Type
Description
Collection queries with localisation
Sample Request
Path Parameters
Name
Type
Description
Query all Languages
Sample Request
Path Parameters
Name
Type
Description
Last updated