List the hubs the project's configuration declares
GET
/api/v1/projects/{projectId}/layouts/hubs
const url = 'https://app.avera.io/api/v1/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/layouts/hubs';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://app.avera.io/api/v1/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/layouts/hubsA hub exists where a stored layout declares its key and applies to the caller. The returned keys are listed beside the built-in hubs, and each one can be mounted as a hub page.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”projectId
required
string format: uuid
Responses
Section titled “Responses”OK
Media type*/*
Array<object>
object
key
required
string
name
required
string
description
string | null
icon
string | null