HXL

add hxl metadata

POST https://ushahididocs.api.ushahidi.io/api/v3/hxl/metadata

Request Body

NameTypeDescription

organisation_name

String

The organisation name

organisation_id

String

The organisations identifier

license_id

Integer

Lincense identifier

dataset_title

String

The title of the dataset

private

Boolean

Set True if you want metadata to be private and false if you don't

user_id

Integer

The user identifier

source

String

Metadata source

{
    "id": 5,
    "url": "http://localhost:8000/api/v3/hxl_meta_data/5",
    "user": {
        "id": 2,
        "url": "http://localhost:8000/api/v3/users/2"
    },
    "private": true,
    "dataset_title": "ushahidi-dataset",
    "license_id": 1,
    "organisation_id": "ushahidi-org-id",
    "organisation_name": "ushahidi",
    "source": "other",
    "created": "1970-01-01T00:00:00+00:00",
    "updated": null,
    "allowed_privileges": [
        "read",
        "create",
        "update",
        "delete",
        "search"
    ]
}