---
http_interactions:
- request:
    method: post
    uri: http://staging.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:17 GMT
      Status:
      - 200 OK
      Connection:
      - close
      Location:
      - http://staging.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=Z-0l0Y8-g8TGAAe1oM1Peib5vLI; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - 9bfd90daafdb585129b8767665ae3baf
      X-Runtime:
      - '0.045476'
    body:
      encoding: UTF-8
      string: '{"token":"iaWvtP5PhmnyKypXpLbM"}'
    http_version: 
  recorded_at: Tue, 17 Sep 2013 15:12:17 GMT
- request:
    method: get
    uri: http://staging.example.com:3000/locomotive/api/current_site.json?auth_token=iaWvtP5PhmnyKypXpLbM
    body:
      encoding: US-ASCII
      string: ''
    headers: {}
  response:
    status:
      code: 404
      message: Not Found
    headers:
      Date:
      - Tue, 17 Sep 2013 15:12:17 GMT
      Status:
      - 404 Not Found
      Connection:
      - close
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Cache-Control:
      - no-cache
      Set-Cookie:
      - _locomotive_session=Rp9eJOJH2fQswGRhc4CBMHxfbu0; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - dd091f0b3577e5d46a711bae143998b7
      X-Runtime:
      - '0.043115'
    body:
      encoding: UTF-8
      string: '{"error":"No site found"}'
    http_version: 
  recorded_at: Tue, 17 Sep 2013 15:12:17 GMT
- request:
    method: post
    uri: http://staging.example.com:3000/locomotive/api/sites.json?auth_token=iaWvtP5PhmnyKypXpLbM
    body:
      encoding: UTF-8
      string: site[name]=locomotive&site[locales][]=en&site[locales][]=es&site[subdomain]=staging&site[domains][]=staging.example.com&site[timezone]=UTC&locale=en
    headers: {}
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Tue, 17 Sep 2013 15:12:17 GMT
      Status:
      - 200 OK
      Connection:
      - close
      Location:
      - http://staging.example.com:3000/locomotive/sites/5238715187f643884e000009
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"6e842a0747f262a4d0a4822653b5ed6b"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _locomotive_session=Gx_CGBcDBH6JtUqjNMwW7yzAJvI; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - c27e7b1289cb931ee423f2f41be31c41
      X-Runtime:
      - '0.112822'
    body:
      encoding: UTF-8
      string: '{"id":"5238715187f643884e000009","_id":"5238715187f643884e000009","created_at":"2013-09-17T15:12:17Z","updated_at":"2013-09-17T15:12:17Z","name":"locomotive","locales":["en","es"],"timezone":"UTC","subdomain":"staging","domains":["staging.example.com"],"domains_without_subdomain":[],"domain_name":"example.com","memberships":[{"id":"5238715187f643884e00000a","_id":"5238715187f643884e00000a","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:17 GMT
- request:
    method: put
    uri: http://staging.example.com:3000/locomotive/api/sites/5238715187f643884e000009.json?auth_token=iaWvtP5PhmnyKypXpLbM
    body:
      encoding: UTF-8
      string: site[name]=locomotive&site[locales][]=en&site[locales][]=es&site[subdomain]=staging&site[domains][]=staging.example.com&site[timezone]=UTC&locale=es
    headers: {}
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Tue, 17 Sep 2013 15:12:17 GMT
      Status:
      - 200 OK
      Connection:
      - close
      Location:
      - http://staging.example.com:3000/locomotive/sites/5238715187f643884e000009
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"3eb7da00847216261731645a56548946"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _locomotive_session=yg3-tVy93jxvaLadUomxmcAe92w; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - c30fd870f8a85f1044735304e5cb7f20
      X-Runtime:
      - '0.059894'
    body:
      encoding: UTF-8
      string: '{"id":"5238715187f643884e000009","_id":"5238715187f643884e000009","created_at":"2013-09-17T15:12:17Z","updated_at":"2013-09-17T15:12:17Z","name":"locomotive","locales":["en","es"],"timezone":"UTC","subdomain":"staging","domains":["staging.example.com"],"domains_without_subdomain":[],"domain_name":"example.com","memberships":[{"id":"5238715187f643884e00000a","_id":"5238715187f643884e00000a","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:17 GMT
- request:
    method: get
    uri: http://staging.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:17 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=wAQkE4eOIgzOei0g94jrWerXqa0; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - 754f7e964a75adc660be5322941548a6
      X-Runtime:
      - '0.049819'
    body:
      encoding: UTF-8
      string: '[]'
    http_version: 
  recorded_at: Tue, 17 Sep 2013 15:12:17 GMT
- request:
    method: get
    uri: http://staging.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:17 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=G6KyKliXRWljgrWcsfJNwUqS53I; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - ee4a1a0bfa53662f5df0cd1df98f7406
      X-Runtime:
      - '0.147143'
    body:
      encoding: UTF-8
      string: '[]'
    http_version: 
  recorded_at: Tue, 17 Sep 2013 15:12:17 GMT
