---
http_interactions:
- request:
    method: post
    uri: http://sample.example.com:3000/locomotive/api/tokens.json?auth_token=iaWvtP5PhmnyKypXpLbM
    body:
      encoding: UTF-8
      string: email=admin%40locomotivecms.com&password=locomotive
    headers: {}
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Tue, 17 Sep 2013 15:12:29 GMT
      Status:
      - 200 OK
      Connection:
      - close
      Location:
      - http://sample.example.com:3000/locomotive/
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"d1a90b45e031fb4f87663184c2a67dbd"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _locomotive_session=fs_OVk1gY-Z4gywI8nuSyzxqi9k; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - d9aebd9735de14b3281c96755a8fbcdf
      X-Runtime:
      - '0.033607'
    body:
      encoding: UTF-8
      string: '{"token":"iaWvtP5PhmnyKypXpLbM"}'
    http_version: 
  recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
- request:
    method: get
    uri: http://sample.example.com:3000/locomotive/api/current_site.json?auth_token=iaWvtP5PhmnyKypXpLbM
    body:
      encoding: US-ASCII
      string: ''
    headers: {}
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Tue, 17 Sep 2013 15:12:29 GMT
      Status:
      - 200 OK
      Connection:
      - close
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"44c3f51a8b65cd145a65bd507037a52f"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _locomotive_session=c9X9XRkfZMxsJlLMKeKOikF9xiY; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - 8bbd1c22fff0613611ab463c29bcf6e3
      X-Runtime:
      - '0.034084'
    body:
      encoding: UTF-8
      string: '{"id":"5238710587f6431df7000006","_id":"5238710587f6431df7000006","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:33Z","name":"locomotive","locales":["en","es"],"timezone":"UTC","subdomain":"sample","domains":["sample.example.com"],"domains_without_subdomain":[],"domain_name":"example.com","memberships":[{"id":"5238710587f6431df7000009","_id":"5238710587f6431df7000009","role":"admin","role_name":"Administrator","can_update":false,"grant_admin":true,"account_id":"5238710587f6431df7000001","name":"Admin","email":"admin@locomotivecms.com"}]}'
    http_version: 
  recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
- request:
    method: put
    uri: http://sample.example.com:3000/locomotive/api/sites/5238710587f6431df7000006.json?auth_token=iaWvtP5PhmnyKypXpLbM
    body:
      encoding: UTF-8
      string: site[name]=locomotive&site[locales][]=en&site[locales][]=es&site[subdomain]=sample&site[domains][]=sample.example.com&site[timezone]=UTC&locale=en
    headers: {}
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Tue, 17 Sep 2013 15:12:29 GMT
      Status:
      - 200 OK
      Connection:
      - close
      X-Message:
      - '"Site%20was%20successfully%20updated."'
      X-Message-Type:
      - notice
      Location:
      - http://sample.example.com:3000/locomotive/sites/5238710587f6431df7000006
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"44c3f51a8b65cd145a65bd507037a52f"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _locomotive_session=Cx2V5L0kuHEkwGXt7I1SLqA97dg; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - 83e85254e7ce985b1dc3ed4266b3fec2
      X-Runtime:
      - '0.042342'
    body:
      encoding: UTF-8
      string: '{"id":"5238710587f6431df7000006","_id":"5238710587f6431df7000006","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:33Z","name":"locomotive","locales":["en","es"],"timezone":"UTC","subdomain":"sample","domains":["sample.example.com"],"domains_without_subdomain":[],"domain_name":"example.com","memberships":[{"id":"5238710587f6431df7000009","_id":"5238710587f6431df7000009","role":"admin","role_name":"Administrator","can_update":false,"grant_admin":true,"account_id":"5238710587f6431df7000001","name":"Admin","email":"admin@locomotivecms.com"}]}'
    http_version: 
  recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
