Skip to content

Commit

Permalink
add attributes for starfox preview
Browse files Browse the repository at this point in the history
  • Loading branch information
shiftkey committed Mar 6, 2020
1 parent 17450fb commit dc280a0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Octokit/Clients/IssueTimelineClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public Task<IReadOnlyList<TimelineEventInfo>> GetAllForIssue(string owner, strin
/// <param name="number">The issue number</param>
/// <param name="options">Options for changing the API repsonse</param>
[Preview("mockingbird")]
[Preview("starfox")]
[ManualRoute("GET", "/repos/{owner}/{name}/issues/{number}/timeline")]
public Task<IReadOnlyList<TimelineEventInfo>> GetAllForIssue(string owner, string repo, int number, ApiOptions options)
{
Expand Down Expand Up @@ -81,6 +82,7 @@ public Task<IReadOnlyList<TimelineEventInfo>> GetAllForIssue(long repositoryId,
/// <param name="number">The issue number</param>
/// <param name="options">Options for changing the API response</param>
[Preview("mockingbird")]
[Preview("starfox")]
[ManualRoute("GET", "/repositories/{id}/issues/{number}/timeline")]
public Task<IReadOnlyList<TimelineEventInfo>> GetAllForIssue(long repositoryId, int number, ApiOptions options)
{
Expand Down
6 changes: 6 additions & 0 deletions Octokit/Clients/IssuesEventsClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public Task<IReadOnlyList<IssueEvent>> GetAllForIssue(long repositoryId, int num
/// <param name="name">The name of the repository</param>
/// <param name="number">The issue number</param>
/// <param name="options">Options for changing the API response</param>
[Preview("starfox")]
[ManualRoute("GET", "/repos/{owner}/{name}/issues/{number}/events")]
public Task<IReadOnlyList<IssueEvent>> GetAllForIssue(string owner, string name, int number, ApiOptions options)
{
Expand All @@ -79,6 +80,7 @@ public Task<IReadOnlyList<IssueEvent>> GetAllForIssue(string owner, string name,
/// <param name="repositoryId">The Id of the repository</param>
/// <param name="number">The issue number</param>
/// <param name="options">Options for changing the API response</param>
[Preview("starfox")]
[ManualRoute("GET", "/repositories/{id}/issues/{number}/events")]
public Task<IReadOnlyList<IssueEvent>> GetAllForIssue(long repositoryId, int number, ApiOptions options)
{
Expand Down Expand Up @@ -129,6 +131,7 @@ public Task<IReadOnlyList<IssueEvent>> GetAllForRepository(long repositoryId)
/// <param name="owner">The owner of the repository</param>
/// <param name="name">The name of the repository</param>
/// <param name="options">Options for changing the API response</param>
[Preview("starfox")]
[ManualRoute("GET", "/repos/{owner}/{name}/issues/events")]
public Task<IReadOnlyList<IssueEvent>> GetAllForRepository(string owner, string name, ApiOptions options)
{
Expand All @@ -150,6 +153,7 @@ public Task<IReadOnlyList<IssueEvent>> GetAllForRepository(string owner, string
/// </remarks>
/// <param name="repositoryId">The Id of the repository</param>
/// <param name="options">Options for changing the API response</param>
[Preview("starfox")]
[ManualRoute("GET", "/repositories/{id}/issues/events")]
public Task<IReadOnlyList<IssueEvent>> GetAllForRepository(long repositoryId, ApiOptions options)
{
Expand All @@ -170,6 +174,7 @@ public Task<IReadOnlyList<IssueEvent>> GetAllForRepository(long repositoryId, Ap
/// <param name="owner">The owner of the repository</param>
/// <param name="name">The name of the repository</param>
/// <param name="eventId">The event id</param>
[Preview("starfox")]
[ManualRoute("GET", "/repos/{owner}/{name}/issues/events/{event_id}")]
public Task<IssueEvent> Get(string owner, string name, long eventId)
{
Expand All @@ -189,6 +194,7 @@ public Task<IssueEvent> Get(string owner, string name, long eventId)
/// </remarks>
/// <param name="repositoryId">The Id of the repository</param>
/// <param name="eventId">The event id</param>
[Preview("starfox")]
[ManualRoute("GET", "/repositories/{id}/issues/events/{event_id}")]
public Task<IssueEvent> Get(long repositoryId, long eventId)
{
Expand Down

0 comments on commit dc280a0

Please sign in to comment.