Upload plant concepts
Query parameters
If true, validates and previews the upload without persisting any data. The response will be wrapped in a dry_run_data envelope.
Which existing concepts to deactivate in VegBank by setting their status stop date to now:
- none: Don't dactivate any concepts
- by_party: Deactivate all concepts associated with any party linked to concepts in the uploaded data
- by_party_below_order: Like by_party, but only for concepts at Family level and below
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
Changed in 8 of the 50 revisions of this API.8315
- ▲
added the new required request property
plant_conceptsnew-required-request-property
- ▲
request body became required
request-body-became-required
- ▲
the request's body type/format changed from
array/toobject/request-body-type-changed
- ▲
added
UploadSummarysubschema #2: DryRunSummaryto the response bodyoneOflist for the response status200response-body-one-of-added
- ▲
the response's body type/format changed from
array/to/for status200response-body-type-changed
- ○
added the new optional
queryrequest parameterdeactivationnew-optional-request-parameter
- ○
added the new optional
queryrequest parameterdry_runnew-optional-request-parameter
- ○
added the new optional request property
partiesnew-optional-request-property
- ○
added the new optional request property
plant_correlationsnew-optional-request-property
- ○
added the new optional request property
plant_namesnew-optional-request-property
- ○
added the new optional request property
referencesnew-optional-request-property
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
items/request property type/format changed from/toobject/request-property-type-changed
- ○
the endpoint scheme security
oauth2was added to the APIapi-security-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
the endpoint scheme security
oauth2was removed from the APIapi-security-removed
- ○
the
items/request property type/format was generalized fromobject/to/request-property-type-generalized
This revision also has 37 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
the endpoint scheme security
oauth2was added to the APIapi-security-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
the
items/request property type/format changed from/toobject/request-property-type-changed
- ▲
- ●
removed the request property
items/accession_coderequest-property-removed
- ●
removed the request property
items/plant_namerequest-property-removed
- ●
removed the request property
items/referencerequest-property-removed
- ○
api operation id
upload-pcwas addedapi-operation-id-added
- ○
api tag
Plant conceptsaddedapi-tag-added
- ○
added the non-success response with the status
403response-non-success-status-added
- ○
added the non-success response with the status
500response-non-success-status-added
This revision also has 10 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 83 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
Of the 50 revisions, 1 has no diff computed.