- request:
    method: put
    uri: http://sample.example.com:3000/locomotive/api/sites/5238710587f6431df7000006.json?auth_token=iaWvtP5PhmnyKypXpLbM
    body:
      encoding: UTF-8
      string: site[name]=locomotive&site[locales][]=en&site[locales][]=es&site[subdomain]=sample&site[domains][]=sample.example.com&site[timezone]=UTC&locale=es
    headers: {}
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Tue, 17 Sep 2013 15:12:29 GMT
      Status:
      - 200 OK
      Connection:
      - close
      Location:
      - http://sample.example.com:3000/locomotive/sites/5238710587f6431df7000006
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"f3da36b3e0ddaffbc93f97aaae09ae52"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _locomotive_session=DIIGKjnrz_Jb8mmsa1UA8K3q_7A; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - e4f383a6a9619da9e675c7710be0e56f
      X-Runtime:
      - '0.033201'
    body:
      encoding: UTF-8
      string: '{"id":"5238710587f6431df7000006","_id":"5238710587f6431df7000006","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:33Z","name":"locomotive","locales":["en","es"],"timezone":"UTC","subdomain":"sample","domains":["sample.example.com"],"domains_without_subdomain":[],"domain_name":"example.com","memberships":[{"id":"5238710587f6431df7000009","_id":"5238710587f6431df7000009","role":"admin","role_name":"Administrador","can_update":false,"grant_admin":true,"account_id":"5238710587f6431df7000001","name":"Admin","email":"admin@locomotivecms.com"}]}'
    http_version: 
  recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
- request:
    method: get
    uri: http://sample.example.com:3000/locomotive/api/snippets.json?auth_token=iaWvtP5PhmnyKypXpLbM
    body:
      encoding: US-ASCII
      string: ''
    headers: {}
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Tue, 17 Sep 2013 15:12:29 GMT
      Status:
      - 200 OK
      Connection:
      - close
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"d751713988987e9331980363e24189ce"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _locomotive_session=cUQPBrl6XSD8IUzwVq_YGmsukTs; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - c84820f0370f21235a3cea8b6ebf859a
      X-Runtime:
      - '0.043700'
    body:
      encoding: UTF-8
      string: '[]'
    http_version: 
  recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
- request:
    method: get
    uri: http://sample.example.com:3000/locomotive/api/content_types.json?auth_token=iaWvtP5PhmnyKypXpLbM
    body:
      encoding: US-ASCII
      string: ''
    headers: {}
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Tue, 17 Sep 2013 15:12:29 GMT
      Status:
      - 200 OK
      Connection:
      - close
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"80558e8d8878e660f5cfd6b06152de50"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _locomotive_session=hxdOku9hSqQUYilRG9-NkW9XEH0; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - 6364cbf710cadec38b6f26305b5adf83
      X-Runtime:
      - '0.044222'
    body:
      encoding: UTF-8
      string: '[{"id":"5238712587f643884e000001","_id":"5238712587f643884e000001","created_at":"2013-09-17T15:11:33Z","updated_at":"2013-09-17T15:11:33Z","name":"Products","slug":"products","entries_custom_fields":[{"id":"5238712587f643884e000002","_id":"5238712587f643884e000002","name":"name","label":"name","type":"string","required":true,"localized":true,"unique":false,"position":0},{"id":"5238712587f643884e000003","_id":"5238712587f643884e000003","name":"available","label":"available","type":"boolean","required":false,"localized":false,"unique":false,"position":1}],"description":"My
        products collection","label_field_name":"name","order_by":"created_at","order_direction":"asc","order_by_field_name":"created_at","public_submission_enabled":false,"public_submission_account_emails":[]}]'
    http_version: 
  recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
