{ "$schema": "../../shared/schemas/conductor-project.schema.json", "schemaVersion": "0.1.0", "project": { "id": "proj_button_binding_demo", "name": "Button-to-REST Demo", "description": "Step 15 example: one Button, one JsonViewer, one anonymous REST action, and one binding. Clicking the button calls the backend proxy and displays the response in the JSON Viewer.", "pages": [ { "id": "page_main", "name": "Main Page", "order": 0, "components": [ { "id": "btn_run", "type": "Button", "name": "runButton", "position": { "x": 40, "y": 40 }, "size": { "width": 160, "height": 40 }, "properties": { "label": "Fetch Data", "visible": true, "disabled": false }, "events": [ { "event": "onClick", "actionId": "action_httpbin" } ], "bindings": [] }, { "id": "viewer_result", "type": "JsonViewer", "name": "resultsViewer", "position": { "x": 40, "y": 104 }, "size": { "width": 560, "height": 300 }, "properties": { "label": "Response", "visible": true, "disabled": false }, "events": [], "bindings": [ { "bindingId": "binding_action_to_viewer" } ] } ], "events": [] } ], "actions": [ { "id": "action_httpbin", "name": "Httpbin GET", "description": "Anonymous GET to httpbin.org — returns a JSON echo of the request for testing.", "method": "GET", "url": "https://httpbin.org/get", "headers": { "Accept": "application/json" }, "queryParameters": { "source": "conductor" }, "pathParameters": {}, "bodyTemplate": "", "authenticationType": "anonymous", "responseMapping": [] } ], "bindings": [ { "id": "binding_action_to_viewer", "source": "actions.action_httpbin.response", "target": "components.resultsViewer.value", "trigger": "onClick" } ], "variables": {}, "settings": {} } }