Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

[#57707] add unit tests for remove user from group

Eric Schubert03505a26cb3b
diff --git a/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/add_user_to_group_command.rb b/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/add_user_to_group_command.rb
index 0205180b3e3..11aa671e300 100644
--- a/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/add_user_to_group_command.rb
+++ b/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/add_user_to_group_command.rb
@@ -50,7 +50,7 @@ module Storages
info "Adding #{user} to #{group} through #{url}"
response = http.post(UrlBuilder.url(@storage.uri, "ocs/v1.php/cloud/users", user, "groups"),
- form: { "groupid" => CGI.escapeURIComponent(group) })
+ form: { "groupid" => group })
handle_response(response)
end
diff --git a/modules/storages/spec/common/storages/peripherals/storage_interaction/nextcloud/remove_user_from_group_command_spec.rb b/modules/storages/spec/common/storages/peripherals/storage_interaction/nextcloud/remove_user_from_group_command_spec.rb
new file mode 100644
index 00000000000..38a5c130b27
--- /dev/null
+++ b/modules/storages/spec/common/storages/peripherals/storage_interaction/nextcloud/remove_user_from_group_command_spec.rb
@@ -0,0 +1,170 @@
+# frozen_string_literal: true
+
+#-- copyright
+# OpenProject is an open source project management software.
+# Copyright (C) the OpenProject GmbH
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License version 3.
+#
+# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
+# Copyright (C) 2006-2013 Jean-Philippe Lang
+# Copyright (C) 2010-2013 the ChiliProject Team
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# See COPYRIGHT and LICENSE files for more details.
+#++
+
+require "spec_helper"
+require_module_spec_helper
+
+RSpec.describe Storages::Peripherals::StorageInteraction::Nextcloud::RemoveUserFromGroupCommand, :webmock do
+ let(:storage) { create(:nextcloud_storage_with_local_connection, :as_automatically_managed, username: "vcr") }
+ let(:auth_strategy) { Storages::Peripherals::Registry.resolve("nextcloud.authentication.userless").call }
+
+ describe "basic command setup" do
+ it "is registered as commands.remove_user_from_group" do
+ expect(Storages::Peripherals::Registry
+ .resolve("#{storage}.commands.remove_user_from_group")).to eq(described_class)
+ end
+
+ it "responds to #call with correct parameters" do
+ expect(described_class).to respond_to(:call)
+
+ method = described_class.method(:call)
+ expect(method.parameters).to contain_exactly(%i[keyreq storage],
+ %i[keyreq auth_strategy],
+ %i[keyreq user],
+ %i[keyreq group])
+ end
+ end
+
+ shared_examples_for "failing request" do |error_code:|
+ it "returns a failure" do
+ result = described_class.call(storage:, auth_strategy:, user:, group:)
+ expect(result).to be_failure
+
+ error = result.errors
+ expect(error.code).to eq(error_code)
+ expect(error.data.source).to eq(described_class)
+ end
+ end
+
+ context "if user exists in target group", vcr: "nextcloud/remove_user_from_group_success" do
+ let(:user) { "[email protected]" }
+ let(:group) { "Sith Assassins" }
+
+ before do
+ create_group(group)
+ add_user_to_group(user, group)
+
+ # There is a bug in the group folder API that does not allow to remove a user from a group,
+ # if this is its last group
+ create_group("Sith Assassins Backup")
+ add_user_to_group(user, "Sith Assassins Backup")
+ end
+
+ after do
+ remove_group(group)
+ remove_group("Sith Assassins Backup")
+ end
+
+ it "returns a success" do
+ members = group_members(group)
+ expect(members).to include(user)
+
+ result = described_class.call(storage:, auth_strategy:, user:, group:)
+ expect(result).to be_success
+
+ members = group_members(group)
+ expect(members).not_to include(user)
+ end
+ end
+
+ context "if user does not exist in target group", vcr: "nextcloud/remove_user_from_group_no_user" do
+ let(:user) { "[email protected]" }
+ let(:group) { "Sith Assassins" }
+
+ before do
+ create_group(group)
+ end
+
+ after do
+ remove_group(group)
+ end
+
+ it "returns a success" do
+ members = group_members(group)
+ expect(members).not_to include(user)
+
+ result = described_class.call(storage:, auth_strategy:, user:, group:)
+ expect(result).to be_success
+
+ members = group_members(group)
+ expect(members).not_to include(user)
+ end
+ end
+
+ context "if target group does not exist", vcr: "nextcloud/remove_user_from_group_not_existing_group" do
+ let(:user) { "[email protected]" }
+ let(:group) { "Sith Assassins" }
+
+ it_behaves_like "failing request", error_code: :group_does_not_exist
+ end
+
+ context "if user does not exist", vcr: "nextcloud/remove_user_from_group_not_existing_user" do
+ let(:user) { "this is not the user you are looking for" }
+ let(:group) { "Sith Assassins" }
+
+ before do
+ create_group(group)
+ end
+
+ after do
+ remove_group(group)
+ end
+
+ it_behaves_like "failing request", error_code: :user_does_not_exist
+ end
+
+ private
+
+ def auth = Storages::Peripherals::StorageInteraction::Authentication[auth_strategy]
+
+ def create_group(group)
+ auth.call(storage:, http_options: { headers: { "OCS-APIRequest" => "true" } }) do |http|
+ http.post(Storages::UrlBuilder.url(storage.uri, "ocs/v1.php/cloud/groups"),
+ form: { "groupid" => group })
+ end
+ end
+
+ def remove_group(group)
+ auth.call(storage:, http_options: { headers: { "OCS-APIRequest" => "true" } }) do |http|
+ http.delete(Storages::UrlBuilder.url(storage.uri, "/ocs/v1.php/cloud/groups", group))
+ end
+ end
+
+ def add_user_to_group(user, group)
+ Storages::Peripherals::StorageInteraction::Nextcloud::AddUserToGroupCommand
+ .call(storage:, auth_strategy:, user:, group:)
+ end
+
+ def group_members(group)
+ Storages::Peripherals::StorageInteraction::Nextcloud::GroupUsersQuery
+ .call(storage:, auth_strategy:, group:)
+ .result
+ end
+end
diff --git a/modules/storages/spec/common/storages/peripherals/storage_interaction/nextcloud/set_permissions_command_spec.rb b/modules/storages/spec/common/storages/peripherals/storage_interaction/nextcloud/set_permissions_command_spec.rb
index 0f5e7ef7b2b..dc04ea1a818 100644
--- a/modules/storages/spec/common/storages/peripherals/storage_interaction/nextcloud/set_permissions_command_spec.rb
+++ b/modules/storages/spec/common/storages/peripherals/storage_interaction/nextcloud/set_permissions_command_spec.rb
@@ -32,7 +32,6 @@ require "spec_helper"
require_module_spec_helper
RSpec.describe Storages::Peripherals::StorageInteraction::Nextcloud::SetPermissionsCommand, :webmock do
- let(:user) { create(:user) }
let(:storage) { create(:nextcloud_storage_with_local_connection, :as_automatically_managed, username: "vcr") }
let(:auth_strategy) { Storages::Peripherals::Registry.resolve("nextcloud.authentication.userless").call }
@@ -78,7 +77,7 @@ RSpec.describe Storages::Peripherals::StorageInteraction::Nextcloud::SetPermissi
end
context "if a user does not exist",
- skip: "When setting permissions for a user that does not exists, nextcloud's response doesn't contain the" \
+ skip: "When setting permissions for a user that does not exists, nextcloud's response doesn't contain the " \
"needed information. We need to work around this by maybe having a separate request fetching ACLs " \
"after setting them.",
vcr: "nextcloud/set_permissions_invalid_user_id" do
diff --git a/modules/storages/spec/support/fixtures/vcr_cassettes/nextcloud/remove_user_from_group_no_user.yml b/modules/storages/spec/support/fixtures/vcr_cassettes/nextcloud/remove_user_from_group_no_user.yml
new file mode 100644
index 00000000000..f098220542d
--- /dev/null
+++ b/modules/storages/spec/support/fixtures/vcr_cassettes/nextcloud/remove_user_from_group_no_user.yml
@@ -0,0 +1,441 @@
+---
+http_interactions:
+- request:
+ method: post
+ uri: https://nextcloud.local/ocs/v1.php/cloud/groups
+ body:
+ encoding: ASCII-8BIT
+ string: groupid=Sith+Assassins
+ headers:
+ Authorization:
+ - Basic <BASIC_AUTH>
+ Ocs-Apirequest:
+ - 'true'
+ User-Agent:
+ - httpx.rb/1.3.1
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Content-Type:
+ - application/x-www-form-urlencoded
+ Content-Length:
+ - '22'
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Cache-Control:
+ - no-cache, no-store, must-revalidate
+ Content-Encoding:
+ - gzip
+ Content-Security-Policy:
+ - default-src 'none';base-uri 'none';manifest-src 'self';frame-ancestors 'none'
+ Content-Type:
+ - application/xml; charset=utf-8
+ Date:
+ - Wed, 02 Oct 2024 08:58:12 GMT
+ Expires:
+ - Thu, 19 Nov 1981 08:52:00 GMT
+ Feature-Policy:
+ - autoplay 'none';camera 'none';fullscreen 'none';geolocation 'none';microphone
+ 'none';payment 'none'
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Server:
+ - Apache/2.4.59 (Debian)
+ Set-Cookie:
+ - oc07ul6b4oaw=4b77daceffa6f716fb2786c6afce67c9; path=/; secure; HttpOnly; SameSite=Lax,
+ oc_sessionPassphrase=Yxoi6jqURnE7%2FYqIbT7IU6ENgs4f6kEvdRCKaELLl5dbfgsuNBYMnoWBtp5M1ZyPujSfqWc5B8OdHbu5JacsK%2F0bci%2FXknswobNdzrakeFrFmfoHmlpQQrJPy0JgMTV7;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=4b77daceffa6f716fb2786c6afce67c9;
+ path=/; secure; HttpOnly; SameSite=Lax, __Host-nc_sameSiteCookielax=true;
+ path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax,
+ __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri,
+ 31-Dec-2100 23:59:59 GMT; SameSite=strict, oc07ul6b4oaw=4b77daceffa6f716fb2786c6afce67c9;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=4b77daceffa6f716fb2786c6afce67c9;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=3ed24033c3c77bc9f9cc7da97bc2f9ab;
+ path=/; secure; HttpOnly; SameSite=Lax, cookie_test=test; expires=Wed, 02
+ Oct 2024 09:58:13 GMT; Max-Age=3600
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - SAMEORIGIN
+ X-Permitted-Cross-Domain-Policies:
+ - none
+ X-Powered-By:
+ - PHP/8.2.21
+ X-Request-Id:
+ - 0cOjIacvQC3qkgF9cnAo
+ X-Robots-Tag:
+ - noindex, nofollow
+ X-Xss-Protection:
+ - 1; mode=block
+ Content-Length:
+ - '140'
+ body:
+ encoding: UTF-8
+ string: |
+ <?xml version="1.0"?>
+ <ocs>
+ <meta>
+ <status>ok</status>
+ <statuscode>100</statuscode>
+ <message>OK</message>
+ <totalitems></totalitems>
+ <itemsperpage></itemsperpage>
+ </meta>
+ <data/>
+ </ocs>
+ recorded_at: Wed, 02 Oct 2024 08:58:13 GMT
+- request:
+ method: get
+ uri: https://nextcloud.local/ocs/v1.php/cloud/groups/Sith%20Assassins
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ Authorization:
+ - Basic <BASIC_AUTH>
+ Ocs-Apirequest:
+ - 'true'
+ User-Agent:
+ - httpx.rb/1.3.1
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Cache-Control:
+ - no-cache, no-store, must-revalidate
+ Content-Encoding:
+ - gzip
+ Content-Security-Policy:
+ - default-src 'none';base-uri 'none';manifest-src 'self';frame-ancestors 'none'
+ Content-Type:
+ - application/xml; charset=utf-8
+ Date:
+ - Wed, 02 Oct 2024 08:58:13 GMT
+ Expires:
+ - Thu, 19 Nov 1981 08:52:00 GMT
+ Feature-Policy:
+ - autoplay 'none';camera 'none';fullscreen 'none';geolocation 'none';microphone
+ 'none';payment 'none'
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Server:
+ - Apache/2.4.59 (Debian)
+ Set-Cookie:
+ - oc07ul6b4oaw=88b5c6986b310430c7b8f162d2ad1862; path=/; secure; HttpOnly; SameSite=Lax,
+ oc_sessionPassphrase=JoLKDWPYLnodumFVkcNwdTSO%2BhDlk3IGUJ0Z2ABSkQEY3gzWJN4NgEMpQw%2FiZEwA7iem8VGjgPCPDSDln2iLelpx4mrEA5tJlL9IqlC2L6hEi%2BcHMzLs2X1WBymyPoFI;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=88b5c6986b310430c7b8f162d2ad1862;
+ path=/; secure; HttpOnly; SameSite=Lax, __Host-nc_sameSiteCookielax=true;
+ path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax,
+ __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri,
+ 31-Dec-2100 23:59:59 GMT; SameSite=strict, oc07ul6b4oaw=88b5c6986b310430c7b8f162d2ad1862;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=88b5c6986b310430c7b8f162d2ad1862;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=939f1be1763b22f7c9aeda8ca1dabba3;
+ path=/; secure; HttpOnly; SameSite=Lax, cookie_test=test; expires=Wed, 02
+ Oct 2024 09:58:13 GMT; Max-Age=3600
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - SAMEORIGIN
+ X-Permitted-Cross-Domain-Policies:
+ - none
+ X-Powered-By:
+ - PHP/8.2.21
+ X-Request-Id:
+ - MMCltVGkg3EK0cffx3r7
+ X-Robots-Tag:
+ - noindex, nofollow
+ X-Xss-Protection:
+ - 1; mode=block
+ Content-Length:
+ - '146'
+ body:
+ encoding: UTF-8
+ string: |
+ <?xml version="1.0"?>
+ <ocs>
+ <meta>
+ <status>ok</status>
+ <statuscode>100</statuscode>
+ <message>OK</message>
+ <totalitems></totalitems>
+ <itemsperpage></itemsperpage>
+ </meta>
+ <data>
+ <users/>
+ </data>
+ </ocs>
+ recorded_at: Wed, 02 Oct 2024 08:58:13 GMT
+- request:
+ method: delete
+ uri: https://nextcloud.local/ocs/v1.php/cloud/users/[email protected]/groups?groupid=Sith%20Assassins
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ Authorization:
+ - Basic <BASIC_AUTH>
+ Ocs-Apirequest:
+ - 'true'
+ User-Agent:
+ - httpx.rb/1.3.1
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Cache-Control:
+ - no-cache, no-store, must-revalidate
+ Content-Encoding:
+ - gzip
+ Content-Security-Policy:
+ - default-src 'none';base-uri 'none';manifest-src 'self';frame-ancestors 'none'
+ Content-Type:
+ - application/xml; charset=utf-8
+ Date:
+ - Wed, 02 Oct 2024 08:58:13 GMT
+ Expires:
+ - Thu, 19 Nov 1981 08:52:00 GMT
+ Feature-Policy:
+ - autoplay 'none';camera 'none';fullscreen 'none';geolocation 'none';microphone
+ 'none';payment 'none'
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Server:
+ - Apache/2.4.59 (Debian)
+ Set-Cookie:
+ - oc07ul6b4oaw=4c32f8e1bf9e2ec8bd68ab84897249dd; path=/; secure; HttpOnly; SameSite=Lax,
+ oc_sessionPassphrase=jqZTuUpYX6MKpbeGqy0fcVdROW7rOGHWQKOsp%2FLnVcdcYslbxLDbhMqrqVKzS5VYYjvMD2MQN4pBJqD0aiyYohNFcswmeR7UGXFpBbpRXio4zeZ8X6687XRClUT4%2ByaL;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=4c32f8e1bf9e2ec8bd68ab84897249dd;
+ path=/; secure; HttpOnly; SameSite=Lax, __Host-nc_sameSiteCookielax=true;
+ path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax,
+ __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri,
+ 31-Dec-2100 23:59:59 GMT; SameSite=strict, oc07ul6b4oaw=4c32f8e1bf9e2ec8bd68ab84897249dd;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=4c32f8e1bf9e2ec8bd68ab84897249dd;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=10d4f959d7a8a22574f033ede3212a55;
+ path=/; secure; HttpOnly; SameSite=Lax, cookie_test=test; expires=Wed, 02
+ Oct 2024 09:58:14 GMT; Max-Age=3600
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - SAMEORIGIN
+ X-Permitted-Cross-Domain-Policies:
+ - none
+ X-Powered-By:
+ - PHP/8.2.21
+ X-Request-Id:
+ - c81IeZ1EhAht8jPlKUFb
+ X-Robots-Tag:
+ - noindex, nofollow
+ X-Xss-Protection:
+ - 1; mode=block
+ Content-Length:
+ - '140'
+ body:
+ encoding: UTF-8
+ string: |
+ <?xml version="1.0"?>
+ <ocs>
+ <meta>
+ <status>ok</status>
+ <statuscode>100</statuscode>
+ <message>OK</message>
+ <totalitems></totalitems>
+ <itemsperpage></itemsperpage>
+ </meta>
+ <data/>
+ </ocs>
+ recorded_at: Wed, 02 Oct 2024 08:58:14 GMT
+- request:
+ method: get
+ uri: https://nextcloud.local/ocs/v1.php/cloud/groups/Sith%20Assassins
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ Authorization:
+ - Basic <BASIC_AUTH>
+ Ocs-Apirequest:
+ - 'true'
+ User-Agent:
+ - httpx.rb/1.3.1
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Cache-Control:
+ - no-cache, no-store, must-revalidate
+ Content-Encoding:
+ - gzip
+ Content-Security-Policy:
+ - default-src 'none';base-uri 'none';manifest-src 'self';frame-ancestors 'none'
+ Content-Type:
+ - application/xml; charset=utf-8
+ Date:
+ - Wed, 02 Oct 2024 08:58:14 GMT
+ Expires:
+ - Thu, 19 Nov 1981 08:52:00 GMT
+ Feature-Policy:
+ - autoplay 'none';camera 'none';fullscreen 'none';geolocation 'none';microphone
+ 'none';payment 'none'
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Server:
+ - Apache/2.4.59 (Debian)
+ Set-Cookie:
+ - oc07ul6b4oaw=8a9e929855aad11bcf4d5d958f9e4296; path=/; secure; HttpOnly; SameSite=Lax,
+ oc_sessionPassphrase=Yta9qm9zJHN0YxSo7eCMLQ1Gk%2FDF2%2BV4s5c42%2B8%2F0vHKuKrM6t%2BuirpOA8Sgb1NK8zKJow8BmqhB1p3bYu9iDd95jKpS2gGvU%2FeKKGV2gCDRF08hUrl6IxGpb3CBPtM1;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=8a9e929855aad11bcf4d5d958f9e4296;
+ path=/; secure; HttpOnly; SameSite=Lax, __Host-nc_sameSiteCookielax=true;
+ path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax,
+ __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri,
+ 31-Dec-2100 23:59:59 GMT; SameSite=strict, oc07ul6b4oaw=8a9e929855aad11bcf4d5d958f9e4296;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=8a9e929855aad11bcf4d5d958f9e4296;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=77ea970529ea664c1d437da2627ad061;
+ path=/; secure; HttpOnly; SameSite=Lax, cookie_test=test; expires=Wed, 02
+ Oct 2024 09:58:14 GMT; Max-Age=3600
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - SAMEORIGIN
+ X-Permitted-Cross-Domain-Policies:
+ - none
+ X-Powered-By:
+ - PHP/8.2.21
+ X-Request-Id:
+ - bslKeY1r6aayaZvSvpwu
+ X-Robots-Tag:
+ - noindex, nofollow
+ X-Xss-Protection:
+ - 1; mode=block
+ Content-Length:
+ - '146'
+ body:
+ encoding: UTF-8
+ string: |
+ <?xml version="1.0"?>
+ <ocs>
+ <meta>
+ <status>ok</status>
+ <statuscode>100</statuscode>
+ <message>OK</message>
+ <totalitems></totalitems>
+ <itemsperpage></itemsperpage>
+ </meta>
+ <data>
+ <users/>
+ </data>
+ </ocs>
+ recorded_at: Wed, 02 Oct 2024 08:58:14 GMT
+- request:
+ method: delete
+ uri: https://nextcloud.local/ocs/v1.php/cloud/groups/Sith%20Assassins
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ Authorization:
+ - Basic <BASIC_AUTH>
+ Ocs-Apirequest:
+ - 'true'
+ User-Agent:
+ - httpx.rb/1.3.1
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Cache-Control:
+ - no-cache, no-store, must-revalidate
+ Content-Encoding:
+ - gzip
+ Content-Security-Policy:
+ - default-src 'none';base-uri 'none';manifest-src 'self';frame-ancestors 'none'
+ Content-Type:
+ - application/xml; charset=utf-8
+ Date:
+ - Wed, 02 Oct 2024 08:58:14 GMT
+ Expires:
+ - Thu, 19 Nov 1981 08:52:00 GMT
+ Feature-Policy:
+ - autoplay 'none';camera 'none';fullscreen 'none';geolocation 'none';microphone
+ 'none';payment 'none'
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Server:
+ - Apache/2.4.59 (Debian)
+ Set-Cookie:
+ - oc07ul6b4oaw=0ead71a82378b22c2bbb3060d8ffab8a; path=/; secure; HttpOnly; SameSite=Lax,
+ oc_sessionPassphrase=XvJw8OYi2MMvJs0BkYj8ddpUUvMe4FBvUIGVqsv95M33gVNL7iXhcIrpPTniQH9iPdkSKSttpj2GQ1nKZrhvlQs%2FXIkpZeyvNXOgjTNiQK3oU8z4TFy0CgOd%2FoyE3OX3;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=0ead71a82378b22c2bbb3060d8ffab8a;
+ path=/; secure; HttpOnly; SameSite=Lax, __Host-nc_sameSiteCookielax=true;
+ path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax,
+ __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri,
+ 31-Dec-2100 23:59:59 GMT; SameSite=strict, oc07ul6b4oaw=0ead71a82378b22c2bbb3060d8ffab8a;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=0ead71a82378b22c2bbb3060d8ffab8a;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=c4fb12bcd9c813bde3dd7a4157d3d1ca;
+ path=/; secure; HttpOnly; SameSite=Lax, cookie_test=test; expires=Wed, 02
+ Oct 2024 09:58:15 GMT; Max-Age=3600
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - SAMEORIGIN
+ X-Permitted-Cross-Domain-Policies:
+ - none
+ X-Powered-By:
+ - PHP/8.2.21
+ X-Request-Id:
+ - aKS6qkNzHyjEx68iTvqM
+ X-Robots-Tag:
+ - noindex, nofollow
+ X-Xss-Protection:
+ - 1; mode=block
+ Content-Length:
+ - '140'
+ body:
+ encoding: UTF-8
+ string: |
+ <?xml version="1.0"?>
+ <ocs>
+ <meta>
+ <status>ok</status>
+ <statuscode>100</statuscode>
+ <message>OK</message>
+ <totalitems></totalitems>
+ <itemsperpage></itemsperpage>
+ </meta>
+ <data/>
+ </ocs>
+ recorded_at: Wed, 02 Oct 2024 08:58:15 GMT
+recorded_with: VCR 6.3.1
diff --git a/modules/storages/spec/support/fixtures/vcr_cassettes/nextcloud/remove_user_from_group_not_existing_group.yml b/modules/storages/spec/support/fixtures/vcr_cassettes/nextcloud/remove_user_from_group_not_existing_group.yml
new file mode 100644
index 00000000000..2e9bc7c67d3
--- /dev/null
+++ b/modules/storages/spec/support/fixtures/vcr_cassettes/nextcloud/remove_user_from_group_not_existing_group.yml
@@ -0,0 +1,89 @@
+---
+http_interactions:
+- request:
+ method: delete
+ uri: https://nextcloud.local/ocs/v1.php/cloud/users/[email protected]/groups?groupid=Sith%20Assassins
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ Authorization:
+ - Basic <BASIC_AUTH>
+ Ocs-Apirequest:
+ - 'true'
+ User-Agent:
+ - httpx.rb/1.3.1
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Cache-Control:
+ - no-cache, no-store, must-revalidate
+ Content-Encoding:
+ - gzip
+ Content-Security-Policy:
+ - default-src 'none';base-uri 'none';manifest-src 'self';frame-ancestors 'none'
+ Content-Type:
+ - application/xml; charset=utf-8
+ Date:
+ - Wed, 02 Oct 2024 09:22:07 GMT
+ Expires:
+ - Thu, 19 Nov 1981 08:52:00 GMT
+ Feature-Policy:
+ - autoplay 'none';camera 'none';fullscreen 'none';geolocation 'none';microphone
+ 'none';payment 'none'
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Server:
+ - Apache/2.4.59 (Debian)
+ Set-Cookie:
+ - oc07ul6b4oaw=1268bd43515edb0451a291a6830ed06c; path=/; secure; HttpOnly; SameSite=Lax,
+ oc_sessionPassphrase=4vFg%2FAOLMRvzdAaOQNopb6quF9ul%2BP1%2Bx7DhlQWZBQ%2FeKPNSf06vvE%2BkWaY0sYt50Muy0XjodnSb6wFx2UTY3tQrTnCfJgOWLFKLb7VCbA4lz8YZsutmaPwsyUH6N7Yn;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=1268bd43515edb0451a291a6830ed06c;
+ path=/; secure; HttpOnly; SameSite=Lax, __Host-nc_sameSiteCookielax=true;
+ path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax,
+ __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri,
+ 31-Dec-2100 23:59:59 GMT; SameSite=strict, oc07ul6b4oaw=1268bd43515edb0451a291a6830ed06c;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=1268bd43515edb0451a291a6830ed06c;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=78e105ea77164ac9b9d89dcfddf0bed4;
+ path=/; secure; HttpOnly; SameSite=Lax, cookie_test=test; expires=Wed, 02
+ Oct 2024 10:22:07 GMT; Max-Age=3600
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - SAMEORIGIN
+ X-Permitted-Cross-Domain-Policies:
+ - none
+ X-Powered-By:
+ - PHP/8.2.21
+ X-Request-Id:
+ - KlZgbP7dEX333uUrRpw9
+ X-Robots-Tag:
+ - noindex, nofollow
+ X-Xss-Protection:
+ - 1; mode=block
+ Content-Length:
+ - '137'
+ body:
+ encoding: UTF-8
+ string: |
+ <?xml version="1.0"?>
+ <ocs>
+ <meta>
+ <status>failure</status>
+ <statuscode>102</statuscode>
+ <message></message>
+ <totalitems></totalitems>
+ <itemsperpage></itemsperpage>
+ </meta>
+ <data/>
+ </ocs>
+ recorded_at: Wed, 02 Oct 2024 09:22:07 GMT
+recorded_with: VCR 6.3.1
diff --git a/modules/storages/spec/support/fixtures/vcr_cassettes/nextcloud/remove_user_from_group_not_existing_user.yml b/modules/storages/spec/support/fixtures/vcr_cassettes/nextcloud/remove_user_from_group_not_existing_user.yml
new file mode 100644
index 00000000000..b888b3dd6c6
--- /dev/null
+++ b/modules/storages/spec/support/fixtures/vcr_cassettes/nextcloud/remove_user_from_group_not_existing_user.yml
@@ -0,0 +1,265 @@
+---
+http_interactions:
+- request:
+ method: post
+ uri: https://nextcloud.local/ocs/v1.php/cloud/groups
+ body:
+ encoding: ASCII-8BIT
+ string: groupid=Sith+Assassins
+ headers:
+ Authorization:
+ - Basic <BASIC_AUTH>
+ Ocs-Apirequest:
+ - 'true'
+ User-Agent:
+ - httpx.rb/1.3.1
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Content-Type:
+ - application/x-www-form-urlencoded
+ Content-Length:
+ - '22'
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Cache-Control:
+ - no-cache, no-store, must-revalidate
+ Content-Encoding:
+ - gzip
+ Content-Security-Policy:
+ - default-src 'none';base-uri 'none';manifest-src 'self';frame-ancestors 'none'
+ Content-Type:
+ - application/xml; charset=utf-8
+ Date:
+ - Wed, 02 Oct 2024 09:22:07 GMT
+ Expires:
+ - Thu, 19 Nov 1981 08:52:00 GMT
+ Feature-Policy:
+ - autoplay 'none';camera 'none';fullscreen 'none';geolocation 'none';microphone
+ 'none';payment 'none'
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Server:
+ - Apache/2.4.59 (Debian)
+ Set-Cookie:
+ - oc07ul6b4oaw=b61fcb0618674c0e9dba3b0e144f31a1; path=/; secure; HttpOnly; SameSite=Lax,
+ oc_sessionPassphrase=xDPLcP2zSE4t3WlWir7Tu0BLSPe%2FoYIlgw%2BSkoB2MjA9SjJip76KieCNxD2dO9RSQ1hzShE2tLxKpbEPBgKAf0n648CKPTU7nPYqmygqiJc54qQ6nh3uqZdWrwS6uOfz;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=b61fcb0618674c0e9dba3b0e144f31a1;
+ path=/; secure; HttpOnly; SameSite=Lax, __Host-nc_sameSiteCookielax=true;
+ path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax,
+ __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri,
+ 31-Dec-2100 23:59:59 GMT; SameSite=strict, oc07ul6b4oaw=b61fcb0618674c0e9dba3b0e144f31a1;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=b61fcb0618674c0e9dba3b0e144f31a1;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=24406d2d4ff531eccaad07d013320046;
+ path=/; secure; HttpOnly; SameSite=Lax, cookie_test=test; expires=Wed, 02
+ Oct 2024 10:22:08 GMT; Max-Age=3600
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - SAMEORIGIN
+ X-Permitted-Cross-Domain-Policies:
+ - none
+ X-Powered-By:
+ - PHP/8.2.21
+ X-Request-Id:
+ - NOT0l6jqbcZdLLZD5ed9
+ X-Robots-Tag:
+ - noindex, nofollow
+ X-Xss-Protection:
+ - 1; mode=block
+ Content-Length:
+ - '140'
+ body:
+ encoding: UTF-8
+ string: |
+ <?xml version="1.0"?>
+ <ocs>
+ <meta>
+ <status>ok</status>
+ <statuscode>100</statuscode>
+ <message>OK</message>
+ <totalitems></totalitems>
+ <itemsperpage></itemsperpage>
+ </meta>
+ <data/>
+ </ocs>
+ recorded_at: Wed, 02 Oct 2024 09:22:08 GMT
+- request:
+ method: delete
+ uri: https://nextcloud.local/ocs/v1.php/cloud/users/this%20is%20not%20the%20user%20you%20are%20looking%20for/groups?groupid=Sith%20Assassins
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ Authorization:
+ - Basic <BASIC_AUTH>
+ Ocs-Apirequest:
+ - 'true'
+ User-Agent:
+ - httpx.rb/1.3.1
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Cache-Control:
+ - no-cache, no-store, must-revalidate
+ Content-Encoding:
+ - gzip
+ Content-Security-Policy:
+ - default-src 'none';base-uri 'none';manifest-src 'self';frame-ancestors 'none'
+ Content-Type:
+ - application/xml; charset=utf-8
+ Date:
+ - Wed, 02 Oct 2024 09:22:08 GMT
+ Expires:
+ - Thu, 19 Nov 1981 08:52:00 GMT
+ Feature-Policy:
+ - autoplay 'none';camera 'none';fullscreen 'none';geolocation 'none';microphone
+ 'none';payment 'none'
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Server:
+ - Apache/2.4.59 (Debian)
+ Set-Cookie:
+ - oc07ul6b4oaw=87685aa630570b159d168b2a320a521c; path=/; secure; HttpOnly; SameSite=Lax,
+ oc_sessionPassphrase=3zN79tsXwadRmhCJkkl0XjBCtibWoJRQgnYy1n0RGIv5dOhDEbnV9YoWtWE80R3Z%2FVfOhGd0K7yiq%2Fn%2BvD1WmBGjSxjWzVydqRxjSyNjc9dkMt4leteJ%2Fr1GkKEMBDYj;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=87685aa630570b159d168b2a320a521c;
+ path=/; secure; HttpOnly; SameSite=Lax, __Host-nc_sameSiteCookielax=true;
+ path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax,
+ __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri,
+ 31-Dec-2100 23:59:59 GMT; SameSite=strict, oc07ul6b4oaw=87685aa630570b159d168b2a320a521c;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=87685aa630570b159d168b2a320a521c;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=4bb16dc62d3c15da9760a2fd82071bfe;
+ path=/; secure; HttpOnly; SameSite=Lax, cookie_test=test; expires=Wed, 02
+ Oct 2024 10:22:08 GMT; Max-Age=3600
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - SAMEORIGIN
+ X-Permitted-Cross-Domain-Policies:
+ - none
+ X-Powered-By:
+ - PHP/8.2.21
+ X-Request-Id:
+ - nbWnoHzcO5a6q0iWJHe1
+ X-Robots-Tag:
+ - noindex, nofollow
+ X-Xss-Protection:
+ - 1; mode=block
+ Content-Length:
+ - '138'
+ body:
+ encoding: UTF-8
+ string: |
+ <?xml version="1.0"?>
+ <ocs>
+ <meta>
+ <status>failure</status>
+ <statuscode>103</statuscode>
+ <message></message>
+ <totalitems></totalitems>
+ <itemsperpage></itemsperpage>
+ </meta>
+ <data/>
+ </ocs>
+ recorded_at: Wed, 02 Oct 2024 09:22:08 GMT
+- request:
+ method: delete
+ uri: https://nextcloud.local/ocs/v1.php/cloud/groups/Sith%20Assassins
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ Authorization:
+ - Basic <BASIC_AUTH>
+ Ocs-Apirequest:
+ - 'true'
+ User-Agent:
+ - httpx.rb/1.3.1
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Cache-Control:
+ - no-cache, no-store, must-revalidate
+ Content-Encoding:
+ - gzip
+ Content-Security-Policy:
+ - default-src 'none';base-uri 'none';manifest-src 'self';frame-ancestors 'none'
+ Content-Type:
+ - application/xml; charset=utf-8
+ Date:
+ - Wed, 02 Oct 2024 09:22:08 GMT
+ Expires:
+ - Thu, 19 Nov 1981 08:52:00 GMT
+ Feature-Policy:
+ - autoplay 'none';camera 'none';fullscreen 'none';geolocation 'none';microphone
+ 'none';payment 'none'
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Server:
+ - Apache/2.4.59 (Debian)
+ Set-Cookie:
+ - oc07ul6b4oaw=1beb5797c05d9341355485f88fd3f81f; path=/; secure; HttpOnly; SameSite=Lax,
+ oc_sessionPassphrase=GmzZfJ%2F6wKRSYKOyOs2D0DZVvix6lWP6F6TLayEoW2EJfSC02X45PDJj0GhCzqSm2FNG%2BLGlRHFsUoHqYS%2FS0Rny7VvR7oWEMtZ6ikJS3m%2Bt%2Fza%2F%2ByJ0ul3tUMwSu%2BxG;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=1beb5797c05d9341355485f88fd3f81f;
+ path=/; secure; HttpOnly; SameSite=Lax, __Host-nc_sameSiteCookielax=true;
+ path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax,
+ __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri,
+ 31-Dec-2100 23:59:59 GMT; SameSite=strict, oc07ul6b4oaw=1beb5797c05d9341355485f88fd3f81f;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=1beb5797c05d9341355485f88fd3f81f;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=6a7b5ee116de982a8621656589d99c51;
+ path=/; secure; HttpOnly; SameSite=Lax, cookie_test=test; expires=Wed, 02
+ Oct 2024 10:22:09 GMT; Max-Age=3600
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - SAMEORIGIN
+ X-Permitted-Cross-Domain-Policies:
+ - none
+ X-Powered-By:
+ - PHP/8.2.21
+ X-Request-Id:
+ - diMEmfYGOv1nfNmdkjAu
+ X-Robots-Tag:
+ - noindex, nofollow
+ X-Xss-Protection:
+ - 1; mode=block
+ Content-Length:
+ - '140'
+ body:
+ encoding: UTF-8
+ string: |
+ <?xml version="1.0"?>
+ <ocs>
+ <meta>
+ <status>ok</status>
+ <statuscode>100</statuscode>
+ <message>OK</message>
+ <totalitems></totalitems>
+ <itemsperpage></itemsperpage>
+ </meta>
+ <data/>
+ </ocs>
+ recorded_at: Wed, 02 Oct 2024 09:22:09 GMT
+recorded_with: VCR 6.3.1
diff --git a/modules/storages/spec/support/fixtures/vcr_cassettes/nextcloud/remove_user_from_group_success.yml b/modules/storages/spec/support/fixtures/vcr_cassettes/nextcloud/remove_user_from_group_success.yml
new file mode 100644
index 00000000000..3622540470f
--- /dev/null
+++ b/modules/storages/spec/support/fixtures/vcr_cassettes/nextcloud/remove_user_from_group_success.yml
@@ -0,0 +1,799 @@
+---
+http_interactions:
+- request:
+ method: post
+ uri: https://nextcloud.local/ocs/v1.php/cloud/groups
+ body:
+ encoding: ASCII-8BIT
+ string: groupid=Sith+Assassins
+ headers:
+ Authorization:
+ - Basic <BASIC_AUTH>
+ Ocs-Apirequest:
+ - 'true'
+ User-Agent:
+ - httpx.rb/1.3.1
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Content-Type:
+ - application/x-www-form-urlencoded
+ Content-Length:
+ - '22'
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Cache-Control:
+ - no-cache, no-store, must-revalidate
+ Content-Encoding:
+ - gzip
+ Content-Security-Policy:
+ - default-src 'none';base-uri 'none';manifest-src 'self';frame-ancestors 'none'
+ Content-Type:
+ - application/xml; charset=utf-8
+ Date:
+ - Wed, 02 Oct 2024 08:50:34 GMT
+ Expires:
+ - Thu, 19 Nov 1981 08:52:00 GMT
+ Feature-Policy:
+ - autoplay 'none';camera 'none';fullscreen 'none';geolocation 'none';microphone
+ 'none';payment 'none'
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Server:
+ - Apache/2.4.59 (Debian)
+ Set-Cookie:
+ - oc07ul6b4oaw=9762849c349fec419d4d915242d15e12; path=/; secure; HttpOnly; SameSite=Lax,
+ oc_sessionPassphrase=DZ6L8GHmQgY2z%2B3foy2pUqmyeMgyiphLjNdRgVJ730AI27UtJHnhpTapN6kiLCTtskMoKUaXrPc15eL3LtZwYfw4Eve42BLZMzJG8s2unmeF%2B4cqZz%2FvWFGsYrDU4gj3;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=9762849c349fec419d4d915242d15e12;
+ path=/; secure; HttpOnly; SameSite=Lax, __Host-nc_sameSiteCookielax=true;
+ path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax,
+ __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri,
+ 31-Dec-2100 23:59:59 GMT; SameSite=strict, oc07ul6b4oaw=9762849c349fec419d4d915242d15e12;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=9762849c349fec419d4d915242d15e12;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=1e76183d834700018922edb625e879e2;
+ path=/; secure; HttpOnly; SameSite=Lax, cookie_test=test; expires=Wed, 02
+ Oct 2024 09:50:35 GMT; Max-Age=3600
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - SAMEORIGIN
+ X-Permitted-Cross-Domain-Policies:
+ - none
+ X-Powered-By:
+ - PHP/8.2.21
+ X-Request-Id:
+ - TBw85AYaMZcZNiY5oEru
+ X-Robots-Tag:
+ - noindex, nofollow
+ X-Xss-Protection:
+ - 1; mode=block
+ Content-Length:
+ - '140'
+ body:
+ encoding: UTF-8
+ string: |
+ <?xml version="1.0"?>
+ <ocs>
+ <meta>
+ <status>ok</status>
+ <statuscode>100</statuscode>
+ <message>OK</message>
+ <totalitems></totalitems>
+ <itemsperpage></itemsperpage>
+ </meta>
+ <data/>
+ </ocs>
+ recorded_at: Wed, 02 Oct 2024 08:50:35 GMT
+- request:
+ method: post
+ uri: https://nextcloud.local/ocs/v1.php/cloud/users/[email protected]/groups
+ body:
+ encoding: ASCII-8BIT
+ string: groupid=Sith+Assassins
+ headers:
+ Authorization:
+ - Basic <BASIC_AUTH>
+ Ocs-Apirequest:
+ - 'true'
+ User-Agent:
+ - httpx.rb/1.3.1
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Content-Type:
+ - application/x-www-form-urlencoded
+ Content-Length:
+ - '22'
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Cache-Control:
+ - no-cache, no-store, must-revalidate
+ Content-Encoding:
+ - gzip
+ Content-Security-Policy:
+ - default-src 'none';base-uri 'none';manifest-src 'self';frame-ancestors 'none'
+ Content-Type:
+ - application/xml; charset=utf-8
+ Date:
+ - Wed, 02 Oct 2024 08:50:35 GMT
+ Expires:
+ - Thu, 19 Nov 1981 08:52:00 GMT
+ Feature-Policy:
+ - autoplay 'none';camera 'none';fullscreen 'none';geolocation 'none';microphone
+ 'none';payment 'none'
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Server:
+ - Apache/2.4.59 (Debian)
+ Set-Cookie:
+ - oc07ul6b4oaw=6cc4b771ce27bb97b8f3238e7653da31; path=/; secure; HttpOnly; SameSite=Lax,
+ oc_sessionPassphrase=B2I0t1BGIs1gvjZeGy7jqq8c%2FIxKtkypUxnIhP5m2lJhvyGp5k8CDf%2F1Cqn4YtKlIkIH3nT%2Fm5WD3ShkVPf5pnCupGYQqyWEp3GCkGuQXt5i6QhhP3XNfD%2FU4VtGxUgf;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=6cc4b771ce27bb97b8f3238e7653da31;
+ path=/; secure; HttpOnly; SameSite=Lax, __Host-nc_sameSiteCookielax=true;
+ path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax,
+ __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri,
+ 31-Dec-2100 23:59:59 GMT; SameSite=strict, oc07ul6b4oaw=6cc4b771ce27bb97b8f3238e7653da31;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=6cc4b771ce27bb97b8f3238e7653da31;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=de374ccc4540ad2b501264cf9d57d7b0;
+ path=/; secure; HttpOnly; SameSite=Lax, cookie_test=test; expires=Wed, 02
+ Oct 2024 09:50:35 GMT; Max-Age=3600
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - SAMEORIGIN
+ X-Permitted-Cross-Domain-Policies:
+ - none
+ X-Powered-By:
+ - PHP/8.2.21
+ X-Request-Id:
+ - 2OHmy14Z2uyX80wetXYp
+ X-Robots-Tag:
+ - noindex, nofollow
+ X-Xss-Protection:
+ - 1; mode=block
+ Content-Length:
+ - '140'
+ body:
+ encoding: UTF-8
+ string: |
+ <?xml version="1.0"?>
+ <ocs>
+ <meta>
+ <status>ok</status>
+ <statuscode>100</statuscode>
+ <message>OK</message>
+ <totalitems></totalitems>
+ <itemsperpage></itemsperpage>
+ </meta>
+ <data/>
+ </ocs>
+ recorded_at: Wed, 02 Oct 2024 08:50:36 GMT
+- request:
+ method: post
+ uri: https://nextcloud.local/ocs/v1.php/cloud/groups
+ body:
+ encoding: ASCII-8BIT
+ string: groupid=Sith+Assassins+Backup
+ headers:
+ Authorization:
+ - Basic <BASIC_AUTH>
+ Ocs-Apirequest:
+ - 'true'
+ User-Agent:
+ - httpx.rb/1.3.1
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Content-Type:
+ - application/x-www-form-urlencoded
+ Content-Length:
+ - '29'
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Cache-Control:
+ - no-cache, no-store, must-revalidate
+ Content-Encoding:
+ - gzip
+ Content-Security-Policy:
+ - default-src 'none';base-uri 'none';manifest-src 'self';frame-ancestors 'none'
+ Content-Type:
+ - application/xml; charset=utf-8
+ Date:
+ - Wed, 02 Oct 2024 08:50:36 GMT
+ Expires:
+ - Thu, 19 Nov 1981 08:52:00 GMT
+ Feature-Policy:
+ - autoplay 'none';camera 'none';fullscreen 'none';geolocation 'none';microphone
+ 'none';payment 'none'
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Server:
+ - Apache/2.4.59 (Debian)
+ Set-Cookie:
+ - oc07ul6b4oaw=a59820aa38fc321b9f172ac4176c1d55; path=/; secure; HttpOnly; SameSite=Lax,
+ oc_sessionPassphrase=tOAFguNR0Jp%2FxNtxIOqXQ%2F6DNz%2FxwIkdRbte7S0BC8lnDIib3RD3DxuoFtc0FxIsQEim0fze6h0sofcgU%2BhLps1nghETPItFWjqn75oa1BdUTk9lacQyzV3IlPGH6fEG;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=a59820aa38fc321b9f172ac4176c1d55;
+ path=/; secure; HttpOnly; SameSite=Lax, __Host-nc_sameSiteCookielax=true;
+ path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax,
+ __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri,
+ 31-Dec-2100 23:59:59 GMT; SameSite=strict, oc07ul6b4oaw=a59820aa38fc321b9f172ac4176c1d55;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=a59820aa38fc321b9f172ac4176c1d55;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=b8539104cd9a4e13ad6a8bad9d1ac0e5;
+ path=/; secure; HttpOnly; SameSite=Lax, cookie_test=test; expires=Wed, 02
+ Oct 2024 09:50:36 GMT; Max-Age=3600
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - SAMEORIGIN
+ X-Permitted-Cross-Domain-Policies:
+ - none
+ X-Powered-By:
+ - PHP/8.2.21
+ X-Request-Id:
+ - Rhr2ktjrVgX7DNPKUMQ0
+ X-Robots-Tag:
+ - noindex, nofollow
+ X-Xss-Protection:
+ - 1; mode=block
+ Content-Length:
+ - '140'
+ body:
+ encoding: UTF-8
+ string: |
+ <?xml version="1.0"?>
+ <ocs>
+ <meta>
+ <status>ok</status>
+ <statuscode>100</statuscode>
+ <message>OK</message>
+ <totalitems></totalitems>
+ <itemsperpage></itemsperpage>
+ </meta>
+ <data/>
+ </ocs>
+ recorded_at: Wed, 02 Oct 2024 08:50:36 GMT
+- request:
+ method: post
+ uri: https://nextcloud.local/ocs/v1.php/cloud/users/[email protected]/groups
+ body:
+ encoding: ASCII-8BIT
+ string: groupid=Sith+Assassins+Backup
+ headers:
+ Authorization:
+ - Basic <BASIC_AUTH>
+ Ocs-Apirequest:
+ - 'true'
+ User-Agent:
+ - httpx.rb/1.3.1
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Content-Type:
+ - application/x-www-form-urlencoded
+ Content-Length:
+ - '29'
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Cache-Control:
+ - no-cache, no-store, must-revalidate
+ Content-Encoding:
+ - gzip
+ Content-Security-Policy:
+ - default-src 'none';base-uri 'none';manifest-src 'self';frame-ancestors 'none'
+ Content-Type:
+ - application/xml; charset=utf-8
+ Date:
+ - Wed, 02 Oct 2024 08:50:36 GMT
+ Expires:
+ - Thu, 19 Nov 1981 08:52:00 GMT
+ Feature-Policy:
+ - autoplay 'none';camera 'none';fullscreen 'none';geolocation 'none';microphone
+ 'none';payment 'none'
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Server:
+ - Apache/2.4.59 (Debian)
+ Set-Cookie:
+ - oc07ul6b4oaw=c1b3c3f4214d9d8966f07f16711725ed; path=/; secure; HttpOnly; SameSite=Lax,
+ oc_sessionPassphrase=Y9itI1jA1U7ht32uGGWcKURt1KGYrNnp2bG2uJPZ3y9Te7JXG4vcw5ZBf6ZrZTLKv9dLwEnmABA0OlKdh10jEyMxWVJXYRgXrsdLiDlaTAFHC9%2FMz4bQ7Cy%2BoQ71jekj;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=c1b3c3f4214d9d8966f07f16711725ed;
+ path=/; secure; HttpOnly; SameSite=Lax, __Host-nc_sameSiteCookielax=true;
+ path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax,
+ __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri,
+ 31-Dec-2100 23:59:59 GMT; SameSite=strict, oc07ul6b4oaw=c1b3c3f4214d9d8966f07f16711725ed;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=c1b3c3f4214d9d8966f07f16711725ed;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=fb555d0ca125d098bfe72a357f752fb0;
+ path=/; secure; HttpOnly; SameSite=Lax, cookie_test=test; expires=Wed, 02
+ Oct 2024 09:50:37 GMT; Max-Age=3600
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - SAMEORIGIN
+ X-Permitted-Cross-Domain-Policies:
+ - none
+ X-Powered-By:
+ - PHP/8.2.21
+ X-Request-Id:
+ - 0QVHV77irKMx1GSbQPVW
+ X-Robots-Tag:
+ - noindex, nofollow
+ X-Xss-Protection:
+ - 1; mode=block
+ Content-Length:
+ - '140'
+ body:
+ encoding: UTF-8
+ string: |
+ <?xml version="1.0"?>
+ <ocs>
+ <meta>
+ <status>ok</status>
+ <statuscode>100</statuscode>
+ <message>OK</message>
+ <totalitems></totalitems>
+ <itemsperpage></itemsperpage>
+ </meta>
+ <data/>
+ </ocs>
+ recorded_at: Wed, 02 Oct 2024 08:50:37 GMT
+- request:
+ method: get
+ uri: https://nextcloud.local/ocs/v1.php/cloud/groups/Sith%20Assassins
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ Authorization:
+ - Basic <BASIC_AUTH>
+ Ocs-Apirequest:
+ - 'true'
+ User-Agent:
+ - httpx.rb/1.3.1
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Cache-Control:
+ - no-cache, no-store, must-revalidate
+ Content-Encoding:
+ - gzip
+ Content-Security-Policy:
+ - default-src 'none';base-uri 'none';manifest-src 'self';frame-ancestors 'none'
+ Content-Type:
+ - application/xml; charset=utf-8
+ Date:
+ - Wed, 02 Oct 2024 08:50:37 GMT
+ Expires:
+ - Thu, 19 Nov 1981 08:52:00 GMT
+ Feature-Policy:
+ - autoplay 'none';camera 'none';fullscreen 'none';geolocation 'none';microphone
+ 'none';payment 'none'
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Server:
+ - Apache/2.4.59 (Debian)
+ Set-Cookie:
+ - oc07ul6b4oaw=01da2b49d5abec2a8999bd0070130b04; path=/; secure; HttpOnly; SameSite=Lax,
+ oc_sessionPassphrase=LNjDQi4jb3HBPgwLDak3PZLcefxXWs1BL1%2FeQ0HB3ocStx7NYlMWsR6IrIfg8NqysVn%2BaDcibaS%2Bz72Go2OZw3kWyTF7hoEwPejH2nL3u7Pa%2FG708ecz3HUI%2FztROvZc;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=01da2b49d5abec2a8999bd0070130b04;
+ path=/; secure; HttpOnly; SameSite=Lax, __Host-nc_sameSiteCookielax=true;
+ path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax,
+ __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri,
+ 31-Dec-2100 23:59:59 GMT; SameSite=strict, oc07ul6b4oaw=01da2b49d5abec2a8999bd0070130b04;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=01da2b49d5abec2a8999bd0070130b04;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=615d677637cb137e351629b49d573d0c;
+ path=/; secure; HttpOnly; SameSite=Lax, cookie_test=test; expires=Wed, 02
+ Oct 2024 09:50:37 GMT; Max-Age=3600
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - SAMEORIGIN
+ X-Permitted-Cross-Domain-Policies:
+ - none
+ X-Powered-By:
+ - PHP/8.2.21
+ X-Request-Id:
+ - dGJ5c48eHtcbGlNhi6fw
+ X-Robots-Tag:
+ - noindex, nofollow
+ X-Xss-Protection:
+ - 1; mode=block
+ Content-Length:
+ - '171'
+ body:
+ encoding: UTF-8
+ string: |
+ <?xml version="1.0"?>
+ <ocs>
+ <meta>
+ <status>ok</status>
+ <statuscode>100</statuscode>
+ <message>OK</message>
+ <totalitems></totalitems>
+ <itemsperpage></itemsperpage>
+ </meta>
+ <data>
+ <users>
+ <element>[email protected]</element>
+ </users>
+ </data>
+ </ocs>
+ recorded_at: Wed, 02 Oct 2024 08:50:37 GMT
+- request:
+ method: delete
+ uri: https://nextcloud.local/ocs/v1.php/cloud/users/[email protected]/groups?groupid=Sith%20Assassins
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ Authorization:
+ - Basic <BASIC_AUTH>
+ Ocs-Apirequest:
+ - 'true'
+ User-Agent:
+ - httpx.rb/1.3.1
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Cache-Control:
+ - no-cache, no-store, must-revalidate
+ Content-Encoding:
+ - gzip
+ Content-Security-Policy:
+ - default-src 'none';base-uri 'none';manifest-src 'self';frame-ancestors 'none'
+ Content-Type:
+ - application/xml; charset=utf-8
+ Date:
+ - Wed, 02 Oct 2024 08:50:37 GMT
+ Expires:
+ - Thu, 19 Nov 1981 08:52:00 GMT
+ Feature-Policy:
+ - autoplay 'none';camera 'none';fullscreen 'none';geolocation 'none';microphone
+ 'none';payment 'none'
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Server:
+ - Apache/2.4.59 (Debian)
+ Set-Cookie:
+ - oc07ul6b4oaw=85dfa52e03afb69fbe548d3053d08e15; path=/; secure; HttpOnly; SameSite=Lax,
+ oc_sessionPassphrase=kOE0o2v1ep7XtIKKVnmqy8ck7Rbukw9NitYKaRPsLSS9b8mWIW%2Bwuw2dCZtEDmQdBZzItzOHZdRZim0v%2Bu06yNhj8xeY7dU0xqXzLKez9Zj%2BrA2KKmZl1jw6c9Ubx4PX;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=85dfa52e03afb69fbe548d3053d08e15;
+ path=/; secure; HttpOnly; SameSite=Lax, __Host-nc_sameSiteCookielax=true;
+ path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax,
+ __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri,
+ 31-Dec-2100 23:59:59 GMT; SameSite=strict, oc07ul6b4oaw=85dfa52e03afb69fbe548d3053d08e15;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=85dfa52e03afb69fbe548d3053d08e15;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=9f9f2207d2c10825f6ba2d6c07d2658b;
+ path=/; secure; HttpOnly; SameSite=Lax, cookie_test=test; expires=Wed, 02
+ Oct 2024 09:50:38 GMT; Max-Age=3600
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - SAMEORIGIN
+ X-Permitted-Cross-Domain-Policies:
+ - none
+ X-Powered-By:
+ - PHP/8.2.21
+ X-Request-Id:
+ - HL85t6eG92CsTVcZzlkl
+ X-Robots-Tag:
+ - noindex, nofollow
+ X-Xss-Protection:
+ - 1; mode=block
+ Content-Length:
+ - '140'
+ body:
+ encoding: UTF-8
+ string: |
+ <?xml version="1.0"?>
+ <ocs>
+ <meta>
+ <status>ok</status>
+ <statuscode>100</statuscode>
+ <message>OK</message>
+ <totalitems></totalitems>
+ <itemsperpage></itemsperpage>
+ </meta>
+ <data/>
+ </ocs>
+ recorded_at: Wed, 02 Oct 2024 08:50:38 GMT
+- request:
+ method: get
+ uri: https://nextcloud.local/ocs/v1.php/cloud/groups/Sith%20Assassins
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ Authorization:
+ - Basic <BASIC_AUTH>
+ Ocs-Apirequest:
+ - 'true'
+ User-Agent:
+ - httpx.rb/1.3.1
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Cache-Control:
+ - no-cache, no-store, must-revalidate
+ Content-Encoding:
+ - gzip
+ Content-Security-Policy:
+ - default-src 'none';base-uri 'none';manifest-src 'self';frame-ancestors 'none'
+ Content-Type:
+ - application/xml; charset=utf-8
+ Date:
+ - Wed, 02 Oct 2024 08:50:38 GMT
+ Expires:
+ - Thu, 19 Nov 1981 08:52:00 GMT
+ Feature-Policy:
+ - autoplay 'none';camera 'none';fullscreen 'none';geolocation 'none';microphone
+ 'none';payment 'none'
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Server:
+ - Apache/2.4.59 (Debian)
+ Set-Cookie:
+ - oc07ul6b4oaw=4311d7d8a7e8b3ba35b5d1fcff7d1b7a; path=/; secure; HttpOnly; SameSite=Lax,
+ oc_sessionPassphrase=GAzp%2FwJNf3dp%2BnY3U%2B4F4SXwmgC7f3Jqms%2FbwvIn2L7ztvCw3fPyMF8CAwno8o3xJ7O7Pbeu7IDG0ElNxKwl%2FBKviLvxlW4sa5woQEos5FRHFpMy93eMkNOsJjfBziTe;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=4311d7d8a7e8b3ba35b5d1fcff7d1b7a;
+ path=/; secure; HttpOnly; SameSite=Lax, __Host-nc_sameSiteCookielax=true;
+ path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax,
+ __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri,
+ 31-Dec-2100 23:59:59 GMT; SameSite=strict, oc07ul6b4oaw=4311d7d8a7e8b3ba35b5d1fcff7d1b7a;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=4311d7d8a7e8b3ba35b5d1fcff7d1b7a;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=f7715138d243dc8627e3b3647a74b419;
+ path=/; secure; HttpOnly; SameSite=Lax, cookie_test=test; expires=Wed, 02
+ Oct 2024 09:50:38 GMT; Max-Age=3600
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - SAMEORIGIN
+ X-Permitted-Cross-Domain-Policies:
+ - none
+ X-Powered-By:
+ - PHP/8.2.21
+ X-Request-Id:
+ - DaZNZ94HD5CWPkX9ZTgQ
+ X-Robots-Tag:
+ - noindex, nofollow
+ X-Xss-Protection:
+ - 1; mode=block
+ Content-Length:
+ - '146'
+ body:
+ encoding: UTF-8
+ string: |
+ <?xml version="1.0"?>
+ <ocs>
+ <meta>
+ <status>ok</status>
+ <statuscode>100</statuscode>
+ <message>OK</message>
+ <totalitems></totalitems>
+ <itemsperpage></itemsperpage>
+ </meta>
+ <data>
+ <users/>
+ </data>
+ </ocs>
+ recorded_at: Wed, 02 Oct 2024 08:50:38 GMT
+- request:
+ method: delete
+ uri: https://nextcloud.local/ocs/v1.php/cloud/groups/Sith%20Assassins
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ Authorization:
+ - Basic <BASIC_AUTH>
+ Ocs-Apirequest:
+ - 'true'
+ User-Agent:
+ - httpx.rb/1.3.1
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Cache-Control:
+ - no-cache, no-store, must-revalidate
+ Content-Encoding:
+ - gzip
+ Content-Security-Policy:
+ - default-src 'none';base-uri 'none';manifest-src 'self';frame-ancestors 'none'
+ Content-Type:
+ - application/xml; charset=utf-8
+ Date:
+ - Wed, 02 Oct 2024 08:50:38 GMT
+ Expires:
+ - Thu, 19 Nov 1981 08:52:00 GMT
+ Feature-Policy:
+ - autoplay 'none';camera 'none';fullscreen 'none';geolocation 'none';microphone
+ 'none';payment 'none'
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Server:
+ - Apache/2.4.59 (Debian)
+ Set-Cookie:
+ - oc07ul6b4oaw=fd4ecbd33c8c4056f827d54926c7d7e1; path=/; secure; HttpOnly; SameSite=Lax,
+ oc_sessionPassphrase=dIlm6nPh4GMsA38cZj2SyDxlQhuyL1CP86iZATnMY6OqdehoRJUgPfH27xShrr1yg5Hd2tC7h79f9lzwPh8DMjnmy%2FzR5qpY%2BkPmvvFohO00pSSbkhgIRVuJBJygpAJm;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=fd4ecbd33c8c4056f827d54926c7d7e1;
+ path=/; secure; HttpOnly; SameSite=Lax, __Host-nc_sameSiteCookielax=true;
+ path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax,
+ __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri,
+ 31-Dec-2100 23:59:59 GMT; SameSite=strict, oc07ul6b4oaw=fd4ecbd33c8c4056f827d54926c7d7e1;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=fd4ecbd33c8c4056f827d54926c7d7e1;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=9fb44996d3f7d257f11f151473b7b955;
+ path=/; secure; HttpOnly; SameSite=Lax, cookie_test=test; expires=Wed, 02
+ Oct 2024 09:50:39 GMT; Max-Age=3600
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - SAMEORIGIN
+ X-Permitted-Cross-Domain-Policies:
+ - none
+ X-Powered-By:
+ - PHP/8.2.21
+ X-Request-Id:
+ - 4EQLXfbKAVqZkKshqVYc
+ X-Robots-Tag:
+ - noindex, nofollow
+ X-Xss-Protection:
+ - 1; mode=block
+ Content-Length:
+ - '140'
+ body:
+ encoding: UTF-8
+ string: |
+ <?xml version="1.0"?>
+ <ocs>
+ <meta>
+ <status>ok</status>
+ <statuscode>100</statuscode>
+ <message>OK</message>
+ <totalitems></totalitems>
+ <itemsperpage></itemsperpage>
+ </meta>
+ <data/>
+ </ocs>
+ recorded_at: Wed, 02 Oct 2024 08:50:39 GMT
+- request:
+ method: delete
+ uri: https://nextcloud.local/ocs/v1.php/cloud/groups/Sith%20Assassins%20Backup
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ Authorization:
+ - Basic <BASIC_AUTH>
+ Ocs-Apirequest:
+ - 'true'
+ User-Agent:
+ - httpx.rb/1.3.1
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Cache-Control:
+ - no-cache, no-store, must-revalidate
+ Content-Encoding:
+ - gzip
+ Content-Security-Policy:
+ - default-src 'none';base-uri 'none';manifest-src 'self';frame-ancestors 'none'
+ Content-Type:
+ - application/xml; charset=utf-8
+ Date:
+ - Wed, 02 Oct 2024 08:50:39 GMT
+ Expires:
+ - Thu, 19 Nov 1981 08:52:00 GMT
+ Feature-Policy:
+ - autoplay 'none';camera 'none';fullscreen 'none';geolocation 'none';microphone
+ 'none';payment 'none'
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Server:
+ - Apache/2.4.59 (Debian)
+ Set-Cookie:
+ - oc07ul6b4oaw=38a807de0bfea4578a190796ea3679bf; path=/; secure; HttpOnly; SameSite=Lax,
+ oc_sessionPassphrase=ykYwdbn02mf%2B2FIYpFHhFhySmy5y1j4D9kX1We59HLdc50Otjzyj03S%2Fg11ZjBeD13%2BShKDXhMDDDQBf7K%2F%2B7cZjzB12b1LGlwjEIwGnIhBykM0QeIB2htLjvWZ1DdHw;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=38a807de0bfea4578a190796ea3679bf;
+ path=/; secure; HttpOnly; SameSite=Lax, __Host-nc_sameSiteCookielax=true;
+ path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax,
+ __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri,
+ 31-Dec-2100 23:59:59 GMT; SameSite=strict, oc07ul6b4oaw=38a807de0bfea4578a190796ea3679bf;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=38a807de0bfea4578a190796ea3679bf;
+ path=/; secure; HttpOnly; SameSite=Lax, oc07ul6b4oaw=899b9aecb6d1dc7c35ef9a847d0e7bfc;
+ path=/; secure; HttpOnly; SameSite=Lax, cookie_test=test; expires=Wed, 02
+ Oct 2024 09:50:39 GMT; Max-Age=3600
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - SAMEORIGIN
+ X-Permitted-Cross-Domain-Policies:
+ - none
+ X-Powered-By:
+ - PHP/8.2.21
+ X-Request-Id:
+ - 52hU39z1usAaL575cnKp
+ X-Robots-Tag:
+ - noindex, nofollow
+ X-Xss-Protection:
+ - 1; mode=block
+ Content-Length:
+ - '140'
+ body:
+ encoding: UTF-8
+ string: |
+ <?xml version="1.0"?>
+ <ocs>
+ <meta>
+ <status>ok</status>
+ <statuscode>100</statuscode>
+ <message>OK</message>
+ <totalitems></totalitems>
+ <itemsperpage></itemsperpage>
+ </meta>
+ <data/>
+ </ocs>
+ recorded_at: Wed, 02 Oct 2024 08:50:39 GMT
+recorded_with: VCR 6.3.1