API Class Definition
Get class info
Chiamata per ottenere lo schema della classe fornita.
GET/api/rest/{class_name}/info
Permessi Ruolo o Utente
- Permesso generale per accesso alla risorsa:
Classes - Permesso per l'accesso al tipo di dataobject:
{class_name}
Headers: Autenticazione
Path Params
| Nome | Descrizione |
|---|---|
class_name | Classe del dataobject richiesto (es: Product) |
Body Response
{
"data": {
"name": "Product",
"fields": [
{
"key": "sku",
"name": "sku",
"title": "Sku",
"type": "input",
"mandatory": true,
"isRelation": false
},
{
"key": "price_EUR",
"name": "price_EUR",
"title": "Price EUR",
"type": "numeric",
"mandatory": false,
"isRelation": false
}
],
"localizedFields": [
{
"key": "name",
"name": "name",
"title": "Product Name",
"type": "input",
"mandatory": false,
"isRelation": false
},
{
"key": "description",
"name": "description",
"title": "Description",
"type": "wysiwyg",
"mandatory": false,
"isRelation": false
},
{
"key": "color",
"name": "color",
"title": "Color",
"type": "input",
"mandatory": false,
"isRelation": false
}
]
},
"errors": [],
"hasErrors": false
}