customization

Subtypes List Post

POST
Lists subtypes.

Request

This endpoint expects an object.
leaf_type
stringOptional
Leaf type for which subtypes are required.
leaf_types
list of stringsOptional
List of leaf types for which subtypes are required.

Response

This endpoint returns an object
subtypes
list of objects
List of subtypes.
POST
1curl -X POST https://api.devrev.ai/schemas.subtypes.list \
2 -H "Authorization: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{}'
200
Successful
1{
2 "subtypes": [
3 {
4 "fragment_id": "fragment_id",
5 "leaf_type": "leaf_type",
6 "value": "value",
7 "display_name": "display_name"
8 }
9 ]
10}