- request:
    method: put
    uri: http://sample.example.com:3000/locomotive/api/content_types/5238712587f643884e000001.json?auth_token=iaWvtP5PhmnyKypXpLbM
    body:
      encoding: UTF-8
      string: content_type[name]=Products&content_type[description]=My%20products%20collection&content_type[slug]=products&content_type[label_field_name]=name&content_type[order_by]=created_at&content_type[order_direction]=asc&content_type[entries_custom_fields][][label]=name&content_type[entries_custom_fields][][name]=name&content_type[entries_custom_fields][][type]=string&content_type[entries_custom_fields][][position]=0&content_type[entries_custom_fields][][required]=true&content_type[entries_custom_fields][][unique]=false&content_type[entries_custom_fields][][localized]=true&content_type[entries_custom_fields][][_id]=5238712587f643884e000002&content_type[entries_custom_fields][][label]=available&content_type[entries_custom_fields][][name]=available&content_type[entries_custom_fields][][type]=boolean&content_type[entries_custom_fields][][position]=1&content_type[entries_custom_fields][][required]=false&content_type[entries_custom_fields][][unique]=false&content_type[entries_custom_fields][][localized]=false&content_type[entries_custom_fields][][_id]=5238712587f643884e000003
    headers: {}
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Tue, 17 Sep 2013 15:12:29 GMT
      Status:
      - 200 OK
      Connection:
      - close
      X-Message:
      - '"Content%20type%20was%20successfully%20updated."'
      X-Message-Type:
      - notice
      Location:
      - http://sample.example.com:3000/locomotive/api/content_types
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"f42f53cd9530a868386f8ccd7f24139f"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _locomotive_session=EBdnidWHznKcsBlsV0UrN0tk18U; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - a41721005f01fc520cf7f444c2168468
      X-Runtime:
      - '0.061994'
    body:
      encoding: UTF-8
      string: '{"id":"5238712587f643884e000001","_id":"5238712587f643884e000001","created_at":"2013-09-17T15:11:33Z","updated_at":"2013-09-17T15:11:33Z","name":"Products","slug":"products","entries_custom_fields":[{"id":"5238712587f643884e000002","_id":"5238712587f643884e000002","name":"name","label":"name","type":"string","required":true,"localized":true,"unique":false,"position":0},{"id":"5238712587f643884e000003","_id":"5238712587f643884e000003","name":"available","label":"available","type":"boolean","required":false,"localized":false,"unique":false,"position":1}],"description":"My
        products collection","label_field_name":"name","order_by":"created_at","order_direction":"asc","order_by_field_name":"created_at","public_submission_enabled":false,"public_submission_account_emails":[]}'
    http_version: 
  recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
- request:
    method: get
    uri: http://sample.example.com:3000/locomotive/api/translations.json?auth_token=iaWvtP5PhmnyKypXpLbM
    body:
      encoding: US-ASCII
      string: ''
    headers: {}
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Tue, 17 Sep 2013 15:12:29 GMT
      Status:
      - 200 OK
      Connection:
      - close
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"5c1b51393d2233a4df57efd63547d153"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _locomotive_session=98w4xa3hxpDA5QJ1hqg8LpXhAxA; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - 4db2fadb99be65ba3a142ddf93a95247
      X-Runtime:
      - '0.032204'
    body:
      encoding: UTF-8
      string: '[{"id":"5238712587f643884e000005","_id":"5238712587f643884e000005","created_at":"2013-09-17T15:11:33Z","updated_at":"2013-09-17T15:11:33Z","key":"hello_world","values":{"en":"Hello
        world!","es":"\u00a1Hola, Mundo!"}}]'
    http_version: 
  recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
- request:
    method: put
    uri: http://sample.example.com:3000/locomotive/api/translations/5238712587f643884e000005.json?auth_token=iaWvtP5PhmnyKypXpLbM
    body:
      encoding: UTF-8
      string: translation[key]=hello_world&translation[values][en]=Hello%20world!&translation[values][es]=%C2%A1Hola%2C%20Mundo!
    headers: {}
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Tue, 17 Sep 2013 15:12:29 GMT
      Status:
      - 200 OK
      Connection:
      - close
      X-Message:
      - '"Translation%20was%20successfully%20updated."'
      X-Message-Type:
      - notice
      Location:
      - /locomotive/api/translations/5238712587f643884e000005
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"6e258b019216e6110fa565858cd7caed"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _locomotive_session=cjpnyxUPBgDS74JFiVY3b1xspNU; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - 0a37b1f12e447e0215ef983e9443930f
      X-Runtime:
      - '0.045002'
    body:
      encoding: UTF-8
      string: '{"id":"5238712587f643884e000005","_id":"5238712587f643884e000005","created_at":"2013-09-17T15:11:33Z","updated_at":"2013-09-17T15:11:33Z","key":"hello_world","values":{"en":"Hello
        world!","es":"\u00a1Hola, Mundo!"}}'
    http_version: 
  recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
