URI /RESTfm/{database}/layout

Returns a list of available layouts for given {database}.

Example URI and response

Database-Layout URI - JSON

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
    "data": [
        {
            "layout": "brief postcodes"
        },
        {
            "layout": "full postcodes"
        }
    ],
    "meta": [
        {
            "recordID": "auto.1",
            "href": "\/RESTfm\/postcodes\/layout\/brief%20postcodes.json"
        },
        {
            "recordID": "auto.2",
            "href": "\/RESTfm\/postcodes\/layout\/full%20postcodes.json"
        }
    ],
    "info": {
        "X-RESTfm-Version": "2.0.1\/r280",
        "X-RESTfm-Protocol": "4",
        "X-RESTfm-Status": 200,
        "X-RESTfm-Reason": "OK",
        "X-RESTfm-Method": "GET"
    }
}