Accepts parameter for Patch

This commit is contained in:
Nigel Sampson
2014-03-26 22:58:37 +13:00
parent 3be869b8d7
commit 90aa5696a0
4 changed files with 49 additions and 0 deletions
+11
View File
@@ -139,6 +139,17 @@ namespace Octokit
/// <exception cref="ApiException">Thrown when an API error occurs.</exception>
Task<T> Patch<T>(Uri uri, object data);
/// <summary>
/// Updates the API resource at the specified URI.
/// </summary>
/// <typeparam name="T">The API resource's type.</typeparam>
/// <param name="uri">URI of the API resource to update</param>
/// <param name="data">Object that describes the API resource; this will be serialized and used as the request's body</param>
/// <param name="accepts">Accept header to use for the API request</param>
/// <returns>The updated API resource.</returns>
/// <exception cref="ApiException">Thrown when an API error occurs.</exception>
Task<T> Patch<T>(Uri uri, object data, string accepts);
/// <summary>
/// Deletes the API object at the specified URI.
/// </summary>