--- http_interactions: - request: method: get uri: https://app.vzaar.localhost/api/v2/videos/14370501/subtitles/?page=1&per_page=3 body: encoding: UTF-8 string: '' headers: User-Agent: - HTTPClient/1.0 (2.8.3, ruby 2.3.0 (2015-12-25)) Accept: - "*/*" Date: - Thu, 06 Dec 2018 16:19:47 GMT X-Auth-Token: - pVrjGuKWP27U_kz4anfy X-Client-Id: - glide-franca-raise Content-Type: - application/json response: status: code: 200 message: OK headers: Cache-Control: - max-age=0, private, must-revalidate Content-Type: - application/json Date: - Thu, 06 Dec 2018 16:19:47 GMT Etag: - W/"0eda5b588a78c450e9a79cec724adda5" Server: - nginx X-Ratelimit-Limit: - '200' X-Ratelimit-Remaining: - '199' X-Ratelimit-Reset: - '1544113200' X-Ratelimit-Reset-In: - 13 seconds X-Request-Id: - 373ebbec-62bb-425a-82de-9f494cb0aefa X-Runtime: - '0.055563' Content-Length: - '693' Connection: - keep-alive body: encoding: UTF-8 string: '{"data":[{"id":26864,"language":"Serbian","code":"sr","title":"14370501-sr.srt","url":"https://view.vzaar.localhost/subtitles/26864","created_at":"2018-12-04T09:30:34.000Z","updated_at":"2018-12-06T15:58:45.000Z"},{"id":26887,"language":"German","code":"de","title":"14370501-de.vtt","url":"https://view.vzaar.localhost/subtitles/26887","created_at":"2018-12-06T14:29:41.000Z","updated_at":"2018-12-06T14:29:43.000Z"},{"id":26888,"language":"Polish","code":"pl","title":"14370501-pl.vtt","url":"https://view.vzaar.localhost/subtitles/26888","created_at":"2018-12-06T14:33:29.000Z","updated_at":"2018-12-06T14:33:33.000Z"}],"meta":{"total_count":3,"links":{"first":null,"next":null,"previous":null,"last":null}}}' http_version: recorded_at: Thu, 06 Dec 2018 16:19:47 GMT - request: method: patch uri: https://app.vzaar.localhost/api/v2/videos/14370501/subtitles/26864 body: encoding: UTF-8 string: '{"code":""}' headers: User-Agent: - HTTPClient/1.0 (2.8.3, ruby 2.3.0 (2015-12-25)) Accept: - "*/*" Date: - Thu, 06 Dec 2018 16:19:47 GMT X-Auth-Token: - pVrjGuKWP27U_kz4anfy X-Client-Id: - glide-franca-raise Content-Type: - application/json response: status: code: 422 message: Unprocessable Entity headers: Cache-Control: - no-cache Content-Type: - application/json Date: - Thu, 06 Dec 2018 16:19:48 GMT Server: - nginx X-Request-Id: - 8ae7cd30-dd9b-4d50-a3bc-d025ecde1f28 X-Runtime: - '0.055936' Content-Length: - '126' Connection: - keep-alive body: encoding: UTF-8 string: '{"errors":[{"message":"Invalid parameters","detail":"Validation failed: Code field cannot be blank, Language not supported"}]}' http_version: recorded_at: Thu, 06 Dec 2018 16:19:48 GMT recorded_with: VCR 3.0.3