This page explains how you read the content categoria.
A collection / array of elements
| Field | Value | Description |
|---|---|---|
| id | string | Object ID |
| title | string | Object title |
| description | string | The associated description |
| data_inserimento | string | The create date that follows the format Y-m-d H:i:sY(year) m(month) d(day) H(hours) i(minutes) s(seconds) |
| father | categoria | Un'oggetto di tipo categoria con i dati relativi al padre |
[
...
{
"id":"2",
"titolo":"Example title",
"descrizione":"Lorem ispum",
"data_inserimento":"2012-09-21 20:26:18",
"father": {
"id":"1",
"titolo":"Father title",
"descrizione":"Lorem ispum",
"data_inserimento":"2012-09-20 10:16:00",
"father" : null,
},
}
...
]
{resource-id}: the object ID
| Field | Value | Description |
|---|---|---|
| id | string | Object ID |
| title | string | Object title |
| description | string | The associated description |
| data_inserimento | string | The create date that follows the format Y-m-d H:i:sY(year) m(month) d(day) H(hours) i(minutes) s(seconds) |
| father | categoria | Un'oggetto di tipo categoria con i dati relativi al padre |
{
"id":"2",
"titolo":"Example title",
"descrizione":"Lorem ispum",
"data_inserimento":"2012-09-21 20:26:18",
"father": {
"id":"1",
"titolo":"Father title",
"descrizione":"Lorem ispum",
"data_inserimento":"2012-09-20 10:16:00",
"father" : null,
},
}
Note The option must be specified -G in the call with the curl command so that the search parameters are passed correctly
| Attribute | Value | Mandatory |
|---|---|---|
| search_string | A non-empty string that will be searched for in the title | NO |
| search_in_description | 1 if you want to also search in the description. 0 otherwise |
NO |
| search_date_min | Format DATETIME aaaa-mm-gg. Search for all objects starting from the specified date |
NO |
| search_date_max | Format DATETIME aaaa-mm-gg. Search for all objects up to the specified date |
NO |
| search_limit | Intero maggiore di 0. Restituisce n oggetti per la ricerca specificata. | NO |
| search_offset | Intero maggiore di 0. Restituisce gli oggetti a partire dal numero specificato. | NO |
A collection / array of elements
| Field | Value | Description |
|---|---|---|
| id | string | Object ID |
| title | string | Object title |
| description | string | The associated description |
| data_inserimento | string | The create date that follows the format Y-m-d H:i:sY(year) m(month) d(day) H(hours) i(minutes) s(seconds) |
| father | categoria | Un'oggetto di tipo categoria con i dati relativi al padre |
Note Cerca tutte le categorie che contengono nel titolo la stringa "title"
[
...
{
"id":"2",
"titolo":"Example title",
"descrizione":"Lorem ispum",
"data_inserimento":"2012-09-21 20:26:18",
"father": {
"id":"1",
"titolo":"Father title",
"descrizione":"Lorem ispum",
"data_inserimento":"2012-09-20 10:16:00",
"father" : null,
},
}
...
]