api-docs

ARS3D API - Documentation

GET list of objects

GET ars3d/rest/objects/

Description

returns a list of objects that matches a substring

Requires authentication

none

Parameters

Headers

Accept: application/json;charset=UTF-8

Accept-Encoding: * Accept-Encoding: gzip

Return format

JSONArray

Response

{
	"id": String,
	"uri": String,
	"label": String,
	"type": String,
	"thumbnail": String
}

Response Codes

Examples

GET object by ID

GET ars3d/rest/objects/:id

Description

returns a ARS3D object

Requires authentication

none

Parameters

Headers

Accept: application/json;charset=UTF-8

Accept-Encoding: * Accept-Encoding: gzip

Return format

JSONArray

Response

{
	"id": String,
	"uri": String,
	"label": String,
	"type": String,
	"date": String,
	"thumbnail": String,
	"period": String,
	"shape" : String,
	"arachne" : String,
	"arachneobj" : String,
	"condition_type" : String,
	"findspot" : String,
	"material" : String,
	"manufacturing_type" : String,
	"residence" : String
}

Response Codes

Examples

GET list of features

GET ars3d/rest/features/

Description

returns a list of features that belongs to an object

Requires authentication

none

Parameters

Headers

Accept: application/json;charset=UTF-8

Accept-Encoding: * Accept-Encoding: gzip

Return format

JSONArray

Response

{
	"features": [
		"f": String,
		"label": String,
		"typelabel": String,
		"manufacturinglabel": String,
		"date": String,
		"geom": String,
		"observations": []
	],
	"featuregroups": [],
	"interpretations": []
}

Response Codes

Examples

GET feature by ID

GET ars3d/rest/features/:id

Description

returns a ARS3D feature

Requires authentication

none

Parameters

Headers

Accept: application/json;charset=UTF-8

Accept-Encoding: * Accept-Encoding: gzip

Return format

JSONArray

Response

{
	"f": String,
	"label": String,
	"typelabel": String,
	"manufacturinglabel": String,
	"date": String,
	"geom": String,
	"observations": []
}

Response Codes

Examples

GET fixed values

GET ars3d/rest/fixedvalues/:id

Description

returns value list for a domain

Requires authentication

none

Parameters

Headers

Accept: application/json;charset=UTF-8

Accept-Encoding: * Accept-Encoding: gzip

Return format

JSONArray

Response

{
	"id: String,
	"label": String
}

Response Codes

Examples