Visitar URL original
update for deployment payloads · JavaLeaks/developer.github.com@82e087a · GitHub
Skip to content

Commit 82e087a

Browse files
committed
update for deployment payloads
1 parent 3bc0f75 commit 82e087a

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
kind: change
3+
title: New Payload format for Deployments
4+
created_at: 2014-03-03
5+
author_name: atmos
6+
---
7+
8+
As we [iterate on the preview][january-deployment-api-post] for the new Deployment API, we're making sure that it's friendly to work with for the apps built on top of it.
9+
10+
## Deserialize Deployment Payloads
11+
12+
If you've built anything around the API then you're probably doing a second deserialization of the returned JSON body for Deployment or DeploymentStatus objects. It seemed silly to keep this in place and it was a convention that we don't follow anywhere else in the API.
13+
14+
## Code you need to update
15+
16+
You should only need to remove the JSON parsing if you're taking advantage of the custom payloads. The formats for creating Deployments remain unchanged.
17+
18+
As always, if you have any questions or feedback, please [get in touch][contact].
19+
20+
[january-deployment-api-post]: /changes/2014-01-09-preview-the-new-deployments-api/
21+
[contact]: https://github.com/contact?form[subject]=Deployments+API

0 commit comments

Comments
 (0)