World Soil Museum API

Monoliths:

[GET] /

HTTP 200: text/html: Website API documentation site

[GET] /monoliths/

HTTP 200: application/json: ["50per", "20_200", "40_400", "10per", "80_800", "1per", "test_tags", "original"]
Note: It returns the sub folder that can be used e.g ./monoliths/50per or ./monoliths/20_200

[GET] /monoliths/{50per,20_200..}/{jpg,png,tif}

HTTP 200: application/json: [["NL-037-def.50per.png", "DE-002-def.50per.png", "ZM-009-def.50per.png",....]]
Note: Returns ALL available picture as filename

Filters:

[GET] /monoliths/{50per,20_200..}/{jpg...}?country=[country 2 Letter code]*

HTTP 200: application/json:

Note: Returns file list based on country, the variable can pass multiple arguments separated by a coma (* on the notation)

[GET] /monoliths/{50per,20_200..}/{jpg...}?limit=[integer]

HTTP 200: application/json:

Note: Limits the returned number of files

Note2: monoliths/1per/tif?limit=10 will give ["NO-003-def.1per.tif", "NL-011-def.1per.tif"]

Note3: The returned files are randomized (this may need to be changed)

[GET] /monoliths/{50per,20_200..}/{jpg...}?extra=True

HTTP 200: application/json:

Note: Returns a full description of file

The presence of extra is enough to apply the filter (?extra)

[{"ID-027-def.1per.png": {"profile_id": 69917, "publication_year": 2006, "classification": "Andosols"}}]

[GET] /monoliths/{50per,20_200..}/{jpg...}?extra=True

HTTP 200: application/json:

Note: Returns a full description of file

The presence of extra is enough to apply the filter (?extra)

[{"ID-027-def.1per.png": {"profile_id": 69917, "publication_year": 2006, "classification": "Andosols"}}]