|
| 1 | +http_interactions: |
| 2 | +- request: |
| 3 | + method: post |
| 4 | + uri: https://api.ipums.org/extracts?collection=atus&version=2 |
| 5 | + body: |
| 6 | + encoding: '' |
| 7 | + string: '{"description":"","dataStructure":{"rectangular":{"on":"P"}},"dataFormat":"fixed_width","sampleMembers":{"includeNonRespondents":false,"includeHouseholdMembers":false},"samples":{"at2004":{}},"variables":{"AGE":{"adjustMonetaryValues":true}},"caseSelectWho":"individuals","collection":"atus","version":2}' |
| 8 | + headers: |
| 9 | + Accept: application/json, text/xml, application/xml, */* |
| 10 | + Authorization: <<<IPUMS_API_KEY>>> |
| 11 | + Content-Type: application/json |
| 12 | + response: |
| 13 | + status: |
| 14 | + status_code: 400 |
| 15 | + category: Client error |
| 16 | + reason: Bad Request |
| 17 | + message: 'Client error: (400) Bad Request' |
| 18 | + headers: |
| 19 | + cache-control: no-cache |
| 20 | + content-type: application/json; charset=utf-8 |
| 21 | + date: Fri, 30 May 2025 12:35:20 GMT |
| 22 | + referrer-policy: strict-origin-when-cross-origin |
| 23 | + server: nginx/1.22.1 |
| 24 | + vary: Origin |
| 25 | + x-content-type-options: nosniff |
| 26 | + x-frame-options: SAMEORIGIN |
| 27 | + x-permitted-cross-domain-policies: none |
| 28 | + x-ratelimit-limit: '-1' |
| 29 | + x-ratelimit-remaining: '0' |
| 30 | + x-ratelimit-reset: '0' |
| 31 | + x-request-id: 7ace3d95-de09-4080-9921-84e546bab908 |
| 32 | + x-runtime: '0.486823' |
| 33 | + x-xss-protection: '0' |
| 34 | + content-length: '148' |
| 35 | + body: |
| 36 | + encoding: '' |
| 37 | + file: no |
| 38 | + string: '{"type":"SemanticValidationError","status":{"code":400,"name":"Bad |
| 39 | + Request"},"detail":["Monetary value adjustment is not supported for IPUMS |
| 40 | + ATUS"]}' |
| 41 | + recorded_at: 2025-05-30 12:35:21 GMT |
| 42 | + recorded_with: vcr/1.7.0, webmockr/2.0.0 |
| 43 | +- request: |
| 44 | + method: post |
| 45 | + uri: https://api.ipums.org/extracts?collection=cps&version=2 |
| 46 | + body: |
| 47 | + encoding: '' |
| 48 | + string: '{"description":"","dataStructure":{"rectangular":{"on":"P"}},"dataFormat":"fixed_width","sampleMembers":{"includeNonRespondents":false,"includeHouseholdMembers":false},"samples":{"cps2012_03s":{}},"variables":{"AGE":{"adjustMonetaryValues":true}},"caseSelectWho":"individuals","collection":"cps","version":2}' |
| 49 | + headers: |
| 50 | + Accept: application/json, text/xml, application/xml, */* |
| 51 | + Authorization: <<<IPUMS_API_KEY>>> |
| 52 | + Content-Type: application/json |
| 53 | + response: |
| 54 | + status: |
| 55 | + status_code: 400 |
| 56 | + category: Client error |
| 57 | + reason: Bad Request |
| 58 | + message: 'Client error: (400) Bad Request' |
| 59 | + headers: |
| 60 | + cache-control: no-cache |
| 61 | + content-type: application/json; charset=utf-8 |
| 62 | + date: Fri, 30 May 2025 12:35:20 GMT |
| 63 | + referrer-policy: strict-origin-when-cross-origin |
| 64 | + server: nginx/1.22.1 |
| 65 | + vary: Origin |
| 66 | + x-content-type-options: nosniff |
| 67 | + x-frame-options: SAMEORIGIN |
| 68 | + x-permitted-cross-domain-policies: none |
| 69 | + x-ratelimit-limit: '-1' |
| 70 | + x-ratelimit-remaining: '0' |
| 71 | + x-ratelimit-reset: '0' |
| 72 | + x-request-id: c0ed18c1-416c-4370-8d7b-a47a085e1ff0 |
| 73 | + x-runtime: '0.411693' |
| 74 | + x-xss-protection: '0' |
| 75 | + content-length: '142' |
| 76 | + body: |
| 77 | + encoding: '' |
| 78 | + file: no |
| 79 | + string: '{"type":"SemanticValidationError","status":{"code":400,"name":"Bad |
| 80 | + Request"},"detail":["Monetary value adjustment is not supported for AGE."]}' |
| 81 | + recorded_at: 2025-05-30 12:35:21 GMT |
| 82 | + recorded_with: vcr/1.7.0, webmockr/2.0.0 |
0 commit comments