chore: publish bulk publish API contract
This commit is contained in:
@@ -1093,6 +1093,24 @@
|
|||||||
"title": "ExternalObservationAction",
|
"title": "ExternalObservationAction",
|
||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
|
"ExternalObservationBulkAction": {
|
||||||
|
"properties": {
|
||||||
|
"items": {
|
||||||
|
"items": {
|
||||||
|
"$ref": "#/components/schemas/ExternalObservationBulkItem"
|
||||||
|
},
|
||||||
|
"maxItems": 50,
|
||||||
|
"minItems": 1,
|
||||||
|
"title": "Items",
|
||||||
|
"type": "array"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"items"
|
||||||
|
],
|
||||||
|
"title": "ExternalObservationBulkAction",
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
"ExternalObservationBulkDecision": {
|
"ExternalObservationBulkDecision": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"items": {
|
"items": {
|
||||||
@@ -3673,6 +3691,62 @@
|
|||||||
"summary": "Admin Map External Observations Bulk"
|
"summary": "Admin Map External Observations Bulk"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"/api/v1/admin/external-observations/bulk-publish": {
|
||||||
|
"post": {
|
||||||
|
"operationId": "admin_publish_external_observations_bulk_api_v1_admin_external_observations_bulk_publish_post",
|
||||||
|
"parameters": [
|
||||||
|
{
|
||||||
|
"in": "header",
|
||||||
|
"name": "authorization",
|
||||||
|
"required": false,
|
||||||
|
"schema": {
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Authorization"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"requestBody": {
|
||||||
|
"content": {
|
||||||
|
"application/json": {
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/components/schemas/ExternalObservationBulkAction"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": true
|
||||||
|
},
|
||||||
|
"responses": {
|
||||||
|
"200": {
|
||||||
|
"content": {
|
||||||
|
"application/json": {
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/components/schemas/ExternalObservationBulkResult"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"description": "Successful Response"
|
||||||
|
},
|
||||||
|
"422": {
|
||||||
|
"content": {
|
||||||
|
"application/json": {
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/components/schemas/HTTPValidationError"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"description": "Validation Error"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"summary": "Admin Publish External Observations Bulk"
|
||||||
|
}
|
||||||
|
},
|
||||||
"/api/v1/admin/external-observations/bulk-reject": {
|
"/api/v1/admin/external-observations/bulk-reject": {
|
||||||
"patch": {
|
"patch": {
|
||||||
"operationId": "admin_reject_external_observations_bulk_api_v1_admin_external_observations_bulk_reject_patch",
|
"operationId": "admin_reject_external_observations_bulk_api_v1_admin_external_observations_bulk_reject_patch",
|
||||||
|
|||||||
Reference in New Issue
Block a user