--- http_interactions: - request: method: post uri: http://localhost:3002/api/ws/v1/sources/content_source_id/permissions/enterprise_search/add/?permissions%5B%5D=more&permissions%5B%5D=permissions&permissions%5B%5D=testing&user=enterprise_search body: encoding: UTF-8 string: "{}" headers: User-Agent: - 'elastic-enteprise-search-ruby/7.11.0.pre (RUBY_VERSION: 2.7.2; linux x86_64; elasticsearch-transport: 7.10.0)' Content-Type: - application/json Authorization: - Bearer access_token Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 200 message: OK headers: X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff Content-Type: - application/json;charset=utf-8 Etag: - W/"d10c028fa9c684778511b469120f4df9--gzip" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 64149045-4d39-402c-8636-bf29f27a974f X-Runtime: - '1.674349' Vary: - Accept-Encoding, User-Agent Transfer-Encoding: - chunked Server: - Jetty(9.4.33.v20201020) body: encoding: ASCII-8BIT string: '{"user":"enterprise_search","permissions":["testing","more","permissions"]}' http_version: recorded_at: Wed, 13 Jan 2021 16:00:57 GMT - request: method: put uri: http://localhost:3002/api/ws/v1/sources/content_source_id/permissions/enterprise_search/?permissions%5B%5D&user=enterprise_search body: encoding: UTF-8 string: "{}" headers: User-Agent: - 'elastic-enteprise-search-ruby/7.11.0.pre (RUBY_VERSION: 2.7.2; linux x86_64; elasticsearch-transport: 7.10.0)' Content-Type: - application/json Authorization: - Bearer access_token Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 200 message: OK headers: X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff Content-Type: - application/json;charset=utf-8 Etag: - W/"eaf0aef29a99d5f9dda5844986aa3880--gzip" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 0ec6ac2d-b631-4038-8b89-d855125e48a9 X-Runtime: - '1.993345' Vary: - Accept-Encoding, User-Agent Transfer-Encoding: - chunked Server: - Jetty(9.4.33.v20201020) body: encoding: ASCII-8BIT string: '{"user":"enterprise_search","permissions":[]}' http_version: recorded_at: Wed, 13 Jan 2021 16:00:59 GMT recorded_with: VCR 3.0.3