Solved

Releases API - Can I update an existing release?

  • 1 November 2021
  • 5 replies
  • 147 views

Badge

I can see the endpoint for creating a new release but what about updating, is that possible using API?

Releases API (amplitude.com)

icon

Best answer by Yuanyuan Zhang 9 November 2021, 11:02

View original

5 replies

Badge

UDPATE: 

I tried some other methods even if they are not documented:

GET /api/2/release/{releaseId}
200 response with release data

GET /api/2/release
500: Internal Server Error

GET /api/2/releases
404: Not Found

PUT /api/2/release/{releaseId}
HTTP 405: Method Not Allowed

Userlevel 5
Badge +5

Hi @eddsuarez

This is Yuanyuan from the Amplitude Support team - thank you for writing in!

Would you mind telling me what you are trying to update? Are you trying to update the release description? A detailed explanation would help me understand your request better, thus providing a more suited solution for you.

 

Looking forward to hearing back from you!

Best, 

Yuanyuan

Badge

Hi @Yuanyuan Zhang, thanks for your attention. 

Basically, I’d like to update the release_end for an existing release once a new one is created. And I need to do this this using the API so I can do the integration in my own internal deploy process.

Userlevel 5
Badge +5

Hi @eddsuarez

Thank you for sharing your use case. I am not entirely sure if it is possible, but I will sync with my engineering colleagues and get back to you asap. 

Best,

Yuanyuan

Userlevel 5
Badge +5

Hi @eddsuarez

 

Thanks for your patience. I just heard back from the engineering team that it is only possible to create Releases, not update them via Releases API. I suggest submitting a product idea in the Community for our Product team to improve the products: https://community.amplitude.com/ideas

Please let me know if you have any questions!

Best, 
Yuanyuan
 

 

Reply