Sha256: 796f517aa22557e86cc5f51365be4c72b5025712a142e046a31780208dca8eb1

Contents?: true

Size: 1.92 KB

Versions: 1

Compression:

Stored size: 1.92 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: http://<USERNAME>:<PASSWORD>@formhub.org/<USERNAME>/forms/survey/api?limit=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:
      - Mon, 16 Jun 2014 13:01:21 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: Mon, 16 Jun 2014 12:59:53 GMT
recorded_with: VCR 2.9.0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
formhub_ruby-0.0.8.4 spec/fixtures/vcr_cassettes/query_limit.yml