mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-01 10:25:36 +00:00
[FEAT]: Add support for Public Keys API (#2945)
* Add support for /mets/public_keys/<keyType> * "files.insertFinalNewline": false * revert and make setttings.json change csharp only * formatting * remove final new line --------- Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
This commit is contained in:
@@ -4833,6 +4833,16 @@ namespace Octokit
|
||||
return "meta".FormatUri();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the <see cref="Uri"/> that returns meta in
|
||||
/// response to a GET request.
|
||||
/// </summary>
|
||||
/// <returns>The <see cref="Uri"/> to meta.</returns>
|
||||
public static Uri PublicKeys(PublicKeyType keysType)
|
||||
{
|
||||
return "meta/public_keys/{0}".FormatUri(keysType.ToParameter());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the <see cref="Uri"/> that returns all organization credentials in
|
||||
/// response to a GET request.
|
||||
|
||||
Reference in New Issue
Block a user