diff --git a/Octokit.Reactive/Clients/Enterprise/IObservableEnterpriseLdapClient.cs b/Octokit.Reactive/Clients/Enterprise/IObservableEnterpriseLdapClient.cs
index 1791d57e0c..f446f15029 100644
--- a/Octokit.Reactive/Clients/Enterprise/IObservableEnterpriseLdapClient.cs
+++ b/Octokit.Reactive/Clients/Enterprise/IObservableEnterpriseLdapClient.cs
@@ -43,7 +43,7 @@ public interface IObservableEnterpriseLdapClient
/// The teamId to update LDAP mapping
/// The
/// The object.
- IObservable UpdateTeamMapping(int teamId, NewLdapMapping newLdapMapping);
+ IObservable UpdateTeamMapping(long teamId, NewLdapMapping newLdapMapping);
///
/// Queue an LDAP Sync job for a team on a GitHub Enterprise appliance (must be Site Admin user).
@@ -53,6 +53,6 @@ public interface IObservableEnterpriseLdapClient
///
/// The teamId to update LDAP mapping
/// The of the queue request.
- IObservable QueueSyncTeamMapping(int teamId);
+ IObservable QueueSyncTeamMapping(long teamId);
}
}
diff --git a/Octokit.Reactive/Clients/Enterprise/ObservableEnterpriseLdapClient.cs b/Octokit.Reactive/Clients/Enterprise/ObservableEnterpriseLdapClient.cs
index b6fb718455..8a490b4e7a 100644
--- a/Octokit.Reactive/Clients/Enterprise/ObservableEnterpriseLdapClient.cs
+++ b/Octokit.Reactive/Clients/Enterprise/ObservableEnterpriseLdapClient.cs
@@ -58,7 +58,7 @@ public IObservable QueueSyncUserMapping(string userName)
/// The teamId to update LDAP mapping
/// The
/// The object.
- public IObservable UpdateTeamMapping(int teamId, NewLdapMapping newLdapMapping)
+ public IObservable UpdateTeamMapping(long teamId, NewLdapMapping newLdapMapping)
{
return _client.UpdateTeamMapping(teamId, newLdapMapping).ToObservable();
}
@@ -71,7 +71,7 @@ public IObservable UpdateTeamMapping(int teamId, NewLdapMapping newLdapMap
///
/// The teamId to update LDAP mapping
/// The of the queue request.
- public IObservable QueueSyncTeamMapping(int teamId)
+ public IObservable QueueSyncTeamMapping(long teamId)
{
return _client.QueueSyncTeamMapping(teamId).ToObservable();
}
diff --git a/Octokit.Reactive/Clients/IObservableAuthorizationsClient.cs b/Octokit.Reactive/Clients/IObservableAuthorizationsClient.cs
index 74183fb475..5ee7812bce 100644
--- a/Octokit.Reactive/Clients/IObservableAuthorizationsClient.cs
+++ b/Octokit.Reactive/Clients/IObservableAuthorizationsClient.cs
@@ -42,7 +42,7 @@ public interface IObservableAuthorizationsClient
/// An
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get",
Justification = "It's fiiiine. It's fine. Trust us.")]
- IObservable Get(int id);
+ IObservable Get(long id);
///
/// Creates a new personal token for the authenticated user.
@@ -219,7 +219,7 @@ IObservable GetOrCreateApplicationAuthentication(
/// The id of the
/// The changes to make to the authorization
///
- IObservable Update(int id, AuthorizationUpdate authorizationUpdate);
+ IObservable Update(long id, AuthorizationUpdate authorizationUpdate);
///
/// Deletes the specified .
@@ -234,7 +234,7 @@ IObservable GetOrCreateApplicationAuthentication(
/// Thrown when the current user does not have permission to make the request.
///
/// Thrown when a general API error occurs.
- IObservable Delete(int id);
+ IObservable Delete(long id);
///
/// Deletes the specified .
@@ -250,6 +250,6 @@ IObservable GetOrCreateApplicationAuthentication(
/// Thrown when the current user does not have permission to make the request.
///
/// Thrown when a general API error occurs.
- IObservable Delete(int id, string twoFactorAuthenticationCode);
+ IObservable Delete(long id, string twoFactorAuthenticationCode);
}
}
diff --git a/Octokit.Reactive/Clients/IObservableDeploymentStatusClient.cs b/Octokit.Reactive/Clients/IObservableDeploymentStatusClient.cs
index 307e1d0e27..2f6c8a0508 100644
--- a/Octokit.Reactive/Clients/IObservableDeploymentStatusClient.cs
+++ b/Octokit.Reactive/Clients/IObservableDeploymentStatusClient.cs
@@ -21,7 +21,7 @@ public interface IObservableDeploymentStatusClient
/// The owner of the repository.
/// The name of the repository.
/// The id of the deployment.
- IObservable GetAll(string owner, string name, int deploymentId);
+ IObservable GetAll(string owner, string name, long deploymentId);
///
/// Gets all the statuses for the given deployment. Any user with pull access to a repository can
@@ -32,7 +32,7 @@ public interface IObservableDeploymentStatusClient
///
/// The Id of the repository.
/// The id of the deployment.
- IObservable GetAll(long repositoryId, int deploymentId);
+ IObservable GetAll(long repositoryId, long deploymentId);
///
/// Gets all the statuses for the given deployment. Any user with pull access to a repository can
@@ -45,7 +45,7 @@ public interface IObservableDeploymentStatusClient
/// The name of the repository.
/// The id of the deployment.
/// Options for changing the API response
- IObservable GetAll(string owner, string name, int deploymentId, ApiOptions options);
+ IObservable GetAll(string owner, string name, long deploymentId, ApiOptions options);
///
/// Gets all the statuses for the given deployment. Any user with pull access to a repository can
@@ -57,7 +57,7 @@ public interface IObservableDeploymentStatusClient
/// The Id of the repository.
/// The id of the deployment.
/// Options for changing the API response
- IObservable GetAll(long repositoryId, int deploymentId, ApiOptions options);
+ IObservable GetAll(long repositoryId, long deploymentId, ApiOptions options);
///
/// Creates a new status for the given deployment. Users with push access can create deployment
@@ -70,7 +70,7 @@ public interface IObservableDeploymentStatusClient
/// The name of the repository.
/// The id of the deployment.
/// The new deployment status to create.
- IObservable Create(string owner, string name, int deploymentId, NewDeploymentStatus newDeploymentStatus);
+ IObservable Create(string owner, string name, long deploymentId, NewDeploymentStatus newDeploymentStatus);
///
/// Creates a new status for the given deployment. Users with push access can create deployment
@@ -82,6 +82,6 @@ public interface IObservableDeploymentStatusClient
/// The Id of the repository.
/// The id of the deployment.
/// The new deployment status to create.
- IObservable Create(long repositoryId, int deploymentId, NewDeploymentStatus newDeploymentStatus);
+ IObservable Create(long repositoryId, long deploymentId, NewDeploymentStatus newDeploymentStatus);
}
}
diff --git a/Octokit.Reactive/Clients/IObservableGistCommentsClient.cs b/Octokit.Reactive/Clients/IObservableGistCommentsClient.cs
index ea817b2f89..aa1061615e 100644
--- a/Octokit.Reactive/Clients/IObservableGistCommentsClient.cs
+++ b/Octokit.Reactive/Clients/IObservableGistCommentsClient.cs
@@ -15,7 +15,7 @@ public interface IObservableGistCommentsClient
/// IObservable{GistComment}.
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get",
Justification = "Method makes a network request")]
- IObservable Get(string gistId, int commentId);
+ IObservable Get(string gistId, long commentId);
///
/// Gets all comments for the gist with the specified id.
@@ -51,7 +51,7 @@ public interface IObservableGistCommentsClient
/// The id of the comment
/// The updated body of the comment
/// IObservable{GistComment}.
- IObservable Update(string gistId, int commentId, string comment);
+ IObservable Update(string gistId, long commentId, string comment);
///
/// Deletes the comment with the specified gist- and comment id.
@@ -60,6 +60,6 @@ public interface IObservableGistCommentsClient
/// The id of the gist
/// The id of the comment
/// IObservable{Unit}.
- IObservable Delete(string gistId, int commentId);
+ IObservable Delete(string gistId, long commentId);
}
}
\ No newline at end of file
diff --git a/Octokit.Reactive/Clients/IObservableOrganizationHooksClient.cs b/Octokit.Reactive/Clients/IObservableOrganizationHooksClient.cs
index 533a0b4e9d..b542995c0b 100644
--- a/Octokit.Reactive/Clients/IObservableOrganizationHooksClient.cs
+++ b/Octokit.Reactive/Clients/IObservableOrganizationHooksClient.cs
@@ -28,7 +28,7 @@ public interface IObservableOrganizationHooksClient
/// The organizations hook id
/// See API documentation for more information.
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get", Justification = "This is ok; we're matching HTTP verbs not keyworks")]
- IObservable Get(string org, int hookId);
+ IObservable Get(string org, long hookId);
///
/// Creates a hook for a organization
@@ -44,7 +44,7 @@ public interface IObservableOrganizationHooksClient
/// The organizations hook id
/// The hook's parameters
/// See API documentation for more information.
- IObservable Edit(string org, int hookId, EditOrganizationHook hook);
+ IObservable Edit(string org, long hookId, EditOrganizationHook hook);
///
/// This will trigger a ping event to be sent to the hook.
@@ -52,7 +52,7 @@ public interface IObservableOrganizationHooksClient
/// The organizations name
/// The organizations hook id
/// See API documentation for more information.
- IObservable Ping(string org, int hookId);
+ IObservable Ping(string org, long hookId);
///
/// Deletes a hook for a organization
@@ -60,6 +60,6 @@ public interface IObservableOrganizationHooksClient
/// The organizations name
/// The organizations hook id
/// See API documentation for more information.
- IObservable Delete(string org, int hookId);
+ IObservable Delete(string org, long hookId);
}
}
\ No newline at end of file
diff --git a/Octokit.Reactive/Clients/IObservableProjectCardsClient.cs b/Octokit.Reactive/Clients/IObservableProjectCardsClient.cs
index ff6209b0aa..c0633ce522 100644
--- a/Octokit.Reactive/Clients/IObservableProjectCardsClient.cs
+++ b/Octokit.Reactive/Clients/IObservableProjectCardsClient.cs
@@ -18,7 +18,7 @@ public interface IObservableProjectCardsClient
/// See the API documentation for more information.
///
/// The id of the column
- IObservable GetAll(int columnId);
+ IObservable GetAll(long columnId);
///
/// Gets all cards.
@@ -28,7 +28,7 @@ public interface IObservableProjectCardsClient
///
/// The id of the column
/// Options for changing the API response
- IObservable GetAll(int columnId, ApiOptions options);
+ IObservable GetAll(long columnId, ApiOptions options);
///
/// Gets all cards.
@@ -38,7 +38,7 @@ public interface IObservableProjectCardsClient
///
/// The id of the column
/// Used to filter the list of project cards returned
- IObservable GetAll(int columnId, ProjectCardRequest request);
+ IObservable GetAll(long columnId, ProjectCardRequest request);
///
/// Gets all cards.
@@ -49,7 +49,7 @@ public interface IObservableProjectCardsClient
/// The id of the column
/// Used to filter the list of project cards returned
/// Options for changing the API response
- IObservable GetAll(int columnId, ProjectCardRequest request, ApiOptions options);
+ IObservable GetAll(long columnId, ProjectCardRequest request, ApiOptions options);
///
/// Gets a single card.
@@ -59,7 +59,7 @@ public interface IObservableProjectCardsClient
///
/// The id of the card
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get")]
- IObservable Get(int id);
+ IObservable Get(long id);
///
/// Creates a card.
@@ -69,7 +69,7 @@ public interface IObservableProjectCardsClient
///
/// The id of the column
/// The card to create
- IObservable Create(int columnId, NewProjectCard newProjectCard);
+ IObservable Create(long columnId, NewProjectCard newProjectCard);
///
/// Updates a card.
@@ -79,7 +79,7 @@ public interface IObservableProjectCardsClient
///
/// The id of the card
/// New values to update the card with
- IObservable Update(int id, ProjectCardUpdate projectCardUpdate);
+ IObservable Update(long id, ProjectCardUpdate projectCardUpdate);
///
/// Deletes a card.
@@ -88,7 +88,7 @@ public interface IObservableProjectCardsClient
/// See the API documentation for more information.
///
/// The id of the card
- IObservable Delete(int id);
+ IObservable Delete(long id);
///
/// Moves a card.
@@ -98,6 +98,6 @@ public interface IObservableProjectCardsClient
///
/// The id of the card
/// The position to move the card
- IObservable Move(int id, ProjectCardMove position);
+ IObservable Move(long id, ProjectCardMove position);
}
}
diff --git a/Octokit.Reactive/Clients/IObservableProjectColumnsClient.cs b/Octokit.Reactive/Clients/IObservableProjectColumnsClient.cs
index b1eb1f500a..162a4e9a10 100644
--- a/Octokit.Reactive/Clients/IObservableProjectColumnsClient.cs
+++ b/Octokit.Reactive/Clients/IObservableProjectColumnsClient.cs
@@ -18,7 +18,7 @@ public interface IObservableProjectColumnsClient
/// See the API documentation for more information.
///
/// The Id of the project
- IObservable GetAll(int projectId);
+ IObservable GetAll(long projectId);
///
/// Gets all columns.
@@ -28,7 +28,7 @@ public interface IObservableProjectColumnsClient
///
/// The Id of the project
/// Options for changing the API response
- IObservable GetAll(int projectId, ApiOptions options);
+ IObservable GetAll(long projectId, ApiOptions options);
///
/// Gets a single column.
@@ -38,7 +38,7 @@ public interface IObservableProjectColumnsClient
///
/// The id of the column
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get")]
- IObservable Get(int id);
+ IObservable Get(long id);
///
/// Creates a column.
@@ -48,7 +48,7 @@ public interface IObservableProjectColumnsClient
///
/// The Id of the project
/// The column to create
- IObservable Create(int projectId, NewProjectColumn newProjectColumn);
+ IObservable Create(long projectId, NewProjectColumn newProjectColumn);
///
/// Updates a column.
@@ -58,7 +58,7 @@ public interface IObservableProjectColumnsClient
///
/// The id of the column
/// New values to update the column with
- IObservable Update(int id, ProjectColumnUpdate projectColumnUpdate);
+ IObservable Update(long id, ProjectColumnUpdate projectColumnUpdate);
///
/// Deletes a column.
@@ -67,7 +67,7 @@ public interface IObservableProjectColumnsClient
/// See the API documentation for more information.
///
/// The id of the column
- IObservable Delete(int id);
+ IObservable Delete(long id);
///
/// Moves a column.
@@ -77,6 +77,6 @@ public interface IObservableProjectColumnsClient
///
/// The id of the column
/// The position to move the column
- IObservable Move(int id, ProjectColumnMove position);
+ IObservable Move(long id, ProjectColumnMove position);
}
}
diff --git a/Octokit.Reactive/Clients/IObservableReleasesClient.cs b/Octokit.Reactive/Clients/IObservableReleasesClient.cs
index 7320f5addd..5a513ddd78 100644
--- a/Octokit.Reactive/Clients/IObservableReleasesClient.cs
+++ b/Octokit.Reactive/Clients/IObservableReleasesClient.cs
@@ -67,7 +67,7 @@ public interface IObservableReleasesClient
/// The repository's name
/// The id of the release
/// Thrown when a general API error occurs.
- IObservable Get(string owner, string name, int id);
+ IObservable Get(string owner, string name, long id);
///
/// Gets a single for the specified repository.
@@ -90,7 +90,7 @@ public interface IObservableReleasesClient
/// The Id of the repository
/// The id of the release
/// Thrown when a general API error occurs.
- IObservable Get(long repositoryId, int id);
+ IObservable Get(long repositoryId, long id);
///
/// Gets a single for the specified repository.
@@ -158,7 +158,7 @@ public interface IObservableReleasesClient
/// The id of the release
/// A description of the release to edit
/// Thrown when a general API error occurs.
- IObservable Edit(string owner, string name, int id, ReleaseUpdate data);
+ IObservable Edit(string owner, string name, long id, ReleaseUpdate data);
///
/// Edits an existing for the specified repository.
@@ -170,7 +170,7 @@ public interface IObservableReleasesClient
/// The id of the release
/// A description of the release to edit
/// Thrown when a general API error occurs.
- IObservable Edit(long repositoryId, int id, ReleaseUpdate data);
+ IObservable Edit(long repositoryId, long id, ReleaseUpdate data);
///
/// Deletes an existing for the specified repository.
@@ -182,7 +182,7 @@ public interface IObservableReleasesClient
/// The repository's name
/// The id of the release to delete
/// Thrown when a general API error occurs.
- IObservable Delete(string owner, string name, int id);
+ IObservable Delete(string owner, string name, long id);
///
/// Deletes an existing for the specified repository.
@@ -193,7 +193,7 @@ public interface IObservableReleasesClient
/// The Id of the repository
/// The id of the release to delete
/// Thrown when a general API error occurs.
- IObservable Delete(long repositoryId, int id);
+ IObservable Delete(long repositoryId, long id);
///
/// Gets all for the specified release of the specified repository.
@@ -205,7 +205,7 @@ public interface IObservableReleasesClient
/// The repository's name
/// The id of the .
/// Thrown when a general API error occurs.
- IObservable GetAllAssets(string owner, string name, int id);
+ IObservable GetAllAssets(string owner, string name, long id);
///
/// Gets all for the specified release of the specified repository.
@@ -216,7 +216,7 @@ public interface IObservableReleasesClient
/// The Id of the repository
/// The id of the .
/// Thrown when a general API error occurs.
- IObservable GetAllAssets(long repositoryId, int id);
+ IObservable GetAllAssets(long repositoryId, long id);
///
/// Gets all for the specified release of the specified repository.
@@ -229,7 +229,7 @@ public interface IObservableReleasesClient
/// The id of the .
/// Options for changing the API response
/// Thrown when a general API error occurs.
- IObservable GetAllAssets(string owner, string name, int id, ApiOptions options);
+ IObservable GetAllAssets(string owner, string name, long id, ApiOptions options);
///
/// Gets all for the specified release of the specified repository.
@@ -241,7 +241,7 @@ public interface IObservableReleasesClient
/// The id of the .
/// Options for changing the API response
/// Thrown when a general API error occurs.
- IObservable GetAllAssets(long repositoryId, int id, ApiOptions options);
+ IObservable GetAllAssets(long repositoryId, long id, ApiOptions options);
///
/// Uploads a for the specified release.
@@ -264,7 +264,7 @@ public interface IObservableReleasesClient
/// The repository's owner
/// The repository's name
/// The id of the
- IObservable GetAsset(string owner, string name, int assetId);
+ IObservable GetAsset(string owner, string name, long assetId);
///
/// Gets the specified for the specified release of the specified repository.
@@ -274,7 +274,7 @@ public interface IObservableReleasesClient
///
/// The Id of the repository
/// The id of the
- IObservable GetAsset(long repositoryId, int assetId);
+ IObservable GetAsset(long repositoryId, long assetId);
///
/// Edits the for the specified release of the specified repository.
@@ -286,7 +286,7 @@ public interface IObservableReleasesClient
/// The repository's name
/// The id of the
/// Description of the asset with its amended data
- IObservable EditAsset(string owner, string name, int assetId, ReleaseAssetUpdate data);
+ IObservable EditAsset(string owner, string name, long assetId, ReleaseAssetUpdate data);
///
/// Edits the for the specified release of the specified repository.
@@ -297,7 +297,7 @@ public interface IObservableReleasesClient
/// The Id of the repository
/// The id of the
/// Description of the asset with its amended data
- IObservable EditAsset(long repositoryId, int assetId, ReleaseAssetUpdate data);
+ IObservable EditAsset(long repositoryId, long assetId, ReleaseAssetUpdate data);
///
/// Deletes the specified from the specified repository
@@ -308,7 +308,7 @@ public interface IObservableReleasesClient
/// The repository's owner
/// The repository's name
/// The id of the .
- IObservable DeleteAsset(string owner, string name, int id);
+ IObservable DeleteAsset(string owner, string name, long id);
///
/// Deletes the specified from the specified repository
@@ -318,6 +318,6 @@ public interface IObservableReleasesClient
///
/// The Id of the repository
/// The id of the .
- IObservable DeleteAsset(long repositoryId, int id);
+ IObservable DeleteAsset(long repositoryId, long id);
}
}
diff --git a/Octokit.Reactive/Clients/IObservableRepositoryHooksClient.cs b/Octokit.Reactive/Clients/IObservableRepositoryHooksClient.cs
index e6daa3d909..946e11358a 100644
--- a/Octokit.Reactive/Clients/IObservableRepositoryHooksClient.cs
+++ b/Octokit.Reactive/Clients/IObservableRepositoryHooksClient.cs
@@ -52,7 +52,7 @@ public interface IObservableRepositoryHooksClient
/// The repository's hook id
/// See API documentation for more information.
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get", Justification = "This is ok; we're matching HTTP verbs not keyworks")]
- IObservable Get(string owner, string name, int hookId);
+ IObservable Get(string owner, string name, long hookId);
///
/// Gets a single hook by Id
@@ -61,7 +61,7 @@ public interface IObservableRepositoryHooksClient
/// The repository's hook id
/// See API documentation for more information.
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get", Justification = "This is ok; we're matching HTTP verbs not keyworks")]
- IObservable Get(long repositoryId, int hookId);
+ IObservable Get(long repositoryId, long hookId);
///
/// Creates a hook for a repository
@@ -88,7 +88,7 @@ public interface IObservableRepositoryHooksClient
/// The repository's hook id
/// The requested changes to an edit repository hook
/// See API documentation for more information.
- IObservable Edit(string owner, string name, int hookId, EditRepositoryHook hook);
+ IObservable Edit(string owner, string name, long hookId, EditRepositoryHook hook);
///
/// Edits a hook for a repository
@@ -97,7 +97,7 @@ public interface IObservableRepositoryHooksClient
/// The repository's hook id
/// The requested changes to an edit repository hook
/// See API documentation for more information.
- IObservable Edit(long repositoryId, int hookId, EditRepositoryHook hook);
+ IObservable Edit(long repositoryId, long hookId, EditRepositoryHook hook);
///
/// Tests a hook for a repository
@@ -108,7 +108,7 @@ public interface IObservableRepositoryHooksClient
/// See API documentation for more information.
/// This will trigger the hook with the latest push to the current repository if the hook is subscribed to push events. If the hook
/// is not subscribed to push events, the server will respond with 204 but no test POST will be generated.
- IObservable Test(string owner, string name, int hookId);
+ IObservable Test(string owner, string name, long hookId);
///
/// Tests a hook for a repository
@@ -118,7 +118,7 @@ public interface IObservableRepositoryHooksClient
/// See API documentation for more information.
/// This will trigger the hook with the latest push to the current repository if the hook is subscribed to push events. If the hook
/// is not subscribed to push events, the server will respond with 204 but no test POST will be generated.
- IObservable Test(long repositoryId, int hookId);
+ IObservable Test(long repositoryId, long hookId);
///
/// This will trigger a ping event to be sent to the hook.
@@ -127,7 +127,7 @@ public interface IObservableRepositoryHooksClient
/// The repository's name
/// The repository's hook id
/// See API documentation for more information.
- IObservable Ping(string owner, string name, int hookId);
+ IObservable Ping(string owner, string name, long hookId);
///
/// This will trigger a ping event to be sent to the hook.
@@ -135,7 +135,7 @@ public interface IObservableRepositoryHooksClient
/// The Id of the repository
/// The repository's hook id
/// See API documentation for more information.
- IObservable Ping(long repositoryId, int hookId);
+ IObservable Ping(long repositoryId, long hookId);
///
/// Deletes a hook for a repository
@@ -144,7 +144,7 @@ public interface IObservableRepositoryHooksClient
/// The repository's name
/// The repository's hook id
/// See API documentation for more information.
- IObservable Delete(string owner, string name, int hookId);
+ IObservable Delete(string owner, string name, long hookId);
///
/// Deletes a hook for a repository
@@ -152,6 +152,6 @@ public interface IObservableRepositoryHooksClient
/// The Id of the repository
/// The repository's hook id
/// See API documentation for more information.
- IObservable Delete(long repositoryId, int hookId);
+ IObservable Delete(long repositoryId, long hookId);
}
}
\ No newline at end of file
diff --git a/Octokit.Reactive/Clients/IObservableRepositoryInvitationsClient.cs b/Octokit.Reactive/Clients/IObservableRepositoryInvitationsClient.cs
index 2f339c8fca..047214d197 100644
--- a/Octokit.Reactive/Clients/IObservableRepositoryInvitationsClient.cs
+++ b/Octokit.Reactive/Clients/IObservableRepositoryInvitationsClient.cs
@@ -13,7 +13,7 @@ public interface IObservableRepositoryInvitationsClient
/// See the API documentation for more information.
///
/// The id of the invitation.
- IObservable Accept(int invitationId);
+ IObservable Accept(long invitationId);
///
/// Decline a repository invitation.
@@ -22,7 +22,7 @@ public interface IObservableRepositoryInvitationsClient
/// See the API documentation for more information.
///
/// The id of the invitation.
- IObservable Decline(int invitationId);
+ IObservable Decline(long invitationId);
///
/// Deletes a repository invitation.
@@ -32,7 +32,7 @@ public interface IObservableRepositoryInvitationsClient
///
/// The id of the repository.
/// The id of the invitation.
- IObservable Delete(long repositoryId, int invitationId);
+ IObservable Delete(long repositoryId, long invitationId);
///
/// Gets all invitations for the current user.
@@ -82,6 +82,6 @@ public interface IObservableRepositoryInvitationsClient
/// The id of the invitation.
/// The permission to set.
///
- IObservable Edit(long repositoryId, int invitationId, InvitationUpdate permissions);
+ IObservable Edit(long repositoryId, long invitationId, InvitationUpdate permissions);
}
}
diff --git a/Octokit.Reactive/Clients/IObservableUserAdministrationClient.cs b/Octokit.Reactive/Clients/IObservableUserAdministrationClient.cs
index 844a0e1598..65678cf782 100644
--- a/Octokit.Reactive/Clients/IObservableUserAdministrationClient.cs
+++ b/Octokit.Reactive/Clients/IObservableUserAdministrationClient.cs
@@ -133,6 +133,6 @@ public interface IObservableUserAdministrationClient
///
/// The key to delete
///
- IObservable DeletePublicKey(int keyId);
+ IObservable DeletePublicKey(long keyId);
}
}
diff --git a/Octokit.Reactive/Clients/ObservableAuthorizationsClient.cs b/Octokit.Reactive/Clients/ObservableAuthorizationsClient.cs
index 7da86509db..1458c6fd1d 100644
--- a/Octokit.Reactive/Clients/ObservableAuthorizationsClient.cs
+++ b/Octokit.Reactive/Clients/ObservableAuthorizationsClient.cs
@@ -56,7 +56,7 @@ public IObservable GetAll(ApiOptions options)
///
/// The id of the
/// An
- public IObservable Get(int id)
+ public IObservable Get(long id)
{
return _client.Get(id).ToObservable();
}
@@ -307,7 +307,7 @@ public IObservable RevokeApplicationAuthentication(string clientId, string
/// The id of the
/// The changes to make to the authorization
///
- public IObservable Update(int id, AuthorizationUpdate authorizationUpdate)
+ public IObservable Update(long id, AuthorizationUpdate authorizationUpdate)
{
Ensure.ArgumentNotNull(authorizationUpdate, nameof(authorizationUpdate));
@@ -327,7 +327,7 @@ public IObservable Update(int id, AuthorizationUpdate authorizati
/// Thrown when the current user does not have permission to make the request.
///
/// Thrown when a general API error occurs.
- public IObservable Delete(int id)
+ public IObservable Delete(long id)
{
return _client.Delete(id).ToObservable();
}
@@ -346,7 +346,7 @@ public IObservable Delete(int id)
/// Thrown when the current user does not have permission to make the request.
///
/// Thrown when a general API error occurs.
- public IObservable Delete(int id, string twoFactorAuthenticationCode)
+ public IObservable Delete(long id, string twoFactorAuthenticationCode)
{
return _client.Delete(id, twoFactorAuthenticationCode).ToObservable();
}
diff --git a/Octokit.Reactive/Clients/ObservableDeploymentStatusClient.cs b/Octokit.Reactive/Clients/ObservableDeploymentStatusClient.cs
index e9ec0425ff..525b1bc98b 100644
--- a/Octokit.Reactive/Clients/ObservableDeploymentStatusClient.cs
+++ b/Octokit.Reactive/Clients/ObservableDeploymentStatusClient.cs
@@ -34,7 +34,7 @@ public ObservableDeploymentStatusClient(IGitHubClient client)
/// The owner of the repository.
/// The name of the repository.
/// The id of the deployment.
- public IObservable GetAll(string owner, string name, int deploymentId)
+ public IObservable GetAll(string owner, string name, long deploymentId)
{
Ensure.ArgumentNotNullOrEmptyString(owner, nameof(owner));
Ensure.ArgumentNotNullOrEmptyString(name, nameof(name));
@@ -51,7 +51,7 @@ public IObservable GetAll(string owner, string name, int deplo
///
/// The Id of the repository.
/// The id of the deployment.
- public IObservable GetAll(long repositoryId, int deploymentId)
+ public IObservable GetAll(long repositoryId, long deploymentId)
{
return GetAll(repositoryId, deploymentId, ApiOptions.None);
}
@@ -67,7 +67,7 @@ public IObservable GetAll(long repositoryId, int deploymentId)
/// The name of the repository.
/// The id of the deployment.
/// Options for changing the API response
- public IObservable GetAll(string owner, string name, int deploymentId, ApiOptions options)
+ public IObservable GetAll(string owner, string name, long deploymentId, ApiOptions options)
{
Ensure.ArgumentNotNullOrEmptyString(owner, nameof(owner));
Ensure.ArgumentNotNullOrEmptyString(name, nameof(name));
@@ -87,7 +87,7 @@ public IObservable GetAll(string owner, string name, int deplo
/// The Id of the repository.
/// The id of the deployment.
/// Options for changing the API response
- public IObservable GetAll(long repositoryId, int deploymentId, ApiOptions options)
+ public IObservable GetAll(long repositoryId, long deploymentId, ApiOptions options)
{
Ensure.ArgumentNotNull(options, nameof(options));
@@ -106,7 +106,7 @@ public IObservable GetAll(long repositoryId, int deploymentId,
/// The name of the repository.
/// The id of the deployment.
/// The new deployment status to create.
- public IObservable Create(string owner, string name, int deploymentId, NewDeploymentStatus newDeploymentStatus)
+ public IObservable Create(string owner, string name, long deploymentId, NewDeploymentStatus newDeploymentStatus)
{
Ensure.ArgumentNotNullOrEmptyString(owner, nameof(owner));
Ensure.ArgumentNotNullOrEmptyString(name, nameof(name));
@@ -125,7 +125,7 @@ public IObservable Create(string owner, string name, int deplo
/// The Id of the repository.
/// The id of the deployment.
/// The new deployment status to create.
- public IObservable Create(long repositoryId, int deploymentId, NewDeploymentStatus newDeploymentStatus)
+ public IObservable Create(long repositoryId, long deploymentId, NewDeploymentStatus newDeploymentStatus)
{
Ensure.ArgumentNotNull(newDeploymentStatus, nameof(newDeploymentStatus));
diff --git a/Octokit.Reactive/Clients/ObservableGistCommentsClient.cs b/Octokit.Reactive/Clients/ObservableGistCommentsClient.cs
index ac16b247eb..7aefce8171 100644
--- a/Octokit.Reactive/Clients/ObservableGistCommentsClient.cs
+++ b/Octokit.Reactive/Clients/ObservableGistCommentsClient.cs
@@ -25,7 +25,7 @@ public ObservableGistCommentsClient(IGitHubClient client)
/// The id of the gist
/// The id of the comment
/// IObservable{GistComment}.
- public IObservable Get(string gistId, int commentId)
+ public IObservable Get(string gistId, long commentId)
{
return _client.Get(gistId, commentId).ToObservable();
}
@@ -80,7 +80,7 @@ public IObservable Create(string gistId, string comment)
/// The id of the comment
/// The updated body of the comment
/// IObservable{GistComment}.
- public IObservable Update(string gistId, int commentId, string comment)
+ public IObservable Update(string gistId, long commentId, string comment)
{
Ensure.ArgumentNotNullOrEmptyString(comment, nameof(comment));
@@ -94,7 +94,7 @@ public IObservable Update(string gistId, int commentId, string comm
/// The id of the gist
/// The id of the comment
/// IObservable{Unit}.
- public IObservable Delete(string gistId, int commentId)
+ public IObservable Delete(string gistId, long commentId)
{
return _client.Delete(gistId, commentId).ToObservable();
}
diff --git a/Octokit.Reactive/Clients/ObservableOrganizationHooksClient.cs b/Octokit.Reactive/Clients/ObservableOrganizationHooksClient.cs
index b8e78925b6..302c1c68d3 100644
--- a/Octokit.Reactive/Clients/ObservableOrganizationHooksClient.cs
+++ b/Octokit.Reactive/Clients/ObservableOrganizationHooksClient.cs
@@ -50,7 +50,7 @@ public IObservable GetAll(string org, ApiOptions options)
/// The organizations name
/// The organizations hook id
/// See API documentation for more information.
- public IObservable Get(string org, int hookId)
+ public IObservable Get(string org, long hookId)
{
Ensure.ArgumentNotNullOrEmptyString(org, nameof(org));
@@ -79,7 +79,7 @@ public IObservable Create(string org, NewOrganizationHook hook
/// The hook's parameters
/// See API documentation for more information.
///
- public IObservable Edit(string org, int hookId, EditOrganizationHook hook)
+ public IObservable Edit(string org, long hookId, EditOrganizationHook hook)
{
Ensure.ArgumentNotNullOrEmptyString(org, nameof(org));
Ensure.ArgumentNotNull(hook, nameof(hook));
@@ -93,7 +93,7 @@ public IObservable Edit(string org, int hookId, EditOrganizati
/// The organizations name
/// The organizations hook id
/// See API documentation for more information.
- public IObservable Ping(string org, int hookId)
+ public IObservable Ping(string org, long hookId)
{
Ensure.ArgumentNotNullOrEmptyString(org, nameof(org));
@@ -106,7 +106,7 @@ public IObservable Ping(string org, int hookId)
/// The organizations name
/// The organizations hook id
/// See API documentation for more information.
- public IObservable Delete(string org, int hookId)
+ public IObservable Delete(string org, long hookId)
{
Ensure.ArgumentNotNullOrEmptyString(org, nameof(org));
diff --git a/Octokit.Reactive/Clients/ObservableProjectCardsClient.cs b/Octokit.Reactive/Clients/ObservableProjectCardsClient.cs
index 424f1c7cc3..cab403d621 100644
--- a/Octokit.Reactive/Clients/ObservableProjectCardsClient.cs
+++ b/Octokit.Reactive/Clients/ObservableProjectCardsClient.cs
@@ -30,7 +30,7 @@ public ObservableProjectCardsClient(IGitHubClient client)
/// See the API documentation for more information.
///
/// The id of the column
- public IObservable GetAll(int columnId)
+ public IObservable GetAll(long columnId)
{
return GetAll(columnId, ApiOptions.None);
}
@@ -43,7 +43,7 @@ public IObservable GetAll(int columnId)
///
/// The id of the column
/// Options for changing the API response
- public IObservable GetAll(int columnId, ApiOptions options)
+ public IObservable GetAll(long columnId, ApiOptions options)
{
Ensure.ArgumentNotNull(options, nameof(options));
@@ -58,7 +58,7 @@ public IObservable GetAll(int columnId, ApiOptions options)
///
/// The id of the column
/// Used to filter the list of project cards returned
- public IObservable GetAll(int columnId, ProjectCardRequest request)
+ public IObservable GetAll(long columnId, ProjectCardRequest request)
{
Ensure.ArgumentNotNull(request, nameof(request));
@@ -74,7 +74,7 @@ public IObservable GetAll(int columnId, ProjectCardRequest request)
///