customization

Aggregated Schema Get Post

POST
Gets the aggregated schema.

Request

This endpoint expects an object.
custom_schema_fragment_ids
list of stringsRequired
The list of custom schema fragment DONs which are to be aggregated.
leaf_type
stringOptional
The leaf type. Used for inferring the default stage diagram and tenant fragment ID.
per_object_schema
list of maps from strings to anyOptional
Per object schema, if associated with the leaf type.
stock_schema_fragment_id
stringOptional
The stock schema fragment which is to be aggregated.

Response

This endpoint returns an object
schema
map from strings to any
List of custom fields from multiple source fragments.
POST
1curl -X POST https://api.devrev.ai/schemas.aggregated.get \
2 -H "Authorization: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "custom_schema_fragment_ids": [
6 "custom_schema_fragment_ids"
7 ]
8}'
200Successful
1{
2 "schema": {
3 "schema": {
4 "key": "value"
5 }
6 }
7}