diff --git a/Octokit/Clients/TagsClient.cs b/Octokit/Clients/TagsClient.cs index 56d30cf7..099f1d5e 100644 --- a/Octokit/Clients/TagsClient.cs +++ b/Octokit/Clients/TagsClient.cs @@ -9,6 +9,16 @@ namespace Octokit { } + /// + /// Gets a tag for a given repository by sha reference + /// + /// + /// http://developer.github.com/v3/git/tags/#get-a-tag + /// + /// The owner of the repository + /// The name of the repository + /// Tha sha reference of the tag + /// public Task Get(string owner, string name, string reference) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -18,6 +28,16 @@ namespace Octokit return ApiConnection.Get(ApiUrls.Tag(owner, name, reference)); } + /// + /// Create a tag for a given repository + /// + /// + /// http://developer.github.com/v3/git/tags/#create-a-tag-object + /// + /// The owner of the repository + /// The name of the repository + /// The tag to create + /// public Task Create(string owner, string name, NewTag tag) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner");