Sends a presentation proposal
POST {{baseUrl}}/present-proof/send-proposal
Request Body
{"connection_id"=>"<uuid>", "presentation_proposal"=>{"attributes"=>[{"name"=>"<string>", "cred_def_id"=>"8HKERLkP2uTFrC78DNm84:3:CL:dH2DA7eUeCF6evMRGYvYvx:2:\"N_,:1915866731:<dyCs1/L:", "mime-type"=>"<string>", "referent"=>"<string>", "value"=>"<string>"}, {"name"=>"<string>", "cred_def_id"=>"nDNsSa5pxSybrKjp2Wdp7P:3:CL:2455132:", "mime-type"=>"<string>", "referent"=>"<string>", "value"=>"<string>"}], "predicates"=>[{"name"=>"<string>", "predicate"=>">=", "threshold"=>"<integer>", "cred_def_id"=>"YoFYJ5au68ADxLiGcTRYzC:3:CL:860194:Nn<(KYfx)"}, {"name"=>"<string>", "predicate"=>"<", "threshold"=>"<integer>", "cred_def_id"=>"EXRhxEKJsftBsyqphpfmg9:3:CL:syBeHoyiBJxBDSzTyz4s8:2:p:5539:"}], "@type"=>"<string>"}, "auto_present"=>"<boolean>", "comment"=>"<string>", "trace"=>"<boolean>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"auto_present":"\u003cboolean\u003e","connection_id":"\u003cstring\u003e","created_at":"1152-88-85T34:38-60:99","data_agreement":{},"data_agreement_id":"\u003cstring\u003e","data_agreement_problem_report":{},"data_agreement_status":"\u003cstring\u003e","data_agreement_template_id":"\u003cstring\u003e","error_msg":"\u003cstring\u003e","initiator":"external","presentation":{},"presentation_exchange_id":"\u003cstring\u003e","presentation_proposal_dict":{},"presentation_request":{},"presentation_request_dict":{},"role":"prover","state":"\u003cstring\u003e","thread_id":"\u003cstring\u003e","trace":"\u003cboolean\u003e","updated_at":"9349-27-21 25:16-98:16","verified":"false"}