--- http_interactions: - request: method: post uri: "/oauth/token" body: encoding: UTF-8 string: '{"grant_type":"client_credentials","client_id":"","client_secret":""}' headers: Content-Type: - application/json Connection: - close Host: - my.preprod.fluxxlabs.com User-Agent: - http.rb/4.1.1 response: status: code: 200 message: OK headers: Cache-Control: - no-store Content-Type: - application/json; charset=utf-8 Date: - Mon, 07 Oct 2019 16:47:37 GMT Etag: - '"47d782c1dd55081af36f8c26af0af28d"' Pragma: - no-cache Server: - Apache Status: - 200 OK Strict-Transport-Security: - max-age=631138519; includeSubDomains X-Content-Type-Options: - nosniff X-Download-Options: - noopen X-Permitted-Cross-Domain-Policies: - none X-Rack-Cache: - invalidate, pass X-Request-Id: - fc0e4c94e73f4c3f283bd1c9a75bb2f3 X-Ua-Compatible: - IE=Edge,chrome=1 X-Xss-Protection: - 1; mode=block Content-Length: - '123' Connection: - Close body: encoding: UTF-8 string: '{"access_token":"","token_type":"bearer","expires_in":7200}' http_version: recorded_at: Mon, 07 Oct 2019 16:47:38 GMT - request: method: post uri: "/oauth/token" body: encoding: UTF-8 string: '{"grant_type":"client_credentials","client_id":"","client_secret":""}' headers: Content-Type: - application/json Connection: - close Host: - my.preprod.fluxxlabs.com User-Agent: - http.rb/4.1.1 response: status: code: 200 message: OK headers: Cache-Control: - no-store Content-Type: - application/json; charset=utf-8 Date: - Mon, 07 Oct 2019 16:47:38 GMT Etag: - '"4e6719ff3f221c359c490a224a944aa2"' Pragma: - no-cache Server: - Apache Status: - 200 OK Strict-Transport-Security: - max-age=631138519; includeSubDomains X-Content-Type-Options: - nosniff X-Download-Options: - noopen X-Permitted-Cross-Domain-Policies: - none X-Rack-Cache: - invalidate, pass X-Request-Id: - 4b2752056ad56dd47644b991c0c231a4 X-Ua-Compatible: - IE=Edge,chrome=1 X-Xss-Protection: - 1; mode=block Content-Length: - '123' Connection: - Close body: encoding: UTF-8 string: '{"access_token":"","token_type":"bearer","expires_in":7200}' http_version: recorded_at: Mon, 07 Oct 2019 16:47:39 GMT - request: method: get uri: "/api/rest/v2/grant_request?all_core=true&all_dynamic=true&per_page=1" body: encoding: UTF-8 string: '' headers: Authorization: - Bearer Connection: - close Host: - my.preprod.fluxxlabs.com User-Agent: - http.rb/4.1.1 response: status: code: 200 message: OK headers: Cache-Control: - must-revalidate, no-cache, no-store, private, max-age=0 Content-Security-Policy: - default-src * 'unsafe-inline' 'unsafe-eval'; frame-ancestors https://gs.stage.fluxxlabs.com Content-Type: - application/json; charset=utf-8 Date: - Mon, 07 Oct 2019 16:47:39 GMT Server: - Apache Status: - 200 OK Strict-Transport-Security: - max-age=631138519; includeSubDomains X-Content-Type-Options: - nosniff X-Download-Options: - noopen X-Frame-Options: - SAMEORIGIN X-Permitted-Cross-Domain-Policies: - none X-Rack-Cache: - miss X-Request-Id: - 9d2808ac25f6669d8a32cabfc6cbffe2 X-Ua-Compatible: - IE=Edge,chrome=1 X-Xss-Protection: - 1; mode=block Content-Length: - '2809' Connection: - Close body: encoding: UTF-8 string: | { "records":{ "grant_request":[ { "id":1, "created_at":"2007-02-16T00:00:00Z", "updated_at":"2019-04-25T01:18:54Z", "created_by_id":9238, "updated_by_id":9215, "program_id":2, "sub_program_id":2, "granted":0, "request_received_at":"2006-12-27T00:00:00Z", "grant_approved_at":"2007-02-16T00:00:00Z", "grant_agreement_at":"2007-02-16T00:00:00Z", "grant_closed_at":"2007-02-16T00:00:00Z", "amount_requested":0.0, "amount_recommended":0.0, "duration_in_months":0, "project_summary":"SDGs are complicated, hence this project.", "base_request_id":"10", "ierf_proposed_end_at":"2007-02-16T00:00:00Z", "state":"declined", "program_lead_id":9193, "grantee_signatory_id":9, "grantee_org_owner_id":9, "display_warnings":1, "migrate_id":"10", "skip_hgrant_flag":0, "contig_id":"1", "fx_spotrate_1":0, "fx_spotrate_2":0, "spending_year":"2007", "amount_requested_local":0.0, "amount_recommended_local":0.0, "related_user1_id":9, "is_grantee_a_person":0, "donated_amount":0.0, "request_type_identifier":"request", "gs_grant_ends_at":"2007-02-16T00:00:00Z", "gs_project_name":"A book about SDG", "use_custom_fx_rate":0, "model_theme_id":1, "fluxx_theme_code":"GA/SJ Grants", "fluxx_program_code":[ "Institutional Grantmaking", "Institutional Grantmaking||Other" ], "fluxx_budget_code":[ "Special Opportunities", "Special Opportunities||General (Historic Records Only)" ], "type_of_support_attribute":"Project", "po_attribute":"Stas S", "entity_attribute":"My Foundation", "cycle_attribute":"SP07", "gifts_request_status":"Contributions||LOI Declined", "gifts_reference_number":"10010", "gifts_id_number":"10", "project_title":"A book about SDG", "calc_total_other_funding":0.0, "rollup_calc_sj_rfc_review_total_score":0, "rollup_review_count":0, "weighted_review_score":0, "rollup_calc_sj_review_relevance_rfc_priorities":0, "rollup_calc_sj_review_governance_funding_decisions_weighted":0, "rollup_calc_sj_review_proposed_work":0, "rollup_calc_sj_review_relevant_experience":0, "rollup_calc_sj_review_relevant_experience_weighted_2":0, "rollup_calc_sj_review_proposed_work_weighted_2":0, "rollup_calc_sj_review_relevance_rfc_priorities_weighted_1":0, "rollup_calc_total_sj_review_proposed_work":0, "rollup_calc_total_sj_review_governance_funding_decisions":0, "rollup_calc_total_sj_review_relevance_rfc_priorities":0, "rollup_calc_total_sj_review_relevant_experience":0, "calc_weighted_sj_review_relevant_experience":0, "calc_weighted_sj_review_relevance_rfc_priorities":0, "calc_weighted_sj_review_governance_funding_decisions":0, "calc_weighted_sj_review_proposed_work_weighted":0, "fip_projected_end_at":"2007-02-16T00:00:00Z", "secondary_program_lead_id":null } ] }, "total_pages": 2, "total_entries": 2, "current_page":1, "per_page":1 } http_version: recorded_at: Mon, 07 Oct 2019 16:47:40 GMT recorded_with: VCR 5.0.0