External databases can link the content of this database into their own resources in realtime by using JSON based requests. Currently the following options are available:
| Request Header |
Request URL |
Response Type |
| HTTP GET |
http://www1.rgzm.de/rest/samianresearch/potters?param=value |
application/json;charset=UTF-8 |
| HTTP GET |
http://www1.rgzm.de/rest/samianresearch/potters/:id |
application/json;charset=UTF-8 |
| |
|
|
| |
request param |
value type |
| |
kilnsite |
string |
| |
|
|
| |
response columns |
value type |
| |
id |
integer |
| |
ac_uri |
string |
| |
pottername |
string |
| |
kilnsite |
string |
| |
date |
string |
| |
|
|
| |
examples: |
http://www1.rgzm.de/rest/samianresearch/potters?kilnsite=Lezoux |
| |
|
http://www1.rgzm.de/rest/samianresearch/potters/491 |
| |
|
|
| |
example response: |
|
| |
{
"COLUMNS": ["ID", "AC_URI", "POTTERNAME",
"KILNSITE", "DATE"], "DATA": [
[491, "http://data.archaeology.link/data/samian/ac_7000491", "Aquitanus", "La
Graufesenque", "AD 40-65"]
]
} |
| |
json.data[i][0] |
ID |
| |
json.data[i][1] |
AC_URI |
| |
json.data[i][2] |
POTTERNAME |
| |
json.data[i][3] |
KILNSITE |
| |
json.data[i][4] |
DATE |
| |
|
|
| Request Header |
Request URL |
Response Type |
| HTTP GET |
http://www1.rgzm.de/rest/samianresearch/stamprecords?param=value |
application/json;charset=UTF-8 |
| HTTP GET |
http://www1.rgzm.de/rest/samianresearch/stamprecords/:id |
application/json;charset=UTF-8 |
| |
|
|
| |
request param |
value type |
| |
site |
string |
| |
|
|
| |
response columns |
value type |
| |
id |
integer |
| |
ic_uri |
string |
| |
pottername |
string |
| |
productioncentre |
string |
| |
die |
string |
| |
potform |
string |
| |
slipcolour |
string |
| |
reading |
string |
| |
site |
string |
| |
findspot |
string |
| |
province |
string |
| |
coordinate1 |
double |
| |
coordinate2 |
double |
| |
repository |
string |
| |
musref |
string |
| |
date |
string |
| |
|
|
| |
|
|
| |
examples: |
http://www1.rgzm.de/rest/samianresearch/stamprecords?site=Mainz |
| |
|
http://www1.rgzm.de/rest/samianresearch/stamprecords/21715 |
| |
|
|
| |
example response: |
|
| |
{
"COLUMNS": ["ID", "IC_URI", "POTTERNAME",
"PRODUCTIONCENTRE", "DIE", "POTFORM", "SLIPCOLOUR",
"READING", "SITE", "FINDSPOT", "PROVINCE",
"COORDINATE1", "COORDINATE2", "REPOSITORY",
"MUSREF", "DATE"], "DATA": [
[21715, "http://data.archaeology.link/data/samian/ic_21715", "Aquitanus", "La
Graufesenque", "1a",
"15/17", null, "OF\uf70eAQVIT\uf529I", "Mainz", "fortress (Hospital)",
"Germania Superior", 50, 8.2791, "Landesmuseum (ex. Collection Fremersdorf)",
F2935, "AD 40-65"]
]
} |
| |
json.data[i][0] |
ID |
| |
json.data[i][1] |
IC_URI |
| |
json.data[i][2] |
POTTERNAME |
| |
json.data[i][3] |
PRODUCTIONCENTRE |
| |
json.data[i][4] |
DIE |
| |
json.data[i][5] |
POTFORM |
| |
json.data[i][6] |
SLIPCOLOUR |
| |
json.data[i][7] |
READING |
| |
json.data[i][8] |
SITE |
| |
json.data[i][9] |
FINDSPOT |
| |
json.data[i][10] |
PROVINCE |
| |
json.data[i][11] |
COORDINATE1 (latitude) |
| |
json.data[i][12] |
COORDINATE2 (longitude) |
| |
json.data[i][13] |
REPOSITORY |
| |
json.data[i][14] |
MUSREF |
| |
json.data[i][15] |
DATE |
| |
|
|
| Request Header |
Request URL |
Response Type |
| HTTP GET |
http://www1.rgzm.de/rest/samianresearch/potforms?param=value |
application/json;charset=UTF-8 |
| HTTP GET |
http://www1.rgzm.de/rest/samianresearch/potforms/:id |
application/json;charset=UTF-8 |
| |
|
|
| |
request param |
value type |
| |
simpleform |
string |
| |
lookupform |
string |
| |
|
|
| |
response columns |
value type |
| |
id |
integer |
| |
pf_uri |
string |
| |
lookupform |
string |
| |
simpleform |
string |
| |
potformattribute |
string |
| |
img |
string |
| |
|
|
| |
examples: |
http://www1.rgzm.de/rest/samianresearch/potforms?simpleform=Dish |
| |
|
http://www1.rgzm.de/rest/samianresearch/potforms?lookupform=15/17 |
| |
|
http://www1.rgzm.de/rest/samianresearch/potforms/2 |
| |
|
|
| |
example response: |
|
| |
{
"COLUMNS": ["ID", "PF_URI", "LOOKUPFORM",
"SIMPLEFORM", "POTFORMATTRIBUTE", "IMG"],
"DATA": [
[2, "15/17", "Dish Rouletted",
null, "http://www.rgzm.de/ips/forms/thumb/15_17.jpg"]
]
} |
| |
json.data[i][0] |
ID |
| |
json.data[i][1] |
PF_URI |
| |
json.data[i][2] |
LOOKUPFORM |
| |
json.data[i][3] |
SIMPLEFORM |
| |
json.data[i][4] |
POTFORMATTRIBUTE |
| |
json.data[i][5] |
IMG (link to online resource) |
| |
|
|
| |
|
|
| Request Header |
Request URL |
Response Type |
| HTTP GET |
http://www1.rgzm.de/rest/samianresearch/sites?param=value |
application/json;charset=UTF-8 |
| HTTP GET |
http://www1.rgzm.de/rest/samianresearch/sites/:id
|
application/json;charset=UTF-8 |
| |
|
|
| |
request param |
value type |
| |
potter |
string |
| |
potform |
string |
| |
|
|
| |
response colums |
value type |
| |
id |
integer |
| |
ds_uri |
string |
| |
label |
string |
| |
lat |
double |
| |
long |
double |
| |
wkt |
string |
| |
siteancientname |
string |
| |
wikidata |
string |
| |
pleiades |
integer |
| |
|
|
| |
examples: |
http://www1.rgzm.de/rest/samianresearch/sites?potter=Aquitanus |
| |
|
http://www1.rgzm.de/rest/samianresearch/sites?potform=15/17 |
| |
|
http://www1.rgzm.de/rest/samianresearch/sites/3419 |
| |
|
|
| |
example response: |
|
| |
{
"COLUMNS": ["ID", "DS_URI, "LABEL", "LAT", "LONG", "WKT", "SITEANCIENTNAME", "WIKIDATA", PLEIADES"],
"DATA": [
[3419, "http://data.archaeology.link/data/samian/loc_ds_1003419", "Corbridge", "-2.01798", "54.97365", "POINT(54.97365
-2.01798)","Coriosopitum/Coria","Q103159985",
"89152"]
]
} |
| |
json.data[i][0] |
ID |
| |
json.data[i][1] |
DS_URI |
| |
json.data[i][2] |
LABEL |
| |
json.data[i][3] |
LAT |
| |
json.data[i][4] |
LONG |
| |
json.data[i][5] |
WKT |
| |
json.data[i][6] |
SITEANCIENTNAME |
| |
json.data[i][7] |
WIKIDATA |
| |
json.data[i][8] |
PLEIADES |