--- http_interactions: - request: method: post uri: http://localhost:3000/locomotive/api/v3/tokens.json body: encoding: UTF-8 string: email=admin%40locomotivecms.com&password=locomotive headers: Accept: - application/json Content-Type: - application/x-www-form-urlencoded Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 User-Agent: - Ruby response: status: code: 201 message: Created headers: Content-Type: - application/json Etag: - W/"120917583ae3f64355d682b690f7cb40" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - e47d860b-f453-48f1-893c-d5c19084a28a X-Runtime: - '0.017475' Content-Length: - '32' body: encoding: UTF-8 string: '{"token":"E2aoXzMxkFsLnCcmCcc_"}' http_version: recorded_at: Sat, 21 Nov 2015 22:31:00 GMT - request: method: get uri: http://localhost:3000/locomotive/sample/api/v3/pages.json?auth_token=E2aoXzMxkFsLnCcmCcc_ body: encoding: US-ASCII string: '' headers: Accept: - application/json X-Locomotive-Account-Email: - admin@locomotivecms.com X-Locomotive-Account-Token: - E2aoXzMxkFsLnCcmCcc_ X-Locomotive-Locale: - en Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 User-Agent: - Ruby response: status: code: 200 message: OK headers: Content-Type: - application/json Etag: - W/"701b58eb67b1131aa8b3c8aeab5e817b" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 5dc6e8a6-a6c3-4575-80d2-68fb8524c271 X-Runtime: - '0.030010' Content-Length: - '1280' body: encoding: UTF-8 string: '[{"_id":"5650f08c87f6436c94000007","created_at":"2015-11-21T22:30:36Z","updated_at":"2015-11-21T22:30:36Z","title":"Home page","parent_id":null,"position":0,"handle":null,"depth":0,"response_type":"text/html","listed":true,"published":true,"translated_in":["en"],"cache_enabled":true,"slug":"index","fullpath":"index","localized_fullpaths":{"en":""},"redirect":false,"redirect_url":"","redirect_type":301,"templatized":false,"templatized_from_parent":false,"content_type":null,"is_layout":false,"allow_layout":true,"template":"Content of the home page","editable_elements":[],"seo_title":null,"meta_keywords":null,"meta_description":null},{"_id":"5650f08c87f6436c94000008","created_at":"2015-11-21T22:30:36Z","updated_at":"2015-11-21T22:30:36Z","title":"Page not found","parent_id":null,"position":1,"handle":null,"depth":0,"response_type":"text/html","listed":true,"published":true,"translated_in":["en"],"cache_enabled":true,"slug":"404","fullpath":"404","localized_fullpaths":{"en":"404"},"redirect":false,"redirect_url":"","redirect_type":301,"templatized":false,"templatized_from_parent":false,"content_type":null,"is_layout":false,"allow_layout":true,"template":"Content of the 404 page","editable_elements":[],"seo_title":null,"meta_keywords":null,"meta_description":null}]' http_version: recorded_at: Sat, 21 Nov 2015 22:31:00 GMT - request: method: get uri: http://localhost:3000/locomotive/sample/api/v3/pages/fullpaths.json?auth_token=E2aoXzMxkFsLnCcmCcc_ body: encoding: US-ASCII string: '' headers: Accept: - application/json X-Locomotive-Account-Email: - admin@locomotivecms.com X-Locomotive-Account-Token: - E2aoXzMxkFsLnCcmCcc_ X-Locomotive-Locale: - en Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 User-Agent: - Ruby response: status: code: 200 message: OK headers: Content-Type: - application/json Etag: - W/"c2ddbd80985a8cba4f1221be3c2df60c" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 4aed4455-e50c-48d5-8a95-c6167687376b X-Runtime: - '0.024727' Content-Length: - '107' body: encoding: UTF-8 string: '[{"_id":"5650f08c87f6436c94000007","fullpath":"index"},{"_id":"5650f08c87f6436c94000008","fullpath":"404"}]' http_version: recorded_at: Sat, 21 Nov 2015 22:31:01 GMT - request: method: post uri: http://localhost:3000/locomotive/sample/api/v3/pages.json body: encoding: UTF-8 string: auth_token=E2aoXzMxkFsLnCcmCcc_&page%5Bparent%5D=index&page%5Bslug%5D=about-us&page%5Btemplate%5D=Locomotive+rocks%21&page%5Btitle%5D=About+us headers: Accept: - application/json X-Locomotive-Account-Email: - admin@locomotivecms.com X-Locomotive-Account-Token: - E2aoXzMxkFsLnCcmCcc_ Content-Type: - application/x-www-form-urlencoded Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 User-Agent: - Ruby response: status: code: 201 message: Created headers: Content-Type: - application/json Etag: - W/"0ad4f3e8c5c41e6442712c8568c8d5fe" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 2c613d30-f1ec-4313-882e-0c3acaeef31e X-Runtime: - '0.052798' Content-Length: - '666' body: encoding: UTF-8 string: '{"_id":"5650f0a587f6436cbc00002d","created_at":"2015-11-21T22:31:01Z","updated_at":"2015-11-21T22:31:01Z","title":"About us","parent_id":"5650f08c87f6436c94000007","position":0,"handle":null,"depth":1,"response_type":"text/html","listed":true,"published":false,"translated_in":["en"],"cache_enabled":true,"slug":"about-us","fullpath":"about-us","localized_fullpaths":{"en":"about-us"},"redirect":false,"redirect_url":"","redirect_type":301,"templatized":false,"templatized_from_parent":false,"content_type":null,"is_layout":false,"allow_layout":true,"template":"Locomotive rocks!","editable_elements":[],"seo_title":null,"meta_keywords":null,"meta_description":null}' http_version: recorded_at: Sat, 21 Nov 2015 22:31:01 GMT - request: method: put uri: http://localhost:3000/locomotive/sample/api/v3/pages/5650f0a587f6436cbc00002d.json body: encoding: UTF-8 string: auth_token=E2aoXzMxkFsLnCcmCcc_&page%5Btemplate%5D=Locomotive+rocks.+period headers: Accept: - application/json X-Locomotive-Account-Email: - admin@locomotivecms.com X-Locomotive-Account-Token: - E2aoXzMxkFsLnCcmCcc_ X-Locomotive-Locale: - en Content-Type: - application/x-www-form-urlencoded Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 User-Agent: - Ruby response: status: code: 200 message: OK headers: Content-Type: - application/json Etag: - W/"bf788f2ae366c8a7e70e7e88a2c06d83" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 39dc5254-6ff4-4a1e-b302-34dd9dffb99c X-Runtime: - '0.038577' Content-Length: - '673' body: encoding: UTF-8 string: '{"_id":"5650f0a587f6436cbc00002d","created_at":"2015-11-21T22:31:01Z","updated_at":"2015-11-21T22:31:01Z","title":"About us","parent_id":"5650f08c87f6436c94000007","position":0,"handle":null,"depth":1,"response_type":"text/html","listed":true,"published":false,"translated_in":["en"],"cache_enabled":true,"slug":"about-us","fullpath":"about-us","localized_fullpaths":{"en":"about-us"},"redirect":false,"redirect_url":"","redirect_type":301,"templatized":false,"templatized_from_parent":false,"content_type":null,"is_layout":false,"allow_layout":true,"template":"Locomotive rocks. period","editable_elements":[],"seo_title":null,"meta_keywords":null,"meta_description":null}' http_version: recorded_at: Sat, 21 Nov 2015 22:31:01 GMT - request: method: delete uri: http://localhost:3000/locomotive/sample/api/v3/pages/5650f0a587f6436cbc00002d.json?auth_token=E2aoXzMxkFsLnCcmCcc_ body: encoding: US-ASCII string: '' headers: Accept: - application/json X-Locomotive-Account-Email: - admin@locomotivecms.com X-Locomotive-Account-Token: - E2aoXzMxkFsLnCcmCcc_ Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 User-Agent: - Ruby response: status: code: 200 message: OK headers: Content-Type: - application/json Etag: - W/"bf788f2ae366c8a7e70e7e88a2c06d83" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - d785c8f4-22cb-479b-a541-00740552fb7d X-Runtime: - '0.039751' Content-Length: - '673' body: encoding: UTF-8 string: '{"_id":"5650f0a587f6436cbc00002d","created_at":"2015-11-21T22:31:01Z","updated_at":"2015-11-21T22:31:01Z","title":"About us","parent_id":"5650f08c87f6436c94000007","position":0,"handle":null,"depth":1,"response_type":"text/html","listed":true,"published":false,"translated_in":["en"],"cache_enabled":true,"slug":"about-us","fullpath":"about-us","localized_fullpaths":{"en":"about-us"},"redirect":false,"redirect_url":"","redirect_type":301,"templatized":false,"templatized_from_parent":false,"content_type":null,"is_layout":false,"allow_layout":true,"template":"Locomotive rocks. period","editable_elements":[],"seo_title":null,"meta_keywords":null,"meta_description":null}' http_version: recorded_at: Sat, 21 Nov 2015 22:31:01 GMT recorded_with: VCR 2.9.3