Sorry, no results found for "".
Returns an array of resource objects of type fieldset.
GET https://site-api.datocms.com/item-types/:model_id_or_api_key/fieldsets HTTP/1.1Authorization: Bearer YOUR-API-TOKENAccept: application/jsonX-Api-Version: 3
curl -g 'https://site-api.datocms.com/item-types/:model_id_or_api_key/fieldsets' \ \ -H "Authorization: Bearer YOUR-API-TOKEN" \ -H "Accept: application/json" \ -H "X-Api-Version: 3"
await fetch( "https://site-api.datocms.com/item-types/:model_id_or_api_key/fieldsets", { headers: { Authorization: "Bearer YOUR-API-TOKEN", Accept: "application/json", "X-Api-Version": "3", }, },);
HTTP/1.1 200 OKContent-Type: application/jsonCache-Control: cache-control: max-age=0, private, must-revalidateX-RateLimit-Limit: 30X-RateLimit-Remaining: 28
{ "data": [ { "type": "fieldset", "id": "93Y1C2sySkG4Eg0atBRIwg", "attributes": { "title": "SEO-related fields", "hint": "Please fill in these fields!", "position": 1, "collapsible": true, "start_collapsed": false }, "relationships": { "item_type": { "data": { "type": "item_type", "id": "DxMaW10UQiCmZcuuA-IkkA" } } } } ]}