跳到主要内容

Get Single Release of Repository

GET 

/api/v5/repos/:owner/:repo/releases/:tag

Request​

Path Parameters

    owner stringrequired

    Repository space address (address path of the enterprise, organization, or individual)

    Example: {{owner}}
    repo stringrequired

    Repository path (path)

    Example: {{repo}}
    tag stringrequired

    Tag Name

    Example: v1.0

Query Parameters

    access_token string

    User authorization code

    Example: {{access_token}}
    temp_download_url string

    Whether to return the source package and attachment temporary download address, default false

Responses​

Response Headers
    Schema
      tag_namestringrequired
      target_commitishstringrequired
      prereleasebooleanrequired
      namestringrequired
      bodystringrequired
      author objectrequired
      idstringrequired
      loginstringrequired
      namestringrequired
      avatar_urlstringrequired
      html_urlstringrequired
      typestringrequired
      urlstringrequired
      created_atstringrequired
      assets object[]required
    • Array [
    • browser_download_urlstringrequired
      namestringrequired
      typestringrequired
      idinteger
      sizeinteger

      Attachment size, in bytes

      digeststring

      SHA-256 value

    • ]
    • release_statusstringrequired