Ejemplo n.º 1
0
        public async Task Should_invoke_restore()
        {
            var clientManager = new SquidexClientManager("http://localhost:5000", "noapp", "test", "oy6kRrOl00PWsLuVuhCALjsTV9yTv18LlTEbVvTHnyM=");

            var client = clientManager.CreateBackupsClient();

            await client.PostRestoreJobAsync(new RestoreRequestDto
            {
                Url = new Uri("http://localhost:5000/api/apps/aa/backups/547eb007-e702-43a0-a71a-a24faa4efa79"), Name = "app2"
            });
        }