--- http_interactions: - request: method: get uri: http://api.storageroomapp.com/accounts/account_id/collections.json?auth_token=application_api_key&per_page=100 body: encoding: US-ASCII string: '' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby response: status: code: 200 message: OK headers: Server: - nginx/1.1.19 Date: - Tue, 07 Oct 2014 07:48:52 GMT Content-Type: - application/json; charset=utf-8 Content-Length: - '3895' Connection: - keep-alive Status: - 200 OK X-Ua-Compatible: - IE=Edge,chrome=1 Etag: - '"31a0bb86725e09278c8ba8fd04a48a89"' Cache-Control: - max-age=0, private, must-revalidate Accept-Ranges: - bytes body: encoding: UTF-8 string: '{"array":{"@url":"http://api.storageroomapp.com/accounts/account_id/collections?per_page=100","@type":"Array","resources":[{"@type":"Collection","@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d","@account_url":"http://api.storageroomapp.com/accounts/account_id","@entries_url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries","@deleted_entries_url":"http://api.storageroomapp.com/accounts/account_id/deleted_entries?collection_url=http%3A%2F%2Fapi.storageroomapp.com%2Faccounts%2Faccount_id%2Fcollections%2F540d6d001e29fa3541000d2d","@version":8,"@created_at":"2014-09-08T08:46:56Z","@updated_at":"2014-10-06T08:23:07Z","name":"Codequest","note":"Testing","entry_type":"Codequest","primary_field_identifier":"name","fields":[{"@type":"StringField","name":"Name","identifier":"name","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","include_blank_choice":false},{"@type":"IntegerField","name":"Number","identifier":"number","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","include_blank_choice":false},{"@type":"FloatField","name":"Float","identifier":"float1","show_in_interface":true,"edit_in_interface":true,"input_type":"text_field","include_blank_choice":false},{"@type":"BooleanField","name":"Boolean","identifier":"boolean","show_in_interface":true,"edit_in_interface":true,"input_type":"radio","include_blank_choice":false,"choices":[["Yes",true],["No",false]]},{"@type":"DateField","name":"Date","identifier":"date","show_in_interface":true,"edit_in_interface":true,"input_type":"date_picker","include_blank_choice":false},{"@type":"TimeField","name":"Time","identifier":"time","show_in_interface":true,"edit_in_interface":true,"input_type":"time_picker","include_blank_choice":false},{"@type":"LocationField","name":"Location","identifier":"location","show_in_interface":true,"edit_in_interface":true,"input_type":"location"},{"@type":"FileField","name":"File","identifier":"file","show_in_interface":true,"edit_in_interface":true,"input_type":"file"},{"@type":"ImageField","name":"Image","identifier":"image","show_in_interface":true,"edit_in_interface":true,"input_type":"file","versions":[]},{"@type":"ArrayField","name":"Array","identifier":"array","show_in_interface":true,"edit_in_interface":true,"input_type":"array_field"},{"@type":"OneAssociationField","name":"Entry","identifier":"entry","show_in_interface":true,"edit_in_interface":true,"input_type":"association_field","collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005"},{"@type":"ManyAssociationField","name":"Entries","identifier":"entries","show_in_interface":true,"edit_in_interface":true,"input_type":"association_field","collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033"},{"@type":"JsonField","name":"Object","identifier":"object_json","show_in_interface":true,"edit_in_interface":true,"input_type":"json_field"},{"@type":"BooleanField","name":"checkbox","identifier":"checkbox","show_in_interface":true,"edit_in_interface":false,"input_type":"radio","include_blank_choice":false,"choices":[["Yes",true],["No",false]]},{"@type":"ArrayField","name":"wiele_wyborow","identifier":"wiele_wyborow","show_in_interface":true,"edit_in_interface":true,"input_type":"check_boxes","choices":["Dom","Chata","Palac","Baza","Hotel","Motel"]}],"webhook_definitions":[{"@type":"WebhookDefinition","url":"https://www.example.com","on_create":true,"on_update":true,"on_delete":true,"api":true,"web_interface":true},{"@type":"WebhookDefinition","url":"https://www.example2.com","on_create":true,"on_update":true,"on_delete":true,"api":true,"web_interface":true}]}]}}' http_version: recorded_at: Tue, 07 Oct 2014 07:50:53 GMT - request: method: get uri: http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries.json?auth_token=application_api_key&page=1&per_page=100 body: encoding: US-ASCII string: '' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby response: status: code: 200 message: OK headers: Server: - nginx/1.1.19 Date: - Tue, 07 Oct 2014 07:48:53 GMT Content-Type: - application/json; charset=utf-8 Content-Length: - '3690' Connection: - keep-alive Status: - 200 OK X-Ua-Compatible: - IE=Edge,chrome=1 Etag: - '"11b924645e592f76b5a46ca529ba85ac"' Cache-Control: - max-age=0, private, must-revalidate Accept-Ranges: - bytes body: encoding: UTF-8 string: '{"array":{"@total_resources":2,"@pages":1,"@page":1,"@per_page":100,"@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries?page=1&per_page=100","@type":"Array","resources":[{"@type":"Codequest","@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d","@version":2,"@trash":false,"@created_at":"2014-09-08T08:49:26Z","@updated_at":"2014-09-12T08:49:46Z","name":"Test","number":11,"float1":1.1,"boolean":true,"date":"2014-09-03","time":"2014-09-09T06:13:00Z","location":{"@type":"Location","lat":53.13248859999999,"lng":23.168840300000056},"file":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d/fields/k540d6d001e29fa3541000d34/file.png"},"image":{"@type":"Image","@url":"http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d/fields/k540d6d001e29fa3541000d35/file.png","@processing":false,"@versions":{}},"array":["some value","second value","third value"],"entry":{"@type":"Restaurant","url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005/entries/4d960919ba05617333000012"},"entries":[{"@type":"Category","url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1674d085d46a7000021"},{"@type":"Category","url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1644d085d46e0000019"}],"object_json":null,"checkbox":null,"wiele_wyborow":[]},{"@type":"Codequest","@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries/5412e93a1e29fa07dd00178b","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d","@version":3,"@trash":false,"@created_at":"2014-09-12T12:38:18Z","@updated_at":"2014-10-06T08:24:35Z","name":"Test z plikiem","number":11,"float1":null,"boolean":null,"date":null,"time":null,"location":null,"file":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/5412e93a1e29fa07dd00178b/fields/k540d6d001e29fa3541000d34/file.pdf"},"image":{"@type":"Image","@url":"http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/5412e93a1e29fa07dd00178b/fields/k540d6d001e29fa3541000d35/file.png","@processing":false,"@versions":{}},"array":[],"entry":null,"entries":[{"@type":"Category","url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1644d085d46e0000019"},{"@type":"Category","url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1674d085d46a7000021"}],"object_json":{"entry":{"@type":"Codequest","@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d","@version":2,"@trash":false,"@created_at":"2014-09-08T08:49:26Z","@updated_at":"2014-09-12T08:49:46Z","name":"Test","number":11}},"checkbox":null,"wiele_wyborow":["Dom","Palac","Hotel"]}]}}' http_version: recorded_at: Tue, 07 Oct 2014 07:50:54 GMT - request: method: get uri: http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries.json?auth_token=application_api_key&page=1&per_page=100 body: encoding: US-ASCII string: '' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby response: status: code: 200 message: OK headers: Server: - nginx/1.1.19 Date: - Tue, 07 Oct 2014 07:48:53 GMT Content-Type: - application/json; charset=utf-8 Content-Length: - '3690' Connection: - keep-alive Status: - 200 OK X-Ua-Compatible: - IE=Edge,chrome=1 Etag: - '"11b924645e592f76b5a46ca529ba85ac"' Cache-Control: - max-age=0, private, must-revalidate Accept-Ranges: - bytes body: encoding: UTF-8 string: '{"array":{"@total_resources":2,"@pages":1,"@page":1,"@per_page":100,"@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries?page=1&per_page=100","@type":"Array","resources":[{"@type":"Codequest","@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d","@version":2,"@trash":false,"@created_at":"2014-09-08T08:49:26Z","@updated_at":"2014-09-12T08:49:46Z","name":"Test","number":11,"float1":1.1,"boolean":true,"date":"2014-09-03","time":"2014-09-09T06:13:00Z","location":{"@type":"Location","lat":53.13248859999999,"lng":23.168840300000056},"file":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d/fields/k540d6d001e29fa3541000d34/file.png"},"image":{"@type":"Image","@url":"http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d/fields/k540d6d001e29fa3541000d35/file.png","@processing":false,"@versions":{}},"array":["some value","second value","third value"],"entry":{"@type":"Restaurant","url":"http://api.storageroomapp.com/accounts/account_id/collections/4d960916ba05617333000005/entries/4d960919ba05617333000012"},"entries":[{"@type":"Category","url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1674d085d46a7000021"},{"@type":"Category","url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1644d085d46e0000019"}],"object_json":null,"checkbox":null,"wiele_wyborow":[]},{"@type":"Codequest","@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries/5412e93a1e29fa07dd00178b","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d","@version":3,"@trash":false,"@created_at":"2014-09-12T12:38:18Z","@updated_at":"2014-10-06T08:24:35Z","name":"Test z plikiem","number":11,"float1":null,"boolean":null,"date":null,"time":null,"location":null,"file":{"@type":"File","@url":"http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/5412e93a1e29fa07dd00178b/fields/k540d6d001e29fa3541000d34/file.pdf"},"image":{"@type":"Image","@url":"http://files.storageroomapp.com/accounts/account_id/collection/540d6d001e29fa3541000d2d/entries/5412e93a1e29fa07dd00178b/fields/k540d6d001e29fa3541000d35/file.png","@processing":false,"@versions":{}},"array":[],"entry":null,"entries":[{"@type":"Category","url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1644d085d46e0000019"},{"@type":"Category","url":"http://api.storageroomapp.com/accounts/account_id/collections/4dff88d74d085d6010000033/entries/4e2ea1674d085d46a7000021"}],"object_json":{"entry":{"@type":"Codequest","@url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d/entries/540d6d961e29fa3559000d0d","@collection_url":"http://api.storageroomapp.com/accounts/account_id/collections/540d6d001e29fa3541000d2d","@version":2,"@trash":false,"@created_at":"2014-09-08T08:49:26Z","@updated_at":"2014-09-12T08:49:46Z","name":"Test","number":11}},"checkbox":null,"wiele_wyborow":["Dom","Palac","Hotel"]}]}}' http_version: recorded_at: Tue, 07 Oct 2014 07:50:54 GMT recorded_with: VCR 2.9.3