List assets of type Weir

Query parameters:

organisation Filter by organisation. Supports lookups on uuid and name.

code Exact filter on the code field. The (case-sensitive) startswith lookup is also supported.

created: Temporal filter on created. Supports various lookup types (exact, lt, lte, gt, gte; created__exact by default). Filter values should be specified in ISO 8601 YYYY-MM-DDThh:mm:ssZ format.

last_modified: Temporal filter on last_modified. Supports various lookup types (exact, lt, lte, gt, gte; last_modified__exact by default). Filter values should be specified in ISO 8601 YYYY-MM-DDThh:mm:ssZ format.

geometry The following lookups are available: isnull, contained, contains, contains_properly, covered_by, covers, crosses, disjoint, equals, intersects, overlaps, and within. Query geometries can be supplied as WKT, EWKT or HEXEWKB.

boundary__id: Filter on geometry of the region/boundary with the id boundary__id. For a list of regions/boundaries, see the boundary endpoint /api/v4/boundaries/

boundary__code: Filter on geometry of the region/boundary with the id boundary__code. For a list of regions/boundaries, see the boundary endpoint /api/v4/boundaries/

boundary__type: Spatial filter on geometry, whereby geometry is specified by a region/boundary object (see below) and filter operator is ST_Intersects. Available types are COUNTRY, PROVINCE, WATER_BOARD, MUNICIPALITY, CATCHMENT, POLDER, FIXED_DRAINAGE_LEVEL_AREA, PUMPED_DRAINAGE_AREA, MAIN_PUMPED_DRAINAGE_AREA, DISTRICT, NEIGHBOURHOOD, CADASTRE, PLANTATION, FIELD, CITY, and CUSTOM

boundary__name: Filter on name of the region/boundary with the name boundary__name. Requires boundary__type. For a list of regions/boundaries, see the boundary endpoint /api/v4/boundaries/

simplify: Simplify the query geometries (in WGS84) using this value as tolerance. A higher value may result in a better response time for detailed geometries. Defaults to 0.00001 degrees (approx. 1 meter). NB: Returned geometries are unaffected.

page_size The number of results on a single page. Defaults to 10, maximum is 100. Note that pagination is disabled for the root endpoint: the response will be truncated to page_size.

Custom route: search

Full-text search in 'code' and 'name' fields. Results are ranked.

Examples:

?code=ABC_2123

?code__startswith=ABC

?created__gte=2017-01-01T00:00:00Z

?last_modified__lt=2018-01-01T00:00:00Z

?organisation__name__startswith=Nelen

?organisation__uuid=61f5a464-c350-44c1-9bc7-d4b42d7f58cb

?organisation__name__icontains=Schuur

?geometry__intersects=POINT (5 52)

?boundary__id=198

?boundary__code=NL_GM0344

?boundary__type=PROVINCE&boundary__name=Utrecht

