diff --git a/subscriptions.md b/subscriptions.md index 2a973e5..a61dba5 100644 --- a/subscriptions.md +++ b/subscriptions.md @@ -20,16 +20,5 @@ We get the _ghInstallationId_ from **chatopsinstallations** table (_chatOpsInsta We get the _ghArtifactId_, _ghArtifactType_ from the chatopssubscriptions table. -_ghInstallationId_ is used to get authorization to the github client which will be used to make the api calls to get details about the artifact (This will tell us if the app has been uninstalled from the repo/account after the subscription). - -**The following details are passed to the GithubApi:** - * if _ghArtifactType_ is 'Repo': _ghArtifactId_ is passed, it contains the repository id. - * if _ghArtifactType_is 'Account': _ghArtifactId_ is passed, it contains the user id. - - -if the authorization is successfull, using the GithubAPI We will get the details about each subscription. - -Results are displayed as hyperlinks. Text will be the full_name of the repository or the github account name. The hyperlinks will redirect to the repository or the github user account. - -If the user is not signed in, the card will be the showing the message ***Not subscribe to any repositories or accounts.*** +_ghInstallationId_ is used to get authorization to the github client which will be used to make the api calls to get details about the artifact (This will tell us if the app has been uninstalled from the repo/account after the subscription)