跳到主要内容

Update Repository Release

PATCH 

https://api.gitcode.com/api/v5/repos/:owner/:repo/releases/:id

Request

Responses

Successful Response

Response Headers
    var client = new HttpClient();
    var request = new HttpRequestMessage(HttpMethod.Patch, "https://api.gitcode.com/api/v5/repos/:owner/:repo/releases/:id");
    request.Headers.Add("Accept", "application/json");
    var content = new StringContent("{\n \"tag_name\": \"string\",\n \"name\": \"string\",\n \"body\": \"string\"\n}", null, "application/json");
    request.Content = content;
    var response = await client.SendAsync(request);
    response.EnsureSuccessStatusCode();
    Console.WriteLine(await response.Content.ReadAsStringAsync());
    Request Collapse all
    Base URL
    https://api.gitcode.com
    Parameters
    — pathrequired
    — pathrequired
    — pathrequired
    — queryrequired
    Body
    {
      "tag_name": "string",
      "name": "string",
      "body": "string"
    }
    
    ResponseClear

    Click the Send API Request button above and see the response here!