Creates a presentation request not bound to any proposal or existing connection
POST {{baseUrl}}/present-proof/create-request
Request Body
{"proof_request"=>{"requested_attributes"=>{"quis289"=>{"name"=>"<string>", "names"=>["<string>", "<string>"], "non_revoked"=>{"from"=>"<integer>", "to"=>"<integer>"}, "restrictions"=>[{"adipisicing17"=>"<string>"}, {"nulla1a"=>"<string>"}]}, "culpa_f"=>{"name"=>"<string>", "names"=>["<string>", "<string>"], "non_revoked"=>{"from"=>"<integer>", "to"=>"<integer>"}, "restrictions"=>[{"sunt9"=>"<string>", "essed"=>"<string>", "Loremc9"=>"<string>"}, {"in94_"=>"<string>", "dolore_12"=>"<string>", "quisd"=>"<string>", "est__"=>"<string>"}]}, "non_cb"=>{"name"=>"<string>", "names"=>["<string>", "<string>"], "non_revoked"=>{"from"=>"<integer>", "to"=>"<integer>"}, "restrictions"=>[{"est_92"=>"<string>", "occaecate"=>"<string>", "sit4c0"=>"<string>"}, {"pariatur_5"=>"<string>", "do2c"=>"<string>", "exercitation_5"=>"<string>"}]}}, "requested_predicates"=>{"autec0"=>{"name"=>"<string>", "p_type"=>"<", "p_value"=>"<integer>", "non_revoked"=>{"from"=>"<integer>", "to"=>"<integer>"}, "restrictions"=>[{"cred_def_id"=>"k7W3gjqJ4uxXgQofZ8RG8:3:CL:565:", "issuer_did"=>"did:sov:7E2jojsR82wTyprWXcWugE", "schema_id"=>"wFaycowYQ8BG6BEDkqxsDe:2:DHw<oa[:720924.4", "schema_issuer_did"=>"did:sov:KeV3HZCkguyuaNRE9xjQzs", "schema_name"=>"<string>", "schema_version"=>"249"}, {"cred_def_id"=>"WXiyxx3UZ5ZfHM5Uh28UdQ:3:CL:66:", "issuer_did"=>"did:sov:AYeLnMwjEpm8SqtRLrBVeL", "schema_id"=>"3aZbZhiJWAtaxsvuit9mb6:2:a\\(+:9064477067", "schema_issuer_did"=>"mWNccf4ULT22rVFtqxcTj6", "schema_name"=>"<string>", "schema_version"=>"79514"}]}, "Excepteur1a"=>{"name"=>"<string>", "p_type"=>">", "p_value"=>"<integer>", "non_revoked"=>{"from"=>"<integer>", "to"=>"<integer>"}, "restrictions"=>[{"cred_def_id"=>"CMGrchsmyPUisUhAuuRAN:3:CL:12729510020:", "issuer_did"=>"did:sov:vtUomYnZy4vtfENWK5aWU", "schema_id"=>"kNEW5hZBh8kyXRFC2afcFt:2:sl?fB:7.31.", "schema_issuer_did"=>"did:sov:FAdRjn9mPQNYbdQ9vLkGdh", "schema_name"=>"<string>", "schema_version"=>"21198066"}, {"cred_def_id"=>"BtEPL3LNWuWYWSHFW6G1Q:3:CL:bKHsAFrrkmHJsLx6zmRCE4:2:=/kUCoF\">:':16.346682:", "issuer_did"=>"did:sov:hPno466WZ7ut8NhHZRPpqX", "schema_id"=>"aaWpoMAMwQhE3W2CJpbd1:2:^?)drZ:41", "schema_issuer_did"=>"did:sov:u9KLaVMZ924WNBsWGB2Bic", "schema_name"=>"<string>", "schema_version"=>"93"}]}}, "name"=>"<string>", "non_revoked"=>{"from"=>"<integer>", "to"=>"<integer>"}, "nonce"=>"<string>", "version"=>"431"}, "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"}