Sha256: dd4213d7c46ca484fa4210e01d20f4581a1fc728fc943e055b6e176dd75e8574

Contents?: true

Size: 1.52 KB

Versions: 9

Compression:

Stored size: 1.52 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: http://www.wikidata.org/w/api.php?action=wbgetentities&format=json&ids=THISISNOTAVALIDID&sites=enwiki
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - Faraday v0.9.0
      Expect:
      - ''
  response:
    status:
      code: 200
      message: OK
    headers:
      Server:
      - Apache
      X-Content-Type-Options:
      - nosniff
      Cache-Control:
      - private
      Mediawiki-Api-Error:
      - no-such-entity
      X-Frame-Options:
      - DENY
      Content-Type:
      - application/json; charset=utf-8
      Vary:
      - Accept-Encoding,X-Use-HHVM
      X-Varnish:
      - 1896412505, 2930410561, 627366828
      Via:
      - 1.1 varnish, 1.1 varnish, 1.1 varnish
      Transfer-Encoding:
      - chunked
      Date:
      - Mon, 29 Sep 2014 09:07:24 GMT
      Age:
      - '0'
      Connection:
      - keep-alive
      X-Cache:
      - cp1054 miss (0), amssq36 miss (0), amssq62 frontend miss (0)
      X-Analytics:
      - php=zend
      Set-Cookie:
      - GeoIP=FR:Sainte-luce-sur-loire:47.2500:-1.5000:v4; Path=/; Domain=.wikidata.org
    body:
      encoding: ASCII-8BIT
      string: '{"servedby":"mw1205","error":{"code":"no-such-entity","info":"Could
        not find such an entity (Invalid id: THISISNOTAVALIDID)","messages":[{"name":"wikibase-api-no-such-entity","parameters":[],"html":{"*":"Could
        not find such an entity"}}]}}'
    http_version: 
  recorded_at: Mon, 29 Sep 2014 09:07:24 GMT
recorded_with: VCR 2.9.3

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
wikidata-client-0.0.9 spec/fixtures/vcr/Wikidata_Item/_find_/should_return_nil_if_item_not_found.yml
wikidata-client-0.0.8 spec/fixtures/vcr/Wikidata_Item/_find_/should_return_nil_if_item_not_found.yml
wikidata-client-0.0.7 spec/fixtures/vcr/Wikidata_Item/_find_/should_return_nil_if_item_not_found.yml
wikidata-client-0.0.6 spec/fixtures/vcr/Wikidata_Item/_find_/should_return_nil_if_item_not_found.yml
wikidata-client-0.0.5 spec/fixtures/vcr/Wikidata_Item/_find_/should_return_nil_if_item_not_found.yml
wikidata-client-0.0.4 spec/fixtures/vcr/Wikidata_Item/_find_/should_return_nil_if_item_not_found.yml
wikidata-client-0.0.3 spec/fixtures/vcr/Wikidata_Item/_find_/should_return_nil_if_item_not_found.yml
wikidata-client-0.0.2 spec/fixtures/vcr/Wikidata_Item/_find_/should_return_nil_if_item_not_found.yml
wikidata-client-0.0.1 spec/fixtures/vcr/Wikidata_Item/_find_/should_return_nil_if_item_not_found.yml