You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
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
+
To make the API even easier to use, we'll now return your custom payload as a JSON object along with the rest of the Deployment resource. No need to parse it as JSON again.
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].
Copy file name to clipboardExpand all lines: content/v3/repos.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,6 +113,7 @@ Name | Type | Description
113
113
`team_id`|`number` | The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization.
114
114
`auto_init`|`boolean` | Pass`true` to create an initial commit with empty README. Default:`false`
115
115
`gitignore_template`|`string` | Desired language or platform[.gitignore template](https://github.com/github/gitignore) to apply. Use the name of the template without the extension. For example, "Haskell"._Ignored if the`auto_init` parameter is not provided._
116
+
`license_template`|`string` | Desired[LICENSE template](https://github.com/github/choosealicense.com) to apply. Use the[name of the template](https://github.com/github/choosealicense.com/tree/gh-pages/licenses) without the extension. For example, "mit" or "mozilla"._Ignored if the`auto_init` parameter is not provided._