pipeworks_mud_mapper.callbacks.api_callbacks

API integration callbacks for the Workspace tab.

Functions

manage_api_services(_, __, save_clicks, delete_clicks, ...)

Create, update, delete, or list API services.

populate_service_form(service_id)

Populate the service form from the selected service.

manage_api_commands(service_id, save_clicks, ...)

Create, update, delete, or list API commands for a service.

populate_command_form(command_id)

Populate the command form from the selected command.

run_api_request(_, api_jobs, service_id, base_url, ...)

Queue an API request in the background and report immediate status.

poll_api_jobs(_, api_jobs)

Poll background API jobs and surface response data.

render_api_response(response)

Render the latest API response in the Workspace UI.

Module Contents

pipeworks_mud_mapper.callbacks.api_callbacks.manage_api_services(_, __, save_clicks, delete_clicks, new_clicks, selected_service, name, base_url, auth_type, auth_secret, headers_text, enabled_values, notes)[source]

Create, update, delete, or list API services.

pipeworks_mud_mapper.callbacks.api_callbacks.populate_service_form(service_id)[source]

Populate the service form from the selected service.

pipeworks_mud_mapper.callbacks.api_callbacks.manage_api_commands(service_id, save_clicks, delete_clicks, new_clicks, selected_command, name, method, path, query_text, headers_text, body_text, timeout_seconds)[source]

Create, update, delete, or list API commands for a service.

pipeworks_mud_mapper.callbacks.api_callbacks.populate_command_form(command_id)[source]

Populate the command form from the selected command.

pipeworks_mud_mapper.callbacks.api_callbacks.run_api_request(_, api_jobs, service_id, base_url, auth_type, auth_secret, service_headers_text, method, path, query_text, headers_text, body_text, timeout_seconds)[source]

Queue an API request in the background and report immediate status.

pipeworks_mud_mapper.callbacks.api_callbacks.poll_api_jobs(_, api_jobs)[source]

Poll background API jobs and surface response data.

pipeworks_mud_mapper.callbacks.api_callbacks.render_api_response(response)[source]

Render the latest API response in the Workspace UI.