### Example container creation Source: https://helpcenter.gitprotect.io/deployment-and-configuration/gitprotect-management-service/installation-within-a-docker-container.md A concrete example of the docker run command using specific port and volume paths. ```docker docker run -d \ --name xone \ -p 28555:80 \ -v C:\database_docker\xone:/app/Xopero \ xopero/xopero-one-service ``` -------------------------------- ### Example container deployment Source: https://helpcenter.gitprotect.io/deployment-and-configuration/gitprotect-worker/local-worker/installation-within-a-docker-container.md A concrete example of running the GitProtect worker container with specific configuration values. ```docker docker run -d \ --name gitprotect-worker\ -e ManagementServiceUrl="https://192.168.1.10:28555" \ -e XoperoOverriddenHostName="Docker_agent" \ -v /opt/xone-agent/data:/app/Xopero \ --restart unless-stopped \ xopero/xone-agent:latest ``` -------------------------------- ### Response Example for /git/repositories/getmany Source: https://helpcenter.gitprotect.io/~gitbook/pdf?limit=100&only=yes&page=NSW5wXK5BgUq0h7bRqLS Example response showing a paginated list of repositories along with metadata and a count of removed repositories. ```json { "currentPage": 1, "pageCount": 1, "totalEntries": 2, "result": { "synchronizationInProgress": false, "lastSynchronizationRepositoriesStartTime": 1645546071481, "repositories": [ { "id": "a4ac3ac7d-99e4-a4ac-b5a4-a4acdeee5", "serverId": "a4ac2c7d-99e4-a4ac-b5a4-ea4ac2deee5", "name": "org/repo1", "lastBackup": 0, "lastSuccessfulBackup": 0, "nextBackup": 0, "isProtected": true, "isRemoved": true, "status": 2, "lastBackupTaskStatus": 0, "isPublic": false }, { "id": "a4acf294-b30e-a4ac-aabb-6a4ac6578686", "serverId": "a4ac294-b30e-a4ac-aabb-63a4ac578686", "name": "org/repo2", "lastBackup": 0, "lastSuccessfulBackup": 0, "nextBackup": 1645556400000, "isProtected": true, "isRemoved": true, "status": 2, "lastBackupTaskStatus": 0, "isPublic": false } ], "removedRepositories": 15 } ``` -------------------------------- ### Example policy configuration Source: https://helpcenter.gitprotect.io/storage/cloud-storage/wasabi/permissions.md A complete example of a Wasabi bucket policy configured for GitProtect, including support for immutable storage. ```json { "Version": "2012-10-17", "Statement": [ { "Sid": "AllowPublicRead", "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam::100000176259:user/xone-storage" }, "Action": [ "s3:ListBucket", "s3:GetObject", "s3:PutObject", "s3:DeleteObject", "s3:GetBucketVersioning", "s3:GetBucketObjectLockConfiguration" ], "Resource": [ "arn:aws:s3:::xopero-test/*", "arn:aws:s3:::xopero-test" ] } ] } ``` -------------------------------- ### POST plans/DetachAzureProject Request Example Source: https://helpcenter.gitprotect.io/management/rest-api-for-devops-ecosystems/available-api-requests.md A JSON request body example for detaching an Azure project, requiring the planId and projectId as GUIDs. ```json { "planId": "05d46e44-f026-4cf9-a64a-1dd97328808c", "projectId": "022056bd-0044-0000-0000-004400000003" } ```