DELETE Code Template Library & API Review #5124
Replies: 2 comments 4 replies
-
Do check the current issues prior to posting. For example please read #4549, which I believe is your first request. Perhaps further define "are complex". And JSON is supported for all calls, it's a simple option to add to your call and changing that behavior to "default" might break prior code for other users. |
Beta Was this translation helpful? Give feedback.
-
I am not sure if exposing code templates through RESTful APIs should be an option at all. Its all your useful and reusable code and by design shareable across multiple channels, and groups. |
Beta Was this translation helpful? Give feedback.
-
Hello,
Today, to delete a code template library, you must first retrieve the XML content of the code template libraries.
Then delete the section of the code template library that you do not want to keep.
Finally to do a bulk update. This is a complex and resource intensive process.
Why not implement a DELETE /codeTemplateLibraries/{libraryId} API ?
There are many operations with the APIs that are complex and don't match typical REST APIs.
They should be updated without multipart/form and work with JSON by default.
These new APIs could be called with /api/v2/... so there will be no breaking change.
Could this be planned in the future?
Beta Was this translation helpful? Give feedback.
All reactions