Authorizations
The format of the key is "Basic <token>" or "Bearer <token>"
Path Parameters
Name of the schema
Query Parameters
Whether to reload the table if the new schema is backward compatible
curl --request PUT \
--url https://dev.startree.ai/schemas/{schemaName} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: */*' \
--data '{
"contentDisposition": {
"type": "<string>",
"parameters": {},
"fileName": "<string>",
"creationDate": "2023-11-07T05:31:56Z",
"modificationDate": "2023-11-07T05:31:56Z",
"readDate": "2023-11-07T05:31:56Z",
"size": 123
},
"entity": {},
"headers": {},
"mediaType": {
"type": "<string>",
"subtype": "<string>",
"parameters": {},
"wildcardType": true,
"wildcardSubtype": true
},
"messageBodyWorkers": {},
"parent": {
"contentDisposition": {
"type": "<string>",
"parameters": {},
"fileName": "<string>",
"creationDate": "2023-11-07T05:31:56Z",
"modificationDate": "2023-11-07T05:31:56Z",
"readDate": "2023-11-07T05:31:56Z",
"size": 123
},
"entity": {},
"headers": {},
"mediaType": {
"type": "<string>",
"subtype": "<string>",
"parameters": {},
"wildcardType": true,
"wildcardSubtype": true
},
"messageBodyWorkers": {},
"parent": {},
"providers": {},
"bodyParts": [
{
"contentDisposition": {
"type": "<any>",
"parameters": "<any>",
"fileName": "<any>",
"creationDate": "<any>",
"modificationDate": "<any>",
"readDate": "<any>",
"size": "<any>"
},
"entity": {},
"headers": {},
"mediaType": {
"type": "<any>",
"subtype": "<any>",
"parameters": "<any>",
"wildcardType": "<any>",
"wildcardSubtype": "<any>"
},
"messageBodyWorkers": {},
"parent": {},
"providers": {},
"parameterizedHeaders": {}
}
],
"parameterizedHeaders": {}
},
"providers": {},
"bodyParts": [
{
"contentDisposition": {
"type": "<any>",
"parameters": "<any>",
"fileName": "<any>",
"creationDate": "<any>",
"modificationDate": "<any>",
"readDate": "<any>",
"size": "<any>"
},
"entity": {},
"headers": {},
"mediaType": {
"type": "<any>",
"subtype": "<any>",
"parameters": "<any>",
"wildcardType": "<any>",
"wildcardSubtype": "<any>"
},
"messageBodyWorkers": {},
"parent": {},
"providers": {},
"parameterizedHeaders": {}
}
],
"fields": {},
"parameterizedHeaders": {}
}'
Updates a schema
curl --request PUT \
--url https://dev.startree.ai/schemas/{schemaName} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: */*' \
--data '{
"contentDisposition": {
"type": "<string>",
"parameters": {},
"fileName": "<string>",
"creationDate": "2023-11-07T05:31:56Z",
"modificationDate": "2023-11-07T05:31:56Z",
"readDate": "2023-11-07T05:31:56Z",
"size": 123
},
"entity": {},
"headers": {},
"mediaType": {
"type": "<string>",
"subtype": "<string>",
"parameters": {},
"wildcardType": true,
"wildcardSubtype": true
},
"messageBodyWorkers": {},
"parent": {
"contentDisposition": {
"type": "<string>",
"parameters": {},
"fileName": "<string>",
"creationDate": "2023-11-07T05:31:56Z",
"modificationDate": "2023-11-07T05:31:56Z",
"readDate": "2023-11-07T05:31:56Z",
"size": 123
},
"entity": {},
"headers": {},
"mediaType": {
"type": "<string>",
"subtype": "<string>",
"parameters": {},
"wildcardType": true,
"wildcardSubtype": true
},
"messageBodyWorkers": {},
"parent": {},
"providers": {},
"bodyParts": [
{
"contentDisposition": {
"type": "<any>",
"parameters": "<any>",
"fileName": "<any>",
"creationDate": "<any>",
"modificationDate": "<any>",
"readDate": "<any>",
"size": "<any>"
},
"entity": {},
"headers": {},
"mediaType": {
"type": "<any>",
"subtype": "<any>",
"parameters": "<any>",
"wildcardType": "<any>",
"wildcardSubtype": "<any>"
},
"messageBodyWorkers": {},
"parent": {},
"providers": {},
"parameterizedHeaders": {}
}
],
"parameterizedHeaders": {}
},
"providers": {},
"bodyParts": [
{
"contentDisposition": {
"type": "<any>",
"parameters": "<any>",
"fileName": "<any>",
"creationDate": "<any>",
"modificationDate": "<any>",
"readDate": "<any>",
"size": "<any>"
},
"entity": {},
"headers": {},
"mediaType": {
"type": "<any>",
"subtype": "<any>",
"parameters": "<any>",
"wildcardType": "<any>",
"wildcardSubtype": "<any>"
},
"messageBodyWorkers": {},
"parent": {},
"providers": {},
"parameterizedHeaders": {}
}
],
"fields": {},
"parameterizedHeaders": {}
}'
The format of the key is "Basic <token>" or "Bearer <token>"
Name of the schema
Whether to reload the table if the new schema is backward compatible
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?