validate
Validate AGS4 File(s) and ZIP files containing AGS4 File(s)
Changed onValidate AGS4 file(s) to the AGS File Format v4.x rules and the NGDC data submission requirements. Uses the Offical AGS4 Python Library.
post/v7/validate/
Request
- Base URLhttps://agsapi.bgs.ac.uk (the document declares no server; this is the origin it was published from)
- URLhttps://agsapi.bgs.ac.uk/v7/validate/
- Authnone declared
Request body multipart/form-data
Response
Return a log in json or text
Example response
{
"msg": "Example response",
"type": "success",
"self": "http://example.com/apis/query",
"data": [
{
"filename": "example.ags",
"checkers": [
"python_ags4 v1.1.0"
],
"dictionary": "Standard_dictionary_v4_1_1.ags",
"time": "2021-08-18 09:23:29",
"message": "7 error(s) found in file!"
}
]
}Changes
- info
endpoint added
- info