- request:
    method: post
    uri: http://staging.example.com:3000/locomotive/api/content_types.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][][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
    headers: {}
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Tue, 17 Sep 2013 15:12:17 GMT
      Status:
      - 200 OK
      Connection:
      - close
      Location:
      - http://staging.example.com:3000/locomotive/api/content_types
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"9a10d6bde4c6dff5872887e673ba38b3"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _locomotive_session=5IDxw38JgWhqxItM_MrQCWQR2UY; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - d392666c93ef648db15a29ce57bf2cec
      X-Runtime:
      - '0.078165'
    body:
      encoding: UTF-8
      string: '{"id":"5238715187f643884e00000d","_id":"5238715187f643884e00000d","created_at":"2013-09-17T15:12:17Z","updated_at":"2013-09-17T15:12:17Z","name":"Products","slug":"products","entries_custom_fields":[{"id":"5238715187f643884e00000e","_id":"5238715187f643884e00000e","name":"name","label":"name","type":"string","required":true,"localized":true,"unique":false,"position":0},{"id":"5238715187f643884e00000f","_id":"5238715187f643884e00000f","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:17 GMT
- request:
    method: get
    uri: http://staging.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:17 GMT
      Status:
      - 200 OK
      Connection:
      - close
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"2bf034a4556fe3479a16e76573df955d"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _locomotive_session=71tt9yea19R8HhQ0mshLgX28FkI; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - a0018dd556aa887384361d1cc04c0cb9
      X-Runtime:
      - '0.048914'
    body:
      encoding: UTF-8
      string: '[{"id":"5238715187f643884e00000b","_id":"5238715187f643884e00000b","created_at":"2013-09-17T15:12:17Z","updated_at":"2013-09-17T15:12:17Z","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":"Content
        of the home page","escaped_raw_template":"Content of the home page","editable_elements":[]},{"id":"5238715187f643884e00000c","_id":"5238715187f643884e00000c","created_at":"2013-09-17T15:12:17Z","updated_at":"2013-09-17T15:12:17Z","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:17 GMT
- request:
    method: put
    uri: http://staging.example.com:3000/locomotive/api/pages/5238715187f643884e00000b.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:18 GMT
      Status:
      - 200 OK
      Connection:
      - close
      X-Message:
      - '"Page%20was%20successfully%20updated."'
      X-Message-Type:
      - notice
      Location:
      - http://staging.example.com:3000/locomotive/api/pages
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"7526fea703475e13c5673d3b3dc74174"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _locomotive_session=YZ0YkOmt0avCCj2MAzcSd2chOfg; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - 3206f59d583d6efc01637f9dcbc9cc43
      X-Runtime:
      - '0.072984'
    body:
      encoding: UTF-8
      string: '{"id":"5238715187f643884e00000b","_id":"5238715187f643884e00000b","created_at":"2013-09-17T15:12:17Z","updated_at":"2013-09-17T15:12:18Z","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,"template_changed":true,"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:18 GMT
- request:
    method: put
    uri: http://staging.example.com:3000/locomotive/api/pages/5238715187f643884e00000c.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:18 GMT
      Status:
      - 200 OK
      Connection:
      - close
      X-Message:
      - '"Page%20was%20successfully%20updated."'
      X-Message-Type:
      - notice
      Location:
      - http://staging.example.com:3000/locomotive/api/pages
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"eb0485fd501236dec0f261e70555721f"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _locomotive_session=oUJqosgKMmzIMweOoAkLOEyRZGg; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - 23024c6f75ac4b4db106e1b277f7e90b
      X-Runtime:
      - '0.053845'
    body:
      encoding: UTF-8
      string: '{"id":"5238715187f643884e00000c","_id":"5238715187f643884e00000c","created_at":"2013-09-17T15:12:17Z","updated_at":"2013-09-17T15:12:17Z","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:18 GMT
- request:
    method: post
    uri: http://staging.example.com:3000/locomotive/api/pages.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]=5238715187f643884e00000b&page[raw_template]=%7B%7B%20'hello_world'%20%7C%20translate%7D%7D
    headers: {}
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Tue, 17 Sep 2013 15:12:18 GMT
      Status:
      - 200 OK
      Connection:
      - close
      Location:
      - http://staging.example.com:3000/locomotive/api/pages
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"d613d3737207cda34c54e60662bc4eb8"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _locomotive_session=TO2vsghCeuN0qN5J9TeGn-hZPhY; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - 21538f3846598a0746027c05379040a6
      X-Runtime:
      - '0.068711'
    body:
      encoding: UTF-8
      string: '{"id":"5238715287f643884e000010","_id":"5238715287f643884e000010","created_at":"2013-09-17T15:12:18Z","updated_at":"2013-09-17T15:12:18Z","title":"translated","slug":"translated","parent_id":"5238715187f643884e00000b","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,"template_changed":true,"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:18 GMT
