Pass custom data via API on codespace creation? #128199
Unanswered
agardnerIT
asked this question in
Codespaces
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Product Feedback
Body
Is there a way to pass custom
key: value
information when a codespace creation event is triggered via the API?Use case
I want to periodically spin up a codespace, trigger an automated functional test and destroy it using automation.
For this, I need to spin up the codespace is
testing
mode and thus my scripts can know that they should initiate the testing behaviour and then destroy the codespace.Contrast that to a real user spinning up the codespace, they would not want the codespace to be spun down.
How can I achieve this?
Beta Was this translation helpful? Give feedback.
All reactions