Sha256: f055074de177f7b5c76edc7f5b4e27157129bf4a65332ef02c74f618bd627596

Contents?: true

Size: 1.93 KB

Versions: 2

Compression:

Stored size: 1.93 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: http://<USERNAME>:<PASSWORD>@formhub.org/<USERNAME>/forms/survey/api?limit=1&start=1
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
      Host:
      - formhub.org
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Tue, 10 Jun 2014 11:44:02 GMT
      Content-Type:
      - application/json
      Transfer-Encoding:
      - chunked
      Connection:
      - keep-alive
      Server:
      - gunicorn/0.15.0
      Access-Control-Allow-Headers:
      - Accept, Origin, X-Requested-With, Authorization
      Content-Language:
      - en-us
      Vary:
      - Accept-Language, Cookie
      Etag:
      - "\"cca3b5eba43f81971965707f51c4882b\""
      Access-Control-Allow-Origin:
      - "*"
      Access-Control-Allow-Methods:
      - GET
      Strict-Transport-Security:
      - max-age=31536000
    body:
      encoding: UTF-8
      string: "[{\"meta/instanceID\": \"uuid:2aebfa29-6284-4c3a-9c3f-6eb604f89194\",
        \"age\": \"23\", \"name\": \"loic\", \"_submission_time\": \"2014-05-15T16:28:19\",
        \"start_time\": \"2014-05-15T17:27:57.000+01:00\", \"_uuid\": \"2aebfa29-6284-4c3a-9c3f-6eb604f89194\",
        \"_bamboo_dataset_id\": \"\", \"_tags\": [], \"_attachments\": [], \"imei\":
        \"enketo.formhub.org:fSucCmZ5zwzNcTe1\", \"_geolocation\": [null, null], \"end_time\":
        \"2014-05-15T17:28:18.000+01:00\", \"gender\": \"female\", \"_xform_id_string\":
        \"survey\", \"phonenumber\": \"no phonenumber property in enketo\", \"_status\":
        \"submitted_via_web\", \"_id\": 3318647, \"pizza_fan\": \"no\", \"today\":
        \"2014-05-15\", \"formhub/uuid\": \"1bfb7222748a4ee98106ea7d7a9c72cf\"}]"
    http_version: 
  recorded_at: Tue, 10 Jun 2014 11:44:02 GMT
recorded_with: VCR 2.9.0

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
formhub_ruby-0.0.7.2 spec/fixtures/vcr_cassettes/query_start_and_limit.yml
formhub_ruby-0.0.7.1 spec/fixtures/vcr_cassettes/query_start_and_limit.yml