Update a release
PATCH
/repos/{owner}/{repo}/releases/{id}
repository
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH '/api/v1/repos///releases/' \
--header 'Content-Type: application/json' \
--data-raw '{
"body": "string",
"draft": true,
"name": "string",
"prerelease": true,
"tag_name": "string",
"target_commitish": "string"
}'
Response Response Example
200 - Example 1
{
"assets": [
{
"browser_download_url": "string",
"created_at": "2019-08-24T14:15:22Z",
"download_count": 0,
"id": 0,
"name": "string",
"size": 0,
"uuid": "string"
}
],
"author": {
"active": true,
"avatar_url": "string",
"created": "2019-08-24T14:15:22Z",
"description": "string",
"email": "user@example.com",
"followers_count": 0,
"following_count": 0,
"full_name": "string",
"id": 0,
"is_admin": true,
"language": "string",
"last_login": "2019-08-24T14:15:22Z",
"location": "string",
"login": "string",
"prohibit_login": true,
"restricted": true,
"starred_repos_count": 0,
"visibility": "string",
"website": "string"
},
"body": "string",
"created_at": "2019-08-24T14:15:22Z",
"draft": true,
"html_url": "string",
"id": 0,
"name": "string",
"prerelease": true,
"published_at": "2019-08-24T14:15:22Z",
"tag_name": "string",
"tarball_url": "string",
"target_commitish": "string",
"url": "string",
"zipball_url": "string"
}
Request
Path Params
owner
stringÂ
required
repo
stringÂ
required
id
integerÂ
required
Body Params application/json
Responses
Modified at 2022-09-10 23:12:53