- request:
    method: get
    uri: http://sample.example.com:3000/locomotive/api/pages.json?auth_token=iaWvtP5PhmnyKypXpLbM
    body:
      encoding: US-ASCII
      string: ''
    headers: {}
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Tue, 17 Sep 2013 15:12:29 GMT
      Status:
      - 200 OK
      Connection:
      - close
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"a19c8f4823366aaef7a28e95582c9b2d"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _locomotive_session=PXfqBBIYd5_C0wvN1XiAFcJyJnA; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - 9b7d0d6fadd5361f5a9b1ca5a499e6b2
      X-Runtime:
      - '0.043180'
    body:
      encoding: UTF-8
      string: '[{"id":"5238710587f6431df7000007","_id":"5238710587f6431df7000007","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:34Z","title":"Home
        page","slug":"index","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"index","localized_fullpaths":{"en":"","es":"es"},"depth":0,"translated_in":["en","es"],"raw_template":"{%
        block content %}\r\n  New content of the home page\r\n{% endblock %}\r\n\r\n","escaped_raw_template":"{%
        block content %}\r\n  New content of the home page\r\n{% endblock %}\r\n\r\n","editable_elements":[]},{"id":"5238712687f643884e000006","_id":"5238712687f643884e000006","created_at":"2013-09-17T15:11:34Z","updated_at":"2013-09-17T15:11:34Z","title":"translated","slug":"translated","parent_id":"5238710587f6431df7000007","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"translated","localized_fullpaths":{"en":"translated","es":"es/translated"},"depth":1,"translated_in":["en"],"raw_template":"{{
        ''hello_world'' | translate}}","escaped_raw_template":"{{ &#x27;hello_world&#x27;
        | translate}}","editable_elements":[]},{"id":"5238712687f643884e000008","_id":"5238712687f643884e000008","created_at":"2013-09-17T15:11:34Z","updated_at":"2013-09-17T15:11:34Z","title":"Latest","slug":"latest","parent_id":"5238712687f643884e000007","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"products/latest","localized_fullpaths":{"en":"products/latest","es":"es/products/latest"},"depth":2,"translated_in":["en"],"raw_template":"{%
        extends parent %}\r\n{% block content %}\r\n  The name of the latest product
        is: {{ contents.products.last.name }}\r\n{% endblock %}","escaped_raw_template":"{%
        extends parent %}\r\n{% block content %}\r\n  The name of the latest product
        is: {{ contents.products.last.name }}\r\n{% endblock %}","editable_elements":[]},{"id":"5238710587f6431df7000008","_id":"5238710587f6431df7000008","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:34Z","title":"Page
        not found","slug":"404","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"404","localized_fullpaths":{"en":"404","es":"es/404"},"depth":0,"translated_in":["en","es"],"raw_template":"Content
        of the 404 page","escaped_raw_template":"Content of the 404 page","editable_elements":[]},{"id":"5238712687f643884e000007","_id":"5238712687f643884e000007","created_at":"2013-09-17T15:11:34Z","updated_at":"2013-09-17T15:11:34Z","title":"Products","slug":"products","parent_id":"5238710587f6431df7000007","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"products","localized_fullpaths":{"en":"products","es":"es/products"},"depth":1,"translated_in":["en","es"],"raw_template":"{%
        extends parent %}","escaped_raw_template":"{% extends parent %}","editable_elements":[],"seo_title":"Search
        friendly products","meta_keywords":"fancy, products, keywords","meta_description":"Fancy
        products description"}]'
    http_version: 
  recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
- request:
    method: put
    uri: http://sample.example.com:3000/locomotive/api/pages/5238710587f6431df7000007.json?auth_token=iaWvtP5PhmnyKypXpLbM
    body:
      encoding: UTF-8
      string: page[title]=Home%20page&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=0&page[raw_template]=%7B%25%20block%20content%20%25%7D%0D%0A%20%20New%20content%20of%20the%20home%20page%0D%0A%7B%25%20endblock%20%25%7D%0D%0A%0D%0A&locale=en
    headers: {}
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Tue, 17 Sep 2013 15:12:29 GMT
      Status:
      - 200 OK
      Connection:
      - close
      X-Message:
      - '"Page%20was%20successfully%20updated."'
      X-Message-Type:
      - notice
      Location:
      - http://sample.example.com:3000/locomotive/api/pages
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"6ffba3690379b6da746fd27d92f7248a"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _locomotive_session=duU5dLDj_8QFxXTFIEQ14_NmjtM; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - 4bf8bbc4161c73ff8cbb68fa7e839151
      X-Runtime:
      - '0.047836'
    body:
      encoding: UTF-8
      string: '{"id":"5238710587f6431df7000007","_id":"5238710587f6431df7000007","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:34Z","title":"Home
        page","slug":"index","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"index","localized_fullpaths":{"en":"","es":"es"},"depth":0,"translated_in":["en","es"],"raw_template":"{%
        block content %}\r\n  New content of the home page\r\n{% endblock %}\r\n\r\n","escaped_raw_template":"{%
        block content %}\r\n  New content of the home page\r\n{% endblock %}\r\n\r\n","editable_elements":[]}'
    http_version: 
  recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
