跳到主要内容

Get Repository Release By Tag Name

GET 

/api/v5/repos/:owner/:repo/releases/tags/: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: test

Query Parameters

    access_token string

    User authorization code

    Example: {{access_token}}

Responses​

Successful Response

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