跳转到主要内容

从构建数据下载指定文件。

GET 

/v2/projects/:project/versions/:version/builds/:build/downloads/:download

从构建数据下载指定文件。

Request

路径参数

    project stringrequired

    Possible values: Value must match regular expression [a-z]+

    项目标识符。

    Example: geyser
    version stringrequired

    Possible values: Value must match regular expression (?:latest|[0-9.]+-?(?:pre|SNAPSHOT)?(?:[0-9.]+)?)?

    项目的某个版本。

    build int32required

    该版本的某个构建。

    download stringrequired

    Possible values: Value must match regular expression [a-zA-Z0-9._-]+

    该构建的某个下载文件。

Responses

OK

响应头

  • ETag

    string

    An identifier for a specific version of a resource. It lets caches be more efficient and save bandwidth, as a web server does not need to resend a full response if the content has not changed.

  • Content-Disposition

    string

    A header indicating that the content is expected to be displayed as an attachment, that is downloaded and saved locally.

  • Last-Modified

    string

    The date and time at which the origin server believes the resource was last modified.

Schema

    object