- request:
    method: put
    uri: http://sample.example.com:3000/locomotive/api/pages/5238710587f6431df7000008.json?auth_token=iaWvtP5PhmnyKypXpLbM
    body:
      encoding: UTF-8
      string: page[title]=Page%20not%20found&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=1&page[raw_template]=Content%20of%20the%20404%20page&locale=en
    headers: {}
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Tue, 17 Sep 2013 15:12:29 GMT
      Status:
      - 200 OK
      Connection:
      - close
      X-Message:
      - '"Page%20was%20successfully%20updated."'
      X-Message-Type:
      - notice
      Location:
      - http://sample.example.com:3000/locomotive/api/pages
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"51be0ea69464ebbebabffdc75ca040e6"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _locomotive_session=4McSFfrelnpxYjmqfxDPY9qgTww; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - 8e53fa6a4871e216fcbb4638cf018d16
      X-Runtime:
      - '0.047939'
    body:
      encoding: UTF-8
      string: '{"id":"5238710587f6431df7000008","_id":"5238710587f6431df7000008","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:34Z","title":"Page
        not found","slug":"404","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"404","localized_fullpaths":{"en":"404","es":"es/404"},"depth":0,"translated_in":["en","es"],"raw_template":"Content
        of the 404 page","escaped_raw_template":"Content of the 404 page","editable_elements":[]}'
    http_version: 
  recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
- request:
    method: put
    uri: http://sample.example.com:3000/locomotive/api/pages/5238712687f643884e000006.json?auth_token=iaWvtP5PhmnyKypXpLbM
    body:
      encoding: UTF-8
      string: page[title]=translated&page[slug]=translated&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=0&page[parent_id]=5238710587f6431df7000007&page[raw_template]=%7B%7B%20'hello_world'%20%7C%20translate%7D%7D&locale=en
    headers: {}
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Tue, 17 Sep 2013 15:12:29 GMT
      Status:
      - 200 OK
      Connection:
      - close
      X-Message:
      - '"Page%20was%20successfully%20updated."'
      X-Message-Type:
      - notice
      Location:
      - http://sample.example.com:3000/locomotive/api/pages
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"a202b02adc5632297cf5e8f3bf2409ae"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _locomotive_session=kit5yHtwhnibsHnc_gTKkA2t6yc; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - 0c1477d58c67745cf298b0cc8d620a78
      X-Runtime:
      - '0.044674'
    body:
      encoding: UTF-8
      string: '{"id":"5238712687f643884e000006","_id":"5238712687f643884e000006","created_at":"2013-09-17T15:11:34Z","updated_at":"2013-09-17T15:11:34Z","title":"translated","slug":"translated","parent_id":"5238710587f6431df7000007","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"translated","localized_fullpaths":{"en":"translated","es":"es/translated"},"depth":1,"translated_in":["en"],"raw_template":"{{
        ''hello_world'' | translate}}","escaped_raw_template":"{{ &#x27;hello_world&#x27;
        | translate}}","editable_elements":[]}'
    http_version: 
  recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
