api-docs

re3dragon API - Documentation

GET remote item

GET re3dragon/rest/item/

Description

returns a resolved remote item as JSKOS

Requires authentication

none

Parameters

Headers

Accept: application/json;charset=UTF-8

Accept-Encoding: * Accept-Encoding: gzip

Return format

JSONArray

Response

{
	"uri": String,
	"displayLabel.en": String,
	"displayDesc.en": String,
	"prefLabel": {},
	"scopeNote": {},
	"broader": [],
	"narrower": [],
}

Response Codes

Examples

GET re3dragon/rest/search/

Description

returns resolved remote items as JSKOS

Requires authentication

none

Parameters

Headers

Accept: application/json;charset=UTF-8

Accept-Encoding: * Accept-Encoding: gzip

Return format

JSONArray

Response

{
	"uri": String,
	"displayLabel.en": String,
	"displayDesc.en": String,
	"prefLabel": {},
	"scopeNote": {},
	"broader": [],
	"narrower": [],
	"similarity": {}
}

Response Codes

Examples

GET remote item by ids

GET re3dragon/rest/items/

Description

returns resolved remote items as JSKOS

Requires authentication

none

Parameters

Headers

Accept: application/json;charset=UTF-8

Accept-Encoding: * Accept-Encoding: gzip

Return format

JSONArray

Response

{
	[
		"uri": String,
		"displayLabel.en": String,
		"displayDesc.en": String,
		"prefLabel": {},
		"scopeNote": {},
		"broader": [],
		"narrower": []
	], []
}

Response Codes

Examples

GET draon lairs

GET re3dragon/rest/lairs/

Description

returns dragon lairs

Requires authentication

none

Parameters

none

Headers

Accept: application/json;charset=UTF-8

Accept-Encoding: * Accept-Encoding: gzip

Return format

JSONArray

Response

{
	[
		"id": String,
		"type": String,
		"scheme": String,
		"legaltype": String,
		"wikidata": String,
		"quality": String,
		"group": String
	], []
}

Response Codes

Examples