API To Patch stack instead of full update

I would like to be able to update specific attributes on a stack without having to pass every current attributes.

Currently, when calling updateStack, two issues:

  • name, branch and some other attributes are required so we can’t even call the API

  • if we send the required attributes, then it resets other attributes (eg: not sending labels will remove all labels)

Workaround
We need to first get the stack details, and then sends the data back to the updateStack
Problem
One thing I'm worried with the workaround is if new attributes are introduced, or if we forget some, then it'll resets them back to default and would cause issue.

Please authenticate to join the conversation.

Upvoters
Status

⬆️ Gathering votes

Board

💡 Feature Requests

Tags

API

Date

Over 1 year ago

Subscribe to post

Get notified by email when there are changes.