- request:
    method: put
    uri: http://sample.example.com:3000/locomotive/api/pages/5238712687f643884e000007.json?auth_token=iaWvtP5PhmnyKypXpLbM
    body:
      encoding: UTF-8
      string: page[title]=Products&page[slug]=products&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=1&page[seo_title]=Search%20friendly%20products&page[meta_keywords]=fancy%2C%20products%2C%20keywords&page[meta_description]=Fancy%20products%20description&page[parent_id]=5238710587f6431df7000007&page[raw_template]=%7B%25%20extends%20parent%20%25%7D&locale=en
    headers: {}
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Tue, 17 Sep 2013 15:12:29 GMT
      Status:
      - 200 OK
      Connection:
      - close
      X-Message:
      - '"Page%20was%20successfully%20updated."'
      X-Message-Type:
      - notice
      Location:
      - http://sample.example.com:3000/locomotive/api/pages
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"8f39ff72128b0d2f1362df309b2a067c"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _locomotive_session=ky2khm8wBrdzKCUesWW3xuerRn4; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - 33d483adaf6bb546ba2c74c65948e216
      X-Runtime:
      - '0.050862'
    body:
      encoding: UTF-8
      string: '{"id":"5238712687f643884e000007","_id":"5238712687f643884e000007","created_at":"2013-09-17T15:11:34Z","updated_at":"2013-09-17T15:11:34Z","title":"Products","slug":"products","parent_id":"5238710587f6431df7000007","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"products","localized_fullpaths":{"en":"products","es":"es/products"},"depth":1,"translated_in":["en","es"],"raw_template":"{%
        extends parent %}","escaped_raw_template":"{% extends parent %}","editable_elements":[],"seo_title":"Search
        friendly products","meta_keywords":"fancy, products, keywords","meta_description":"Fancy
        products description"}'
    http_version: 
  recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
- request:
    method: put
    uri: http://sample.example.com:3000/locomotive/api/pages/5238712687f643884e000008.json?auth_token=iaWvtP5PhmnyKypXpLbM
    body:
      encoding: UTF-8
      string: page[title]=Latest&page[slug]=latest&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=0&page[parent_id]=5238712687f643884e000007&page[raw_template]=%7B%25%20extends%20parent%20%25%7D%0D%0A%7B%25%20block%20content%20%25%7D%0D%0A%20%20The%20name%20of%20the%20latest%20product%20is%3A%20%7B%7B%20contents.products.last.name%20%7D%7D%0D%0A%7B%25%20endblock%20%25%7D&locale=en
    headers: {}
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Tue, 17 Sep 2013 15:12:29 GMT
      Status:
      - 200 OK
      Connection:
      - close
      X-Message:
      - '"Page%20was%20successfully%20updated."'
      X-Message-Type:
      - notice
      Location:
      - http://sample.example.com:3000/locomotive/api/pages
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"915df796067c2230e0a66e120eb4b6d3"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _locomotive_session=j1Bx5Qt4s30UKEBKQGxxowJJXjU; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - 1573bafc95c15798ae2c1a5ea62da865
      X-Runtime:
      - '0.043120'
    body:
      encoding: UTF-8
      string: '{"id":"5238712687f643884e000008","_id":"5238712687f643884e000008","created_at":"2013-09-17T15:11:34Z","updated_at":"2013-09-17T15:11:34Z","title":"Latest","slug":"latest","parent_id":"5238712687f643884e000007","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"products/latest","localized_fullpaths":{"en":"products/latest","es":"es/products/latest"},"depth":2,"translated_in":["en"],"raw_template":"{%
        extends parent %}\r\n{% block content %}\r\n  The name of the latest product
        is: {{ contents.products.last.name }}\r\n{% endblock %}","escaped_raw_template":"{%
        extends parent %}\r\n{% block content %}\r\n  The name of the latest product
        is: {{ contents.products.last.name }}\r\n{% endblock %}","editable_elements":[]}'
    http_version: 
  recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
- request:
    method: put
    uri: http://sample.example.com:3000/locomotive/api/pages/5238710587f6431df7000007.json?auth_token=iaWvtP5PhmnyKypXpLbM
    body:
      encoding: UTF-8
      string: page[title]=P%C3%A1gina%20de%20inicio&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=0&page[raw_template]=New%20content%20of%20the%20home%20page%0D%0A&locale=es
    headers: {}
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Tue, 17 Sep 2013 15:12:29 GMT
      Status:
      - 200 OK
      Connection:
      - close
      Location:
      - http://sample.example.com:3000/locomotive/api/pages
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"6499def2ece0125f6b4cebb93d09abc9"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _locomotive_session=j2m44mhqVbbeQagbxBf28-iDnUQ; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - d51d42bbfe8dedee95f1d7b180e13bb0
      X-Runtime:
      - '0.057261'
    body:
      encoding: UTF-8
      string: '{"id":"5238710587f6431df7000007","_id":"5238710587f6431df7000007","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:34Z","title":"P\u00e1gina
        de inicio","slug":"index","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"index","localized_fullpaths":{"en":"","es":"es"},"depth":0,"translated_in":["en","es"],"raw_template":"New
        content of the home page\r\n","escaped_raw_template":"New content of the home
        page\r\n","editable_elements":[]}'
    http_version: 
  recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
