From 2dc79f930269bde73cbb0fb25cd19f33422ddef6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Wed, 3 Jun 2015 12:01:49 +0200 Subject: [PATCH] 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". --- content/v3/repos/releases.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/v3/repos/releases.md b/content/v3/repos/releases.md index 4849bfbc55..44aa002c7e 100644 --- a/content/v3/repos/releases.md +++ b/content/v3/repos/releases.md @@ -174,7 +174,7 @@ Name | Type | Description -----|------|-------------- `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). `name`|`string` | **Required**. The file name of the asset. This should be set in the URI query parameter. - +`label`|`string` | An alternate short description of the asset. Used in place of the filename. Send the raw binary content of the asset as the request body.