/search/abc/
GET /api/v4/weirs/?format=api&page=294
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 3140,
    "next": "https://demo.lizard.net/api/v4/weirs/?format=api&page=295",
    "previous": "https://demo.lizard.net/api/v4/weirs/?format=api&page=293",
    "results": [
        {
            "url": "https://demo.lizard.net/api/v4/weirs/23043/?format=api",
            "id": 23043,
            "code": "H5030",
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/188a569b-f0ac-4e98-81db-499de07f7582/?format=api",
                "uuid": "188a569b-f0ac-4e98-81db-499de07f7582",
                "name": "Zuiderzeeland"
            },
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.4780279173788,
                    52.5523438823774,
                    0.0
                ]
            },
            "last_modified": "2020-10-23T11:04:10.120182Z",
            "created": "2020-07-08T08:56:12.631675Z",
            "image_url": "",
            "timeseries": [],
            "name": "Hevel Lelystad Noord",
            "type": "other",
            "crest_type": "sharp crested",
            "crest_width": null,
            "crest_level": null,
            "discharge_coeff": null,
            "lat_dis_coeff": null,
            "allowed_flow_direction": null,
            "controlled": 0,
            "angle": null,
            "comment": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/weirs/23044/?format=api",
            "id": 23044,
            "code": "H5020",
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/188a569b-f0ac-4e98-81db-499de07f7582/?format=api",
                "uuid": "188a569b-f0ac-4e98-81db-499de07f7582",
                "name": "Zuiderzeeland"
            },
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.69619246301158,
                    52.4783069163266,
                    0.0
                ]
            },
            "last_modified": "2020-07-08T08:56:12.660438Z",
            "created": "2020-07-08T08:56:12.660482Z",
            "image_url": "",
            "timeseries": [],
            "name": "Hevel Garnaaltocht",
            "type": "other",
            "crest_type": "sharp crested",
            "crest_width": null,
            "crest_level": null,
            "discharge_coeff": null,
            "lat_dis_coeff": null,
            "allowed_flow_direction": null,
            "controlled": 0,
            "angle": null,
            "comment": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/weirs/23045/?format=api",
            "id": 23045,
            "code": "H5000",
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/188a569b-f0ac-4e98-81db-499de07f7582/?format=api",
                "uuid": "188a569b-f0ac-4e98-81db-499de07f7582",
                "name": "Zuiderzeeland"
            },
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.6273558081983,
                    52.4252067969838,
                    0.0
                ]
            },
            "last_modified": "2020-07-08T08:56:12.695775Z",
            "created": "2020-07-08T08:56:12.695818Z",
            "image_url": "",
            "timeseries": [],
            "name": "Hevel Hoekwanttocht",
            "type": "other",
            "crest_type": "sharp crested",
            "crest_width": null,
            "crest_level": null,
            "discharge_coeff": null,
            "lat_dis_coeff": null,
            "allowed_flow_direction": null,
            "controlled": 0,
            "angle": null,
            "comment": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/weirs/23046/?format=api",
            "id": 23046,
            "code": "H5005",
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/188a569b-f0ac-4e98-81db-499de07f7582/?format=api",
                "uuid": "188a569b-f0ac-4e98-81db-499de07f7582",
                "name": "Zuiderzeeland"
            },
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.64908383578303,
                    52.4374466333804,
                    0.0
                ]
            },
            "last_modified": "2020-07-08T08:56:12.731711Z",
            "created": "2020-07-08T08:56:12.731754Z",
            "image_url": "",
            "timeseries": [],
            "name": "Hevel Kubbetocht",
            "type": "other",
            "crest_type": "sharp crested",
            "crest_width": null,
            "crest_level": null,
            "discharge_coeff": null,
            "lat_dis_coeff": null,
            "allowed_flow_direction": null,
            "controlled": 0,
            "angle": null,
            "comment": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/weirs/23047/?format=api",
            "id": 23047,
            "code": "H5025",
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/188a569b-f0ac-4e98-81db-499de07f7582/?format=api",
                "uuid": "188a569b-f0ac-4e98-81db-499de07f7582",
                "name": "Zuiderzeeland"
            },
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.72125276017186,
                    52.4988200937424,
                    0.0
                ]
            },
            "last_modified": "2020-07-08T08:56:12.764132Z",
            "created": "2020-07-08T08:56:12.764176Z",
            "image_url": "",
            "timeseries": [],
            "name": "Hevel Spieringtocht",
            "type": "other",
            "crest_type": "sharp crested",
            "crest_width": null,
            "crest_level": null,
            "discharge_coeff": null,
            "lat_dis_coeff": null,
            "allowed_flow_direction": null,
            "controlled": 0,
            "angle": null,
            "comment": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/weirs/23048/?format=api",
            "id": 23048,
            "code": "H5015",
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/188a569b-f0ac-4e98-81db-499de07f7582/?format=api",
                "uuid": "188a569b-f0ac-4e98-81db-499de07f7582",
                "name": "Zuiderzeeland"
            },
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.69203244037231,
                    52.459911420483,
                    0.0
                ]
            },
            "last_modified": "2020-07-08T08:56:12.793431Z",
            "created": "2020-07-08T08:56:12.793475Z",
            "image_url": "",
            "timeseries": [],
            "name": "Hevel Swiftertocht",
            "type": "other",
            "crest_type": "sharp crested",
            "crest_width": null,
            "crest_level": null,
            "discharge_coeff": null,
            "lat_dis_coeff": null,
            "allowed_flow_direction": null,
            "controlled": 0,
            "angle": null,
            "comment": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/weirs/23049/?format=api",
            "id": 23049,
            "code": "H5010",
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/188a569b-f0ac-4e98-81db-499de07f7582/?format=api",
                "uuid": "188a569b-f0ac-4e98-81db-499de07f7582",
                "name": "Zuiderzeeland"
            },
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.6698772957947,
                    52.4488758342631,
                    0.0
                ]
            },
            "last_modified": "2020-07-08T08:56:12.821510Z",
            "created": "2020-07-08T08:56:12.821552Z",
            "image_url": "",
            "timeseries": [],
            "name": "Hevel Zijdenettentocht",
            "type": "other",
            "crest_type": "sharp crested",
            "crest_width": null,
            "crest_level": null,
            "discharge_coeff": null,
            "lat_dis_coeff": null,
            "allowed_flow_direction": null,
            "controlled": 0,
            "angle": null,
            "comment": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/weirs/23050/?format=api",
            "id": 23050,
            "code": "IW4510",
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/188a569b-f0ac-4e98-81db-499de07f7582/?format=api",
                "uuid": "188a569b-f0ac-4e98-81db-499de07f7582",
                "name": "Zuiderzeeland"
            },
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.71672217659348,
                    52.8424424269023,
                    0.0
                ]
            },
            "last_modified": "2021-12-21T14:22:25.660599Z",
            "created": "2020-07-08T08:56:12.852528Z",
            "image_url": "",
            "timeseries": [
                "https://demo.lizard.net/api/v4/timeseries/6495f65c-00f7-451c-b8f8-69c0ca99c46c/?format=api",
                "https://demo.lizard.net/api/v4/timeseries/c833e955-8e88-4da0-b314-c9255e3e828a/?format=api",
                "https://demo.lizard.net/api/v4/timeseries/242725f4-63ef-4f21-a4e8-fb77440eb48c/?format=api",
                "https://demo.lizard.net/api/v4/timeseries/c61b5633-646b-4327-b196-336eb7097287/?format=api"
            ],
            "name": "Inlaatwerk Slump",
            "type": "inlet/outlet",
            "crest_type": "sharp crested",
            "crest_width": null,
            "crest_level": null,
            "discharge_coeff": null,
            "lat_dis_coeff": null,
            "allowed_flow_direction": null,
            "controlled": 0,
            "angle": null,
            "comment": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/weirs/23051/?format=api",
            "id": 23051,
            "code": "IW4560",
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/188a569b-f0ac-4e98-81db-499de07f7582/?format=api",
                "uuid": "188a569b-f0ac-4e98-81db-499de07f7582",
                "name": "Zuiderzeeland"
            },
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.84241095545239,
                    52.7847651865507,
                    0.0
                ]
            },
            "last_modified": "2024-03-27T06:00:18.438668Z",
            "created": "2020-07-08T08:56:12.882873Z",
            "image_url": "",
            "timeseries": [
                "https://demo.lizard.net/api/v4/timeseries/866c5044-4937-4e43-9620-984f1f35f6de/?format=api",
                "https://demo.lizard.net/api/v4/timeseries/8b497b8b-05ae-4aef-ae5d-fabbeb3627e6/?format=api",
                "https://demo.lizard.net/api/v4/timeseries/b504f40d-7dd5-4ecb-afb9-389e17b8385a/?format=api",
                "https://demo.lizard.net/api/v4/timeseries/24d2d885-1f13-4951-89f9-ba11fa7f873e/?format=api",
                "https://demo.lizard.net/api/v4/timeseries/28b48e92-1c32-4f56-8703-fa5b34879c57/?format=api",
                "https://demo.lizard.net/api/v4/timeseries/2aeba601-7a36-4865-8b98-8ac5f9973cc1/?format=api"
            ],
            "name": "Inlaatwerk Kuinre",
            "type": "inlet/outlet",
            "crest_type": "sharp crested",
            "crest_width": null,
            "crest_level": null,
            "discharge_coeff": null,
            "lat_dis_coeff": null,
            "allowed_flow_direction": null,
            "controlled": 0,
            "angle": null,
            "comment": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/weirs/23052/?format=api",
            "id": 23052,
            "code": "IW4520",
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/188a569b-f0ac-4e98-81db-499de07f7582/?format=api",
                "uuid": "188a569b-f0ac-4e98-81db-499de07f7582",
                "name": "Zuiderzeeland"
            },
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.7212794020539,
                    52.8444876794931,
                    0.0
                ]
            },
            "last_modified": "2021-12-21T14:22:50.473295Z",
            "created": "2020-07-08T08:56:12.912949Z",
            "image_url": "",
            "timeseries": [
                "https://demo.lizard.net/api/v4/timeseries/cba9075d-dd1c-4371-923d-451ccdaa61fb/?format=api",
                "https://demo.lizard.net/api/v4/timeseries/8c0fe5f5-510d-492d-8c18-78922df7f3cf/?format=api",
                "https://demo.lizard.net/api/v4/timeseries/078437b7-1ce1-466f-b843-d42919bb1a31/?format=api",
                "https://demo.lizard.net/api/v4/timeseries/e68cc580-3ff1-44b4-b02a-e18b83f12ef0/?format=api",
                "https://demo.lizard.net/api/v4/timeseries/795e4482-cb1b-422c-89ab-973a8287168a/?format=api",
                "https://demo.lizard.net/api/v4/timeseries/ebedce81-0157-4edf-bb44-ceff465dc90e/?format=api"
            ],
            "name": "Inlaatwerk t Hop Lemmer",
            "type": "inlet/outlet",
            "crest_type": "sharp crested",
            "crest_width": null,
            "crest_level": null,
            "discharge_coeff": null,
            "lat_dis_coeff": null,
            "allowed_flow_direction": null,
            "controlled": 0,
            "angle": null,
            "comment": null
        }
    ]
}