HXL

get hxl

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

OK

application/json
get
/api/v3/hxl

get hxl metadata

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
orderbystringOptional

Sorting parameter Available values : entity fields Default value : id

Example: id
orderstringOptional

Sorting parameter Available values : [ASC,DESC] Default value : ASC

Example: asc
limitinteger · int32Optional

Paging parameter Default value : null

Example: 2
offsetinteger · int32Optional

Paging parameter Default value : 0

Example: 3
namestringOptional
codestringOptional
Responses
200

OK

application/json
get
/api/v3/hxl/metadata

add hxl metadata

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

Request Body

Name
Type
Description

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

get hxl licenses

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
orderbystringOptional

Sorting parameter Available values : entity fields Default value : id

Example: id
orderstringOptional

Sorting parameter Available values : [ASC,DESC] Default value : ASC

Example: asc
limitinteger · int32Optional

Paging parameter Default value : null

Example: 2
offsetinteger · int32Optional

Paging parameter Default value : 0

Example: 3
namestringOptional

Filter Parameter check the name

Example: test name
codestringOptional

Filter Parameter check the code

Example: cc-by-igo
Responses
200

OK

application/json
get
/api/v3/hxl/licenses

get hxl tags

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
orderbystringOptional

Sorting parameter Available values : entity fields Default value : id

Example: id
orderstringOptional

Sorting parameter Available values : [ASC,DESC] Default value : ASC

Example: asc
limitinteger · int32Optional

Paging parameter Default value : null

Example: 2
offsetinteger · int32Optional

Paging parameter Default value : 0

Example: 3
Responses
200

OK

application/json
get
/api/v3/hxl/tags

get hxl organisations

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
orderbystringOptional

Sorting parameter Available values : entity fields Default value : id

Example: id
orderstringOptional

Sorting parameter Available values : [ASC,DESC] Default value : ASC

Example: asc
limitinteger · int32Optional

Paging parameter Default value : null

Example: 2
offsetinteger · int32Optional

Paging parameter Default value : 0

Example: 3
Responses
get
/api/v3/hxl/organisations
401

Unauthorized