05/08/2023 02:01 PM
I am using Github API Integration documentation to setup a connection Github Cloud and the JSON used for "ImportAccountEntJSON" is having < and >
Do we need to remove them and provide the actual values? Are those being used as a substitution variables?
https://docs.saviyntcloud.com/bundle/GitHubRest-v2022x/page/Content/Creating-an-Integration.htm#top
https://<DOMAIN>/orgs/<Org_Name>/members?per_page=100&page=1
05/10/2023 02:28 PM
Yes, please replace them actual domain name and org name, refer below example -
https://xyz.com/orgs/abc/members?per_page=100&page=1
05/10/2023 02:36 PM
05/10/2023 07:01 PM
What if there are multiple organizations in github? Hardcoding org will not import all organizations right?
https://xyz.com/orgs/abc/members?per_page=100&page=1
05/10/2023 08:11 PM
use org API and pass parameter using multicall api
05/12/2023 07:21 AM
1. Can you please provide sample JSON to import multiple orgs through org API ?
2. Also, in the connector, there is a field to mention the list of organizations in ORGANIZATION_FIELD. Does it has to be static list always? Can Saviynt refer to the list mentioned in that field and substitute values in the Org_Name in the API URL?
05/29/2023 08:36 PM
I have used rest api instead of github rest connector
05/30/2023 04:43 AM
Can you please provide import JSON from your REST connector ?
05/26/2023 05:44 AM
Looks like the documentation has been updated and I do not see the below link any more. Does that mean, Saviynt does not support Github Cloud Integration through GithubRest connector?
https://<DOMAIN>/orgs/<Org_Name>/members?per_page=100&page=1
05/29/2023 10:06 PM
Hi @RV
We need to follow the steps mentioned in the section- Parameters for Creating Connection for GitHub Enterprise Version to integrate with the GitHub Enterprise Cloud(Multiple Organizations).
The product team is working on updating the Documentation to make it clearer with proper JSONs and it should be done in the next few days.
I am attaching the correct ConnectionJSON and the ImportAccountEntJSON that you need to use. Please replace the necessary values like Domain.
05/30/2023 04:42 AM
JSONs provided are for Enterprise version and not available for Github Cloud Enterprise Version. Can you please check and provide the correct endpoint APIs for multiple organization imports ?
/api/v3/users?per_page=100
06/01/2023 02:24 PM
I found another API that is not listed in the Saviynt documentation that will give me the list of orgs, however it does not have any accountID/name to associate to the Account in the colsToPropsMap. Can we use this call to get the list of orgs and then use the list to iterate the subsequent calls? Can you provide me any sample using the /orgs API to iterate the list of organization name and then use it in https://<DOMAIN>/orgs/<Org_Name>/members?per_page=100&page=1,
ORGS API : https://api.github.com/user/orgs
06/04/2023 08:37 PM
You can use standard REST connector and achieve this requirement
06/05/2023 04:28 AM
@rushikeshvartak Can you please provide me a sample using the /XYZ endpoint API to iterate the list of organization name and then use it in https://<DOMAIN>/orgs/<Org_Name>/members?per_page=100&page=1 ? I did not find any sample in the REST connector documentation without any references to KeyField on the first call.
06/06/2023 12:55 AM
Hi @RV
Can you please create a Freshdesk support ticket for this issue so that our engineering team can investigate this and provide a solution either by fixing it in the GitHubREST OOTB connector or via the REST Connector?
Thanks.