Get Schema
GET/api/v1/extraction/schemas/:schema_id
Get Schema
Request
Path Parameters
schema_id uuidrequired
Cookie Parameters
session any
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD1
- MOD1
- MOD1
- MOD2
- MOD3
- MOD4
- MOD5
- MOD6
Array [
]
id uuidrequired
Unique identifier
created_at
object
Creation datetime
anyOf
string
updated_at
object
Update datetime
anyOf
string
name Name (string)required
The name of the extraction schema
project_id uuidrequired
The ID of the project that the extraction schema belongs to
data_schema
object
The schema of the data
anyOf
property name*
object
anyOf
object
string
integer
number
boolean
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z",
"name": "string",
"project_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"data_schema": {}
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...