Skip to main content

Add a release asset

Add a new asset to a release. The authenticated user must have create permissions.

Path Parameters
  • repo string required

    The name of the repository. The name is not case sensitive.

  • tag string required

    The tag of the release.

Request Body
  • name string required

    Name of the asset.

  • description string

    Description of the asset.

  • download_url string required

    Download location of the asset.

  • size number

    Default value: 0

    Size of the asset in kilobytes.

Responses

Successful Response


Schema
  • success boolean required
  • data object required
  • tag string required

    Release tag

  • name string required

    Release name

  • description string required

    Release description

  • created_at date-time required

    Creation date

  • updated_at date-time required

    Updated date

  • draft boolean required

    true for unpublished releases

  • prerelease boolean required

    true for prerelease releases

  • assets string[] required
Loading...