Sha256: 63cac0bb18a5946c05c95e8ec3f45a0d96110d16782fecce82a99f072890c327

Contents?: true

Size: 1.88 KB

Versions: 1

Compression:

Stored size: 1.88 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, 29 May 2014 15:28:32 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:
      - "\"a8b3103fef34948c7ead4c8335e29543\""
      Access-Control-Allow-Origin:
      - "*"
      Access-Control-Allow-Methods:
      - GET
      Strict-Transport-Security:
      - max-age=31536000
    body:
      encoding: UTF-8
      string: "[{\"meta/instanceID\": \"uuid:be1b882a-b377-4cf0-95d3-c2acc8d04e7a\",
        \"name\": \"georges\", \"_submission_time\": \"2014-05-15T16:29:00\", \"age\":
        \"12\", \"_uuid\": \"be1b882a-b377-4cf0-95d3-c2acc8d04e7a\", \"_bamboo_dataset_id\":
        \"\", \"_tags\": [], \"_attachments\": [], \"_geolocation\": [null, null],
        \"end_time\": \"2014-05-15T17:28:59.000+01:00\", \"_xform_id_string\": \"survey\",
        \"imei\": \"enketo.formhub.org:fSucCmZ5zwzNcTe1\", \"phonenumber\": \"no phonenumber
        property in enketo\", \"_status\": \"submitted_via_web\", \"_id\": 3318651,
        \"start_time\": \"2014-05-15T17:28:43.000+01:00\", \"today\": \"2014-05-15\",
        \"formhub/uuid\": \"1bfb7222748a4ee98106ea7d7a9c72cf\"}]"
    http_version: 
  recorded_at: Thu, 29 May 2014 15:28:42 GMT
recorded_with: VCR 2.9.0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
formhub_ruby-0.0.6.1 spec/fixtures/vcr_cassettes/query_start_and_limit.yml