- request:
    method: put
    uri: http://sample.example.com:3000/locomotive/api/pages/5238710587f6431df7000008.json?auth_token=iaWvtP5PhmnyKypXpLbM
    body:
      encoding: UTF-8
      string: page[title]=P%C3%A1gina%20no%20encontrada&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=1&page[raw_template]=Content%20of%20the%20404%20page&locale=es
    headers: {}
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Tue, 17 Sep 2013 15:12:29 GMT
      Status:
      - 200 OK
      Connection:
      - close
      Location:
      - http://sample.example.com:3000/locomotive/api/pages
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"d04724071150d907283a4aea3a16f368"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _locomotive_session=140LzM_9gbzuZH4b73fpn3Hf9ls; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - 8efc1ee1426a05eb1c2af10d07ae87a9
      X-Runtime:
      - '0.041373'
    body:
      encoding: UTF-8
      string: '{"id":"5238710587f6431df7000008","_id":"5238710587f6431df7000008","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:34Z","title":"P\u00e1gina
        no encontrada","slug":"404","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"404","localized_fullpaths":{"en":"404","es":"es/404"},"depth":0,"translated_in":["en","es"],"raw_template":"Content
        of the 404 page","escaped_raw_template":"Content of the 404 page","editable_elements":[]}'
    http_version: 
  recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
- request:
    method: put
    uri: http://sample.example.com:3000/locomotive/api/pages/5238712687f643884e000007.json?auth_token=iaWvtP5PhmnyKypXpLbM
    body:
      encoding: UTF-8
      string: page[title]=Products&page[slug]=products&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=1&page[seo_title]=Productos%20SEO&page[meta_keywords]=palabras%2C%20clave%2C%20productos&page[meta_description]=Descripci%C3%B3n%20molona%20de%20los%20productos&page[parent_id]=5238710587f6431df7000007&page[raw_template]=%7B%25%20extends%20parent%20%25%7D&locale=es
    headers: {}
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Tue, 17 Sep 2013 15:12:29 GMT
      Status:
      - 200 OK
      Connection:
      - close
      Location:
      - http://sample.example.com:3000/locomotive/api/pages
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"df564c6fd92a1e7b3d311fc1183d251b"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _locomotive_session=pygcjUdiyEBnb2E3Q6qnERw3UiM; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - 63e0126bcadfc18ff2b92cbb98a73b48
      X-Runtime:
      - '0.052407'
    body:
      encoding: UTF-8
      string: '{"id":"5238712687f643884e000007","_id":"5238712687f643884e000007","created_at":"2013-09-17T15:11:34Z","updated_at":"2013-09-17T15:11:34Z","title":"Products","slug":"products","parent_id":"5238710587f6431df7000007","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"products","localized_fullpaths":{"en":"products","es":"es/products"},"depth":1,"translated_in":["en","es"],"raw_template":"{%
        extends parent %}","escaped_raw_template":"{% extends parent %}","editable_elements":[],"seo_title":"Productos
        SEO","meta_keywords":"palabras, clave, productos","meta_description":"Descripci\u00f3n
        molona de los productos"}'
    http_version: 
  recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
- request:
    method: get
    uri: http://sample.example.com:3000/locomotive/api/theme_assets.json?auth_token=iaWvtP5PhmnyKypXpLbM
    body:
      encoding: US-ASCII
      string: ''
    headers: {}
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Tue, 17 Sep 2013 15:12:30 GMT
      Status:
      - 200 OK
      Connection:
      - close
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"d751713988987e9331980363e24189ce"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _locomotive_session=AmdddP0LQNJk5CbNcw7PDZ27vVw; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - f1be1b0c567c52f2f3aa657721d33418
      X-Runtime:
      - '0.037162'
    body:
      encoding: UTF-8
      string: '[]'
    http_version: 
  recorded_at: Tue, 17 Sep 2013 15:12:30 GMT
recorded_with: VCR 2.5.0
