URI /RESTfm/{database}

Returns a pair of static links to "layout" and "script" resources. These links are always the same. Therefore this resource URI is not typically useful unless directly browsing in the HTML format. See URI /RESTfm/ for a query string parameter to return layout and script links directly.

Example URI and response

Database 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": [
        {
            "resource": "layout"
        },
        {
            "resource": "script"
        }
    ],
    "meta": [
        {
            "recordID": "auto.1",
            "href": "\/RESTfm\/postcodes\/layout.json"
        },
        {
            "recordID": "auto.2",
            "href": "\/RESTfm\/postcodes\/script.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"
    }
}