Upload plot observations
Changed onRequest
- Base URLhttps://api.vegbank.org
- AuthOAuth 2Authorization codehttps://api.vegbank.org/loginToken URLhttps://api.vegbank.org/loginScopesvegbank:contributor
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
If true, validates and previews the upload without persisting any data. The response will be wrapped in a dry_run_data envelope.
Request body multipart/form-data
Response
Upload accepted. When dry_run=false (default), returns an upload summary. When dry_run=true, the same summary is nested under dry_run_data and the data is not actually inserted into VegBank.
Example response
{
"counts": {
"xx": {
"inserted": 1
},
"yy": {
"inserted": 2
},
"ds": {
"inserted": 1
}
},
"resources": {
"xx": [
{
"action": "INSERT",
"user_xx_code": "my_xx_code",
"vb_xx_code": "xx.123"
}
],
"yy": [
{
"action": "INSERT",
"user_yy_code": "my_yy_code_1",
"vb_yy_code": "yy.123"
}
],
"ds": [
{
"action": "INSERT",
"user_ds_code": "upload_dataset_20260325110254",
"vb_ds_code": "ds.123"
}
]
}
}Changes
- breaking
added the new required request property
- breaking
request body became required
- breaking
the request's body type changed from
arraytoobject - breaking
added
subschema #2: DryRunSummaryto the response bodyoneOflist for the response status - breaking
the response's body type changed from
arrayto no type for status - info
added the new optional
queryrequest parameterdry_run - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- breaking
- breaking
the
request property type changed from no type toobject - info
the endpoint scheme security
oauth2was added to the API
- breaking