Skip to content

Commit 9350baf

Browse files
committed
Add bulk upgrades in CZ docs
1 parent 002a2c3 commit 9350baf

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

fern/docs/pages/customization.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,20 @@ The object now references the latest fragment version (`custom_type_fragment/2`)
388388
the optional release notes field is absent, the tenant fragment remains attached,
389389
allowing for future tenant-specific field additions.
390390

391+
## Bulk Upgrades
392+
393+
All objects of a given type can be upgraded to the latest fragment version using the
394+
`objects.bulk-upgrade` API.
395+
396+
```curl {16-18, 21}
397+
curl --location 'https://api.devrev.ai/internal/objects.bulk-upgrade' \
398+
--header 'Content-Type: application/json' \
399+
--header 'Authorization: Bearer <TOKEN>' \
400+
--data '{
401+
"type": "issue"
402+
}
403+
```
404+
391405
## Deprecate custom schema fragments
392406

393407
Custom schema fragments can be deprecated to avoid creating work items using them. The

0 commit comments

Comments
 (0)