--- http_interactions: - request: method: get uri: https://app.vzaar.localhost/api/v2/ingest_recipes/8 body: encoding: UTF-8 string: '' headers: User-Agent: - HTTPClient/1.0 (2.8.2.4, ruby 2.3.1 (2016-04-26)) Accept: - "*/*" Date: - Fri, 18 Nov 2016 10:41:04 GMT X-Auth-Token: - TUGXzNL17ypaougMYpR3 X-Client-Id: - lair-tend72 Content-Type: - application/json response: status: code: 200 message: OK headers: Server: - nginx/1.10.1 Date: - Fri, 18 Nov 2016 10:41:04 GMT Content-Type: - application/json Content-Length: - '1894' Connection: - keep-alive X-RateLimit-Limit: - '200' X-RateLimit-Remaining: - '199' X-RateLimit-Reset: - '1479465724' X-RateLimit-Reset-In: - 60 seconds Cache-Control: - no-store, must-revalidate, private, max-age=0 X-Request-Id: - b44003b9-c7ff-4bdd-851d-cce6c54093a1 X-Runtime: - '0.070622' Set-Cookie: - __profilin=p%3Dt; path=/ - __profilin=p%3Dt; path=/ - __profilin=p%3Dt; path=/ X-Miniprofiler-Ids: - '["zo99xmorkyh9x60wbugn","yibtuiqnohudk1d26xvg","cpo3oiqmi683pkcaj816","dtxr2heeicch5rud7pjt","b4scoosnvmo0xvyqw8fy","58r4vfxumrhgue7kbsai","5dfv6js4ggxyc9qp8qwk","luelw09036g1c3l24a6i","racr2kqe0uft8glynfol","yfqme9j3k1haf6v4sm35"]' body: encoding: UTF-8 string: '{"data":{"id":8,"name":"new-recipe","recipe_type":"new_video","description":"the new recipe","account_id":79357,"user_id":79357,"default":true,"multipass":false,"frame_grab_time":"5.5","generate_animated_thumb":true,"generate_sprite":true,"use_watermark":true,"send_to_youtube":true,"encoding_presets":[{"id":1,"name":"ULD","description":"234p","output_format":"mp4","bitrate_kbps":200,"long_dimension":416,"video_codec":"libx264","profile":"main","frame_rate":"12.0","keyframe":60,"audio_bitrate_kbps":128,"audio_channels":2,"audio_sample_rate":44100,"max_bitrate_kbps":null,"keyframe_period":null,"created_at":"2016-11-09T11:01:38.000Z","updated_at":"2016-11-09T11:01:38.000Z"},{"id":2,"name":"LD","description":"270p","output_format":"mp4","bitrate_kbps":400,"long_dimension":480,"video_codec":"libx264","profile":"main","frame_rate":"29.97","keyframe":60,"audio_bitrate_kbps":128,"audio_channels":2,"audio_sample_rate":44100,"max_bitrate_kbps":null,"keyframe_period":null,"created_at":"2016-11-09T11:01:38.000Z","updated_at":"2016-11-09T11:01:38.000Z"},{"id":3,"name":"SD","description":"360p","output_format":"mp4","bitrate_kbps":800,"long_dimension":640,"video_codec":"libx264","profile":"main","frame_rate":"29.97","keyframe":60,"audio_bitrate_kbps":128,"audio_channels":2,"audio_sample_rate":44100,"max_bitrate_kbps":null,"keyframe_period":null,"created_at":"2016-11-09T11:01:38.000Z","updated_at":"2016-11-09T11:01:38.000Z"},{"id":4,"name":"SD","description":"540p","output_format":"mp4","bitrate_kbps":1944,"long_dimension":960,"video_codec":"libx264","profile":"main","frame_rate":"29.97","keyframe":60,"audio_bitrate_kbps":128,"audio_channels":2,"audio_sample_rate":44100,"max_bitrate_kbps":null,"keyframe_period":null,"created_at":"2016-11-09T11:01:38.000Z","updated_at":"2016-11-09T11:01:38.000Z"}],"created_at":"2016-11-18T10:25:47.000Z","updated_at":"2016-11-18T10:25:47.000Z"}}' http_version: recorded_at: Fri, 18 Nov 2016 10:41:04 GMT - request: method: patch uri: https://app.vzaar.localhost/api/v2/ingest_recipes/8 body: encoding: UTF-8 string: '{"id":8,"name":"new-recipe","recipe_type":"new_video","description":"the new recipe","account_id":79357,"user_id":79357,"default":true,"multipass":false,"frame_grab_time":"5.5","generate_animated_thumb":true,"generate_sprite":true,"use_watermark":true,"send_to_youtube":true,"encoding_preset_ids":[],"created_at":"2016-11-18T10:25:47.000Z","updated_at":"2016-11-18T10:25:47.000Z"}' headers: User-Agent: - HTTPClient/1.0 (2.8.2.4, ruby 2.3.1 (2016-04-26)) Accept: - "*/*" Date: - Fri, 18 Nov 2016 10:41:04 GMT X-Auth-Token: - TUGXzNL17ypaougMYpR3 X-Client-Id: - lair-tend72 Content-Type: - application/json response: status: code: 422 message: Unprocessable Entity headers: Server: - nginx/1.10.1 Date: - Fri, 18 Nov 2016 10:41:05 GMT Content-Type: - application/json Content-Length: - '87' Connection: - keep-alive Cache-Control: - no-cache X-Request-Id: - e936b40e-5673-4243-bfac-b0a58f61533b X-Runtime: - '0.058375' Set-Cookie: - __profilin=p%3Dt; path=/ - __profilin=p%3Dt; path=/ body: encoding: UTF-8 string: '{"errors":[{"message":"Invalid parameters","detail":"encoding_preset_ids is invalid"}]}' http_version: recorded_at: Fri, 18 Nov 2016 10:41:05 GMT recorded_with: VCR 3.0.3