unstructured/docs/source/apis/validation_errors.rst
Ronny H d80abf0714
Reorganized the Examples section in Documentation & add Databricks example (#1855)
To test:
> cd docs && make html

Change logs:
* Examples are reorganized to have its own page
* Removed two old examples, ie. "file-utils" & "sentiment analysis".
* Added two examples: "RAG with Unstructured, LangChain, and ChromaDB" &
"Multi-Files Processing with S3 Connector and API"
* Reorganized and added detailed API documentation: (i) usage, (ii)
SDKs, (iii) Azure Marketplace, (iv) AWS Marketplace, (v) parameters and
validation errors
2023-11-30 01:24:43 +00:00

38 lines
970 B
ReStructuredText

API Validation Errors
=====================
This section details the structure of HTTP validation errors returned by the API.
HTTPValidationError
--------------------
**Type**: object
**Title**: HTTPValidationError
**Detail**
- **Type**: array
- **Description**: An array of `ValidationError` items, providing detailed information about the validation errors encountered.
ValidationError
---------------
**Type**: object
**Title**: ValidationError
**Required Fields**: loc, msg, type
- **Location (loc)**
- **Type**: array
- **Description**: The location of the validation error in the request. Each item in the array can be either a string (e.g., field name) or an integer (e.g., array index).
- **Message (msg)**
- **Type**: string
- **Description**: A descriptive message about the validation error.
- **Error Type (type)**
- **Type**: string
- **Description**: The type of validation error, categorizing the nature of the error.