Sha256: 1814b655a8cc560652f10d1b4b79ea2b1c11804e96351609199e8fea801f8b79

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:
      - Thu, 12 Jun 2014 12:17:25 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: Thu, 12 Jun 2014 12:16:56 GMT
recorded_with: VCR 2.9.0

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
formhub_ruby-0.0.8.3 spec/fixtures/vcr_cassettes/query_start_and_limit.yml
formhub_ruby-0.0.8 spec/fixtures/vcr_cassettes/query_start_and_limit.yml