customization

Custom Schema Fragments Set

POST
Creates or updates a custom schema fragment.

Request

This endpoint expects a union.
App Fragment
OR
Custom Type Fragment
OR
Tenant Fragment

Response

This endpoint returns an object
id
string
The ID of the custom schema fragment.
POST
1curl -X POST https://api.devrev.ai/schemas.custom.set \
2 -H "Authorization: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "type": "app_fragment",
6 "app": "string",
7 "description": "string",
8 "leaf_type": "string"
9}'
200
Successful
1{
2 "id": "string"
3}