---
http_interactions:
- request:
    method: post
    uri: https://nextcloud.local/ocs/v2.php/apps/dav/api/v1/direct
    body:
      encoding: UTF-8
      string: '{"fileId":"182"}'
    headers:
      Ocs-Apirequest:
      - 'true'
      Accept:
      - application/json
      Authorization:
      - Bearer <BEARER TOKEN>
      User-Agent:
      - httpx.rb/1.2.3
      Accept-Encoding:
      - gzip, deflate
      Content-Type:
      - application/json; charset=utf-8
      Content-Length:
      - '16'
  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/json; charset=utf-8
      Date:
      - Mon, 08 Apr 2024 11:34: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.57 (Debian)
      Set-Cookie:
      - ocirabgzify6=d78505eb55e4bc58109b19b7121e8152; path=/; secure; HttpOnly; SameSite=Lax,
        oc_sessionPassphrase=de%2Fy4BrNKSmwAyqI5TXmTQEm00bLbAQuUO588brHwO3mqMDbLAX%2FV8UsKg79X3dVOiiu2ciGAFtiECiAa6vPM43vv3kwIZ6ko8gRqNfmTyKCGrXUj5HJlXGrM6hLOVkZ;
        path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=d78505eb55e4bc58109b19b7121e8152;
        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, ocirabgzify6=d78505eb55e4bc58109b19b7121e8152;
        path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=d78505eb55e4bc58109b19b7121e8152;
        path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=d78505eb55e4bc58109b19b7121e8152;
        path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=d78505eb55e4bc58109b19b7121e8152;
        path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=d78505eb55e4bc58109b19b7121e8152;
        path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=d78505eb55e4bc58109b19b7121e8152;
        path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=d78505eb55e4bc58109b19b7121e8152;
        path=/; secure; HttpOnly; SameSite=Lax
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - SAMEORIGIN
      X-Permitted-Cross-Domain-Policies:
      - none
      X-Powered-By:
      - PHP/8.2.16
      X-Request-Id:
      - 2Qcm5eyA9mV2rlnCD0bF
      X-Robots-Tag:
      - noindex, nofollow
      X-Xss-Protection:
      - 1; mode=block
      Content-Length:
      - '183'
    body:
      encoding: UTF-8
      string: '{"ocs":{"meta":{"status":"ok","statuscode":200,"message":"OK"},"data":{"url":"https:\/\/nextcloud.local\/remote.php\/direct\/I5uqL5tARwsUPNuqSzTMJ8dvsCmqAxBF18ltlmzDEEFn5ZOyfbkAFoJ4rMSV"}}}'
  recorded_at: Mon, 08 Apr 2024 11:34:13 GMT
recorded_with: VCR 6.2.0
