-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: add custom objects beta API documentation #96
base: main
Are you sure you want to change the base?
Conversation
Published docs preview URL: https://devrev-preview-80827ce4-234f-4e03-9b54-682e2ff467ba.docs.buildwithfern.com |
a414340
to
338f6d2
Compare
338f6d2
to
1e3a97d
Compare
Published docs preview URL: https://devrev-preview-c9daac9c-4f3b-40c1-8778-722b694bf285.docs.buildwithfern.com |
Published docs preview URL: https://devrev-preview-a174b917-394c-4579-9adc-c0d2d0479ee1.docs.buildwithfern.com |
Published docs preview URL: https://devrev-preview-52c08aaa-8d09-4720-83fd-0eb3ba3c126a.docs.buildwithfern.com |
Published docs preview URL: https://devrev-preview-affe9991-5843-429c-be3c-55785b001cd8.docs.buildwithfern.com |
Published docs preview URL: https://devrev-preview-52430336-ad60-4490-89ef-b19ec8899079.docs.buildwithfern.com |
Published docs preview URL: https://devrev-preview-a6ef437b-ebd2-4b04-9722-b13cbd0f4a04.docs.buildwithfern.com |
Published docs preview URL: https://devrev-preview-cb941932-2b3e-45b4-90b3-6488f9963567.docs.buildwithfern.com |
3d81199
to
b26dec3
Compare
Published docs preview URL: https://devrev-preview-7d3760b2-117c-497d-aeec-21919a474458.docs.buildwithfern.com |
b26dec3
to
dd654c9
Compare
Published docs preview URL: https://devrev-preview-83c87e71-9d10-41fe-ac9b-82bdaa4bbfed.docs.buildwithfern.com |
"is_custom_leaf_type": true, | ||
"id_prefix": "CAMP" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add definitions about is_custom_leaf_type
and id_prefix
?
fern/docs/pages/custom-objects.mdx
Outdated
"leaf_type": "campaign", | ||
"filter": [ | ||
"eq", | ||
"$custom_fields.ctype__target_audience", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"$custom_fields.ctype__target_audience", | |
"$custom_fields.tnt__target_audience", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch!
fern/docs/pages/custom-objects.mdx
Outdated
"name": "campaigns", | ||
"field_type": "array", | ||
"base_type": "id", | ||
"id_type": "custom_object.campaign", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"id_type": "custom_object.campaign", | |
"id_type": ["custom_object.campaign"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch.
"id": "don:core:dvrv-us-1:devo/demo:custom_object/campaign/1", | ||
"custom_fields": { | ||
"tnt__budget": 15000 | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
} | |
}, | |
"custom_schema_spec": { | |
"tenant_fragment": true | |
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed IRL, let's omit this as things work fine.
Published docs preview URL: https://devrev-preview-1d949b8f-95be-44e5-af13-20df5b5977d7.docs.buildwithfern.com |
https://app.devrev.ai/devrev/works/ISS-121317
The PR will be ready for review as soon as the custom object APIs are beta (in-progress) ✅