Use cases
This article describes a use case of REST API available for GitProtect product.
Last updated
This article describes a use case of REST API available for GitProtect product.
Last updated
At first, use the to get the token that will allow you to proceed with further operations.
After getting the token, select the proper authentication method as described in the API Authentication article.
As you're properly authorized you can now use , which will list all of your organizations with backup plans and their last statuses.
At first, use the to get the token that will allow you to proceed with further operations.
After getting the token, select the proper authentication method as described in the API Authentication.
As you're properly authorized you can now use the , where you'll find the repository name and repository ID that will be required in the next step.
After gathering the IDs of your repositories use with an array of selected repository IDs that you want to activate the license for.
At first, use the to get the token that will allow you to proceed with further operations.
After getting the token, select the proper authentication method as described in the API Authentication.
As you're properly authorized you can now use, where you'll find the repository name and repository ID that will be required in the next step.
After gathering the IDs of your repositories use with an array of selected repository IDs that you want to deactivate the license for.
After getting the token, select the proper authentication method as described in the API Authentication.
At first, use the to get the token that will allow you to proceed with further operations.
As you're properly authorized you can now use the (GitOrganizationController) to find the backup plan ID (GitRepositoryController) to get the repository ID.
After gathering the IDs of your repositories and plans use with a pair of selected repository ID and plan ID.