Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit 2dc79f9

Browse files
committed
Document label parameter when creating release asset
The `label` parameter assigns the human-readable label for the uploaded asset. This parameter is already documented for the "Edit" endpoint, but was never documented for "Create".
1 parent 8225e00 commit 2dc79f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/v3/repos/releases.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Name | Type | Description
174174
-----|------|--------------
175175
`Content-Type`|`string` | **Required**. The content type of the asset. This should be set in the Header. Example: `"application/zip"`. For a list of acceptable types, refer this list of [common media types](http://en.wikipedia.org/wiki/Internet_media_type#List_of_common_media_types).
176176
`name`|`string` | **Required**. The file name of the asset. This should be set in the URI query parameter.
177-
177+
`label`|`string` | An alternate short description of the asset. Used in place of the filename.
178178

179179
Send the raw binary content of the asset as the request body.
180180

0 commit comments

Comments
 (0)