public createReleaseAssets ( integer $id, string $name, string $contentType, string $content ) : integer | ||
$id | integer | Id of the release (must exist) |
$name | string | Name of the asset (including file extension) |
$contentType | string | Mime-type of the asset |
$content | string | Actual asset (in raw-binary form without conversion) |
return | integer | returns the id of the asset |