Commit status update via api v4 #24543
-
I’m looking at adding an API update to commit statuses from a CI server via the status API - is this something that’s supported (or planning on being supported) or should I utilize v3 for now? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi @jkovarik, Thanks for reaching out! The status Object is immutable, so to update this you will need to create a new status. At this point in time, there is no GraphQL mutation to do so, and you will need to use the Create a Status REST API Endpoint instead. Cheers, |
Beta Was this translation helpful? Give feedback.
-
I wanted the same thing. For now I’m creating statuses using the v3 API. |
Beta Was this translation helpful? Give feedback.
-
I would like this ability via v4 as well (not sure where else to upvote this). |
Beta Was this translation helpful? Give feedback.
Hi @jkovarik,
Thanks for reaching out! The status Object is immutable, so to update this you will need to create a new status. At this point in time, there is no GraphQL mutation to do so, and you will need to use the Create a Status REST API Endpoint instead.
Cheers,