Repository navigation
feat: add App API Design Studio folder & email methods - #239
Merged
Merged
Conversation
Batch 8. Adds the 10 Design Studio folder + email endpoints to APIClient:
list/create/get/update/delete for both folders and emails.
Verified against the services backend (ext_api/design_studio/router.go +
designstudio/dsapi/*), not the OpenAPI spec: page-based list filters,
tri-state parent_folder_id, and the email content/envelope/transformers
bodies. PUT/DELETE return 204 (empty body -> {} in the request layer).
Includes unit tests (100% coverage), live round-trip coverage, and docs.
This was referenced Jul 13, 2026
karngyan
previously approved these changes
Jul 14, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is another set of the App API backfill which adds the 10 Design Studio folder and email endpoints to
APIClient(languages + components are in #240):listDesignStudioFoldersGET /v1/design_studio/folderscreateDesignStudioFolderPOST /v1/design_studio/foldersgetDesignStudioFolderGET /v1/design_studio/folders/{id}updateDesignStudioFolderPUT /v1/design_studio/folders/{id}(204)deleteDesignStudioFolderDELETE /v1/design_studio/folders/{id}(204)listDesignStudioEmailsGET /v1/design_studio/emailscreateDesignStudioEmailPOST /v1/design_studio/emailsgetDesignStudioEmailGET /v1/design_studio/emails/{id}updateDesignStudioEmailPUT /v1/design_studio/emails/{id}(204)deleteDesignStudioEmailDELETE /v1/design_studio/emails/{id}(204)Assisted by AI 🤖
Note
Medium Risk
Large additive surface area and a shared HTTP change for multipart uploads; behavior is mostly thin wrappers over remote APIs with solid test coverage.
Overview
Extends App API coverage with Design Studio (folders, emails, email translations, components), Assets (files and folders), and matching
docs/app.mdreference.Design Studio list calls use page-based filters/sorting (not cursor pagination), with typed inputs and the usual
MissingParamErrorvalidation. Assets addscreateAssetviamultipart/form-data: the request layer gainspostForm/formOptions(no callerContent-Typesofetchsets the boundary), and uploads derive MIME type from filename when needed so parts are not sent asapplication/octet-stream.Unit tests cover query strings, validation, and form bodies; live integration tests exercise create/read/update/delete round-trips where the workspace allows.
Reviewed by Cursor Bugbot for commit 6f64be9. Bugbot is set up for automated code reviews on this repo. Configure here.