URI /RESTfm/

Returns a list of available databases.

Optional query string parameters

RFMlink=layout|script Return a href URI that skips directly to layout or script. By default the link returned goes to the database static page with separate layout and script links (to maintain the REST URI hierarchy).

Example URIs and responses

Root URI - JSON

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
    "data": [
        {
            "database": "postcodes"
        }
    ],
    "meta": [
        {
            "recordID": "auto.1",
            "href": "\/RESTfm\/postcodes.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"
    }
}

Root URI RFMlink=layout - JSON

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
    "data": [
        {
            "database": "postcodes"
        }
    ],
    "meta": [
        {
            "recordID": "auto.1",
            "href": "\/RESTfm\/postcodes\/layout.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"
    }
}