great-crayon-86888
02/08/2024, 11:15 AMchilly-king-10285
02/08/2024, 11:15 AMchilly-king-10285
02/08/2024, 11:16 AMsubmit-recovery-native.json
as a reference. This JSON object is used to submit the recovery flow. Here is the structure of the JSON object: json { "id": "733910c2-a366-424b-9c8b-c688d13f4d18", "type": "api", "expires_at": "2023-02-08T17:20:00.994168Z", "issued_at": "2023-02-08T16:50:00.994168Z", "request_url": "https://{project.slug}.<http://projects.oryapis.com/self-service/recovery/api|projects.oryapis.com/self-service/recovery/api>", "active": "code", "ui": { "action": "https://{project.slug}.<http://projects.oryapis.com/self-service/recovery?flow=733910c2-a366-424b-9c8b-c688d13f4d18|projects.oryapis.com/self-service/recovery?flow=733910c2-a366-424b-9c8b-c688d13f4d18>", "method": "POST", "nodes": [ { "type": "input", "group": "default", "attributes": { "name": "csrf_token", "type": "hidden", "value": "", "required": true, "disabled": false, "node_type": "input" }, "messages": [], "meta": {} }, { "type": "input", "group": "code", "attributes": { "name": "code", "type": "text", "required": true, "disabled": false, "node_type": "input" }, "messages": [], "meta": { "label": { "id": 1070006, "text": "Verify code", "type": "info" } } }, { "type": "input", "group": "code", "attributes": { "name": "method", "type": "hidden", "value": "code", "disabled": false, "node_type": "input" }, "messages": [], "meta": {} }, { "type": "input", "group": "code", "attributes": { "name": "method", "type": "submit", "value": "code", "disabled": false, "node_type": "input" }, "messages": [], "meta": { "label": { "id": 1070005, "text": "Submit", "type": "info" } } }, { "type": "input", "group": "code", "attributes": { "name": "email", "type": "submit", "value": "[[email protected]](<https://www.ory.sh/cdn-cgi/l/email-protection>)", "disabled": false, "node_type": "input" }, "messages": [], "meta": { "label": { "id": 1070007, "text": "Resend code", "type": "info" } } } ], "messages": [ { "id": 1060003, }
This JSON object includes the recovery flow ID, type, expiration and issue timestamps, request URL, active method, and UI details. The UI details include the action URL, method, and nodes. Each node represents an input field in the recovery form. The "code"great-crayon-86888
02/08/2024, 11:20 AMchilly-king-10285
02/08/2024, 11:20 AMchilly-king-10285
02/08/2024, 11:20 AMgreat-crayon-86888
02/08/2024, 11:23 AMchilly-king-10285
02/08/2024, 11:23 AMchilly-king-10285
02/08/2024, 11:23 AM