- request:
    method: post
    uri: http://staging.example.com:3000/locomotive/api/pages.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]=5238715187f643884e00000b&page[raw_template]=%7B%25%20extends%20parent%20%25%7D
    headers: {}
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Tue, 17 Sep 2013 15:12:18 GMT
      Status:
      - 200 OK
      Connection:
      - close
      Location:
      - http://staging.example.com:3000/locomotive/api/pages
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"507502849fe4cc6de4a4c3b2869c3fa0"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _locomotive_session=77kG6mysN41mNG60lcZWlKhzpD0; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - 58d6d16ff658cea0ab4d90293d5fa2d5
      X-Runtime:
      - '0.069076'
    body:
      encoding: UTF-8
      string: '{"id":"5238715287f643884e000011","_id":"5238715287f643884e000011","created_at":"2013-09-17T15:12:18Z","updated_at":"2013-09-17T15:12:18Z","title":"Products","slug":"products","parent_id":"5238715187f643884e00000b","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,"template_changed":true,"translated_in":["en"],"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:18 GMT
- request:
    method: post
    uri: http://staging.example.com:3000/locomotive/api/pages.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]=5238715287f643884e000011&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
    headers: {}
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Tue, 17 Sep 2013 15:12:18 GMT
      Status:
      - 200 OK
      Connection:
      - close
      Location:
      - http://staging.example.com:3000/locomotive/api/pages
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"8c34a4badd6911f6574462b6b1c305ae"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _locomotive_session=hnwRvwirurzAcWZbZrsRGCXjqHw; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - 257eb9dbe9a49b96344cdd66e0727a73
      X-Runtime:
      - '0.069259'
    body:
      encoding: UTF-8
      string: '{"id":"5238715287f643884e000012","_id":"5238715287f643884e000012","created_at":"2013-09-17T15:12:18Z","updated_at":"2013-09-17T15:12:18Z","title":"Latest","slug":"latest","parent_id":"5238715287f643884e000011","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,"template_changed":true,"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:18 GMT
- request:
    method: put
    uri: http://staging.example.com:3000/locomotive/api/pages/5238715187f643884e00000b.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:18 GMT
      Status:
      - 200 OK
      Connection:
      - close
      Location:
      - http://staging.example.com:3000/locomotive/api/pages
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"6fadabcb1299382b31a7a76b19c3bdec"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _locomotive_session=xMkk4AIEl8Y92IYN6WraIpDQ1-4; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - 408a7e2b3c9ffca5242184458aafd900
      X-Runtime:
      - '0.112108'
    body:
      encoding: UTF-8
      string: '{"id":"5238715187f643884e00000b","_id":"5238715187f643884e00000b","created_at":"2013-09-17T15:12:17Z","updated_at":"2013-09-17T15:12:18Z","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,"template_changed":true,"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:18 GMT
- request:
    method: put
    uri: http://staging.example.com:3000/locomotive/api/pages/5238715187f643884e00000c.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:18 GMT
      Status:
      - 200 OK
      Connection:
      - close
      Location:
      - http://staging.example.com:3000/locomotive/api/pages
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"951c07cfeb3a3b0b3a5962b7bf5684b8"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _locomotive_session=LLgP_cxmWw_vR6lgaKBcJMCUFQM; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - d826f8392060b1dbd39e13d918f83547
      X-Runtime:
      - '0.048381'
    body:
      encoding: UTF-8
      string: '{"id":"5238715187f643884e00000c","_id":"5238715187f643884e00000c","created_at":"2013-09-17T15:12:17Z","updated_at":"2013-09-17T15:12:18Z","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,"template_changed":true,"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:18 GMT
- request:
    method: put
    uri: http://staging.example.com:3000/locomotive/api/pages/5238715287f643884e000011.json?auth_token=iaWvtP5PhmnyKypXpLbM
    body:
      encoding: UTF-8
      string: page[title]=Products&page[slug]=products&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[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:18 GMT
      Status:
      - 200 OK
      Connection:
      - close
      Location:
      - http://staging.example.com:3000/locomotive/api/pages
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"adbbc177679aebab4f5442b46c975ab7"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _locomotive_session=iVFImXwU4LRxxvm21taLtcQDkzE; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - 08b1dd7febf52138996b81a0e8d162ed
      X-Runtime:
      - '0.068407'
    body:
      encoding: UTF-8
      string: '{"id":"5238715287f643884e000011","_id":"5238715287f643884e000011","created_at":"2013-09-17T15:12:18Z","updated_at":"2013-09-17T15:12:18Z","title":"Products","slug":"products","parent_id":"5238715187f643884e00000b","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,"template_changed":true,"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:18 GMT
- request:
    method: get
    uri: http://staging.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:18 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=-t4DtKkjHS5nXFQ1qzDVjuudB50; domain=.example.com; path=/;
        HttpOnly
      X-Request-Id:
      - 7e14bbedcd12063d6114acef640780d6
      X-Runtime:
      - '0.035893'
    body:
      encoding: UTF-8
      string: '[]'
    http_version: 
  recorded_at: Tue, 17 Sep 2013 15:12:18 GMT
recorded_with: VCR 2.5.0
