List the metamodels whose models have a data schema
GET
/data-schema-bindings
const url = 'https://api.modeldesk.io/data-schema-bindings';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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://api.modeldesk.io/data-schema-bindings \ --header 'Authorization: Bearer <token>'Lists the metamodels a data-schema binding reads. Only a model of one of them has a data schema, so only its types can be kept as datasets; a client offers a model’s datasets only there.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”OK
Media typeapplication/json
object
metamodelIds
required
Array<string>
Example generated
{ "metamodelIds": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ]}