URI /RESTfm/{database}/layout Read - GET

URI /RESTfm/{database}/layout

This is the RESTfm 'database-layout level' URI. It provides a list of available layout resources.

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

Example URI and response

{
    "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"
    }
}
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us