List assets of type PressurePipe

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/pressurepipes/6490/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "https://demo.lizard.net/api/v4/pressurepipes/6490/?format=api",
    "id": 6490,
    "code": "PL_253",
    "organisation": {
        "url": "https://demo.lizard.net/api/v4/organisations/474afd21-2f2e-4b4f-8261-5142f1d67acb/?format=api",
        "uuid": "474afd21-2f2e-4b4f-8261-5142f1d67acb",
        "name": "Hoogheemraadschap Hollands Noorderkwartier"
    },
    "geometry": {
        "type": "LineString",
        "coordinates": [
            [
                4.940686283492473,
                52.63203886765913,
                0.0
            ],
            [
                4.940669343127028,
                52.63203431944831,
                0.0
            ],
            [
                4.940573602749023,
                52.63200331364018,
                0.0
            ],
            [
                4.94024737805895,
                52.63190103615988,
                0.0
            ],
            [
                4.939922327944847,
                52.63179815106884,
                0.0
            ],
            [
                4.939572615005372,
                52.63168917779964,
                0.0
            ],
            [
                4.939539796896373,
                52.631678763943285,
                0.0
            ],
            [
                4.939441696232883,
                52.63164761352291,
                0.0
            ],
            [
                4.939141284859442,
                52.63155223347164,
                0.0
            ],
            [
                4.938803984872153,
                52.63144599186144,
                0.0
            ],
            [
                4.93856834942079,
                52.63137051852955,
                0.0
            ],
            [
                4.938478289400274,
                52.63134186911669,
                0.0
            ],
            [
                4.938428506073914,
                52.63132654684315,
                0.0
            ],
            [
                4.938423249468494,
                52.63132492728754,
                0.0
            ],
            [
                4.93834689842274,
                52.631301910546036,
                0.0
            ],
            [
                4.938323168082995,
                52.63129407402497,
                0.0
            ],
            [
                4.938215601138008,
                52.63125858199522,
                0.0
            ],
            [
                4.938190074858422,
                52.63125015449986,
                0.0
            ],
            [
                4.937692164028755,
                52.63109186054754,
                0.0
            ],
            [
                4.937482676603616,
                52.63102646863953,
                0.0
            ],
            [
                4.937383837326171,
                52.63099561029102,
                0.0
            ],
            [
                4.937175513968297,
                52.63093058172816,
                0.0
            ],
            [
                4.936665153911707,
                52.63076844373779,
                0.0
            ],
            [
                4.936161882826082,
                52.63061107565674,
                0.0
            ],
            [
                4.935656745811717,
                52.630450211320905,
                0.0
            ],
            [
                4.93511120881706,
                52.630278514459995,
                0.0
            ],
            [
                4.934849935211244,
                52.63019534205691,
                0.0
            ],
            [
                4.93481229086002,
                52.630183353743696,
                0.0
            ],
            [
                4.93458225858569,
                52.630110122587475,
                0.0
            ],
            [
                4.934248818728895,
                52.63000551831449,
                0.0
            ],
            [
                4.934179209942831,
                52.62998368390625,
                0.0
            ],
            [
                4.934065624758525,
                52.629948048328615,
                0.0
            ],
            [
                4.933593200530237,
                52.62980042109455,
                0.0
            ],
            [
                4.93301439470506,
                52.62961803667131,
                0.0
            ],
            [
                4.932513448678622,
                52.62945830726998,
                0.0
            ],
            [
                4.932002745408787,
                52.62929837661768,
                0.0
            ],
            [
                4.931945330069738,
                52.629280245352916,
                0.0
            ],
            [
                4.931889799214916,
                52.62926270544304,
                0.0
            ],
            [
                4.931463175904767,
                52.629127952926595,
                0.0
            ],
            [
                4.930981229336433,
                52.62897590198006,
                0.0
            ],
            [
                4.930569677895824,
                52.62884816013767,
                0.0
            ],
            [
                4.930446686969492,
                52.6288099865176,
                0.0
            ],
            [
                4.930407834584004,
                52.628797929248016,
                0.0
            ],
            [
                4.929899306137565,
                52.62863200339894,
                0.0
            ],
            [
                4.929369405418468,
                52.628465076369714,
                0.0
            ],
            [
                4.929165473361354,
                52.62839761504786,
                0.0
            ],
            [
                4.929103875768642,
                52.628379942609016,
                0.0
            ],
            [
                4.928826903548446,
                52.62829737041931,
                0.0
            ],
            [
                4.92848450719633,
                52.62821298141518,
                0.0
            ],
            [
                4.928435961671244,
                52.62820285429109,
                0.0
            ],
            [
                4.928330538477288,
                52.62818139050583,
                0.0
            ],
            [
                4.928279322331576,
                52.62817243033088,
                0.0
            ],
            [
                4.928199941196743,
                52.6281591643933,
                0.0
            ],
            [
                4.928195547347285,
                52.628158446430696,
                0.0
            ],
            [
                4.92818770242766,
                52.62815724781149,
                0.0
            ]
        ]
    },
    "last_modified": "2019-06-25T07:26:58.971073Z",
    "created": "2014-10-22T10:29:04.077300Z",
    "image_url": "",
    "length": null,
    "name": "",
    "type": "transport",
    "material": "",
    "diameter": null,
    "shape": "",
    "year_of_construction": null
}