Endpoint for label types.

Query parameters

name Text filter on the name field. Supports the following lookups: exact and startswith.

description Text filter on the description field. Supports the following lookups: exact and startswith.

organisation__name: Related filter on organisation__name. Supports the following lookups: exact and startswith.

organisation__uuid: Related filter on organisation__uuid. Only support exact lookups.

object_type__model: Filter on the object type name of the labeled object (e.g. 'building')

access_modifier Filter on access_modifier, options are 'Public', 'Private', 'Common', or 'Hidden'.

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.

Examples

?name=Build year label

?name__startswith=Build

?description=Categorizes the building's build year

?description__startswith=Categorizes

?organisation__name__startswith=Nelen

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

?object_type__model=building

?access_modifier=Private

?access_modifier=100

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

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

Sub-endpoints

/labeltypes/{uuid}/compute/

/labeltypes/{uuid}/labels/

/labeltypes/{uuid}/labelparameters/

/labeltypes/{uuid}/template/

/labeltypes/{uuid}/visualise/
GET /api/v4/labeltypes/e23c58ea-ae39-41bf-9867-021a996034b8/?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/labeltypes/e23c58ea-ae39-41bf-9867-021a996034b8/?format=api",
    "uuid": "e23c58ea-ae39-41bf-9867-021a996034b8",
    "name": "floodlabel_uu",
    "description": "floodlabel uu",
    "organisation": {
        "url": "https://demo.lizard.net/api/v4/organisations/61f5a464-c350-44c1-9bc7-d4b42d7f58cb/?format=api",
        "uuid": "61f5a464-c350-44c1-9bc7-d4b42d7f58cb",
        "name": "Nelen & Schuurmans Consultancy"
    },
    "object_type": "building",
    "source": {
        "name": "SetSeriesBlock",
        "graph": {
            "Add_1": [
                "dask_geomodeling.geometry.field_operations.Add",
                "Add_2",
                "Classify_7"
            ],
            "Add_2": [
                "dask_geomodeling.geometry.field_operations.Add",
                "Add_3",
                10
            ],
            "Add_3": [
                "dask_geomodeling.geometry.field_operations.Add",
                "Classify_4",
                "Classify_6"
            ],
            "IsData_1": [
                "dask_geomodeling.raster.elemwise.IsData",
                "LizardRasterSource_2"
            ],
            "IsData_2": [
                "dask_geomodeling.raster.elemwise.IsData",
                "LizardRasterSource_3"
            ],
            "Classify_1": [
                "dask_geomodeling.geometry.field_operations.Classify",
                "Classify_4",
                [
                    5,
                    10,
                    15,
                    20
                ],
                [
                    "A",
                    "B",
                    "C",
                    "D",
                    "E"
                ],
                false
            ],
            "Classify_2": [
                "dask_geomodeling.geometry.field_operations.Classify",
                "Add_1",
                [
                    16,
                    32,
                    48,
                    64
                ],
                [
                    "A",
                    "B",
                    "C",
                    "D",
                    "E"
                ],
                false
            ],
            "Classify_3": [
                "dask_geomodeling.geometry.field_operations.Classify",
                "Classify_6",
                [
                    5,
                    10,
                    15,
                    20
                ],
                [
                    "A",
                    "B",
                    "C",
                    "D",
                    "E"
                ],
                false
            ],
            "Classify_4": [
                "dask_geomodeling.geometry.field_operations.Classify",
                "GetSeriesBlock_2",
                [
                    0.2,
                    0.5,
                    2,
                    5
                ],
                [
                    0,
                    5,
                    10,
                    15,
                    20
                ],
                false
            ],
            "Classify_5": [
                "dask_geomodeling.geometry.field_operations.Classify",
                "Classify_7",
                [
                    5,
                    10,
                    15,
                    20
                ],
                [
                    "A",
                    "B",
                    "C",
                    "D",
                    "E"
                ],
                false
            ],
            "Classify_6": [
                "dask_geomodeling.geometry.field_operations.Classify",
                "GetSeriesBlock_3",
                [
                    0.05,
                    0.1,
                    0.15,
                    0.2
                ],
                [
                    0,
                    5,
                    10,
                    15,
                    20
                ],
                false
            ],
            "Classify_7": [
                "dask_geomodeling.geometry.field_operations.Classify",
                "GetSeriesBlock_1",
                [
                    0.2,
                    0.4,
                    0.6,
                    0.8
                ],
                [
                    20,
                    15,
                    10,
                    5,
                    0
                ],
                false
            ],
            "FillNoData_1": [
                "dask_geomodeling.raster.elemwise.FillNoData",
                "IsData_1",
                "LizardRasterSource_2"
            ],
            "FillNoData_2": [
                "dask_geomodeling.raster.elemwise.FillNoData",
                "IsData_2",
                "LizardRasterSource_3"
            ],
            "GetSeriesBlock_1": [
                "dask_geomodeling.geometry.base.GetSeriesBlock",
                "AggregateRaster_1",
                "groundwater_max_value"
            ],
            "GetSeriesBlock_2": [
                "dask_geomodeling.geometry.base.GetSeriesBlock",
                "AggregateRaster_2",
                "fluvial_max_value"
            ],
            "GetSeriesBlock_3": [
                "dask_geomodeling.geometry.base.GetSeriesBlock",
                "AggregateRaster_3",
                "pluvial_max_value"
            ],
            "SetSeriesBlock": [
                "dask_geomodeling.geometry.base.SetSeriesBlock",
                "GeoDjangoSource",
                "label",
                "Classify_2",
                "label_value",
                "Classify_2",
                "label_score",
                "Add_1",
                "fluvial_value",
                "GetSeriesBlock_2",
                "fluvial_score",
                "Classify_4",
                "fluvial_label",
                "Classify_1",
                "pluvial_value",
                "GetSeriesBlock_3",
                "pluvial_score",
                "Classify_6",
                "pluvial_label",
                "Classify_3",
                "groundwater_value",
                "GetSeriesBlock_1",
                "groundwater_score",
                "Classify_7",
                "groundwater_label",
                "Classify_5",
                "sewage_score",
                10,
                "sewage_label",
                "C"
            ],
            "AggregateRaster_1": [
                "dask_geomodeling.geometry.aggregate.AggregateRaster",
                "GeoDjangoSource",
                "LizardRasterSource_1",
                "max",
                "epsg:28992",
                1.0,
                null,
                "groundwater_max_value",
                false
            ],
            "AggregateRaster_2": [
                "dask_geomodeling.geometry.aggregate.AggregateRaster",
                "GeoDjangoSource",
                "FillNoData_2",
                "max",
                "epsg:28992",
                1.0,
                null,
                "fluvial_max_value",
                false
            ],
            "AggregateRaster_3": [
                "dask_geomodeling.geometry.aggregate.AggregateRaster",
                "GeoDjangoSource",
                "FillNoData_1",
                "max",
                "epsg:28992",
                1.0,
                null,
                "pluvial_max_value",
                false
            ],
            "GeoDjangoSource": [
                "django_geoblocks.blocks.sources.GeoDjangoSource",
                "hydra_core",
                "building",
                {
                    "id": "object_id",
                    "code": "building_BAG_code"
                },
                "geometry",
                "start",
                "end",
                {
                    "organisation__in": [
                        387,
                        388,
                        10,
                        280,
                        426,
                        434,
                        51,
                        439,
                        440,
                        314,
                        444,
                        446,
                        64,
                        449,
                        456,
                        77,
                        464,
                        81,
                        339,
                        469,
                        341,
                        474,
                        477,
                        356,
                        357,
                        359,
                        369,
                        118,
                        124
                    ]
                }
            ],
            "RasterStoreSource": [
                "lizard_nxt.blocks.LizardRasterSource",
                "3ed224ef-649e-4c64-aceb-1f910d38d192"
            ],
            "LizardRasterSource_1": [
                "lizard_nxt.blocks.LizardRasterSource",
                "7c22757b-9039-44ae-987d-b2da7d9f335a"
            ],
            "LizardRasterSource_2": [
                "dask_geomodeling.raster.misc.Reclassify",
                "RasterStoreSource",
                [
                    [
                        1,
                        0.075
                    ],
                    [
                        2,
                        0.125
                    ],
                    [
                        3,
                        0.175
                    ],
                    [
                        4,
                        0.15
                    ],
                    [
                        5,
                        0.3
                    ]
                ],
                true
            ],
            "LizardRasterSource_3": [
                "lizard_nxt.blocks.LizardRasterSource",
                "cbbb5c26-0720-48e4-a58d-d56bfbc4eb71"
            ]
        }
    },
    "access_modifier": "Public",
    "last_modified": "2019-12-10T11:07:06.871752Z",
    "created": "2019-07-19T09:53:12.150550Z"
}