Skip to main content

handle_backup

Function handle_backup 

Source
pub async fn handle_backup(
    _req: HttpRequest,
    state: Data<AppState>,
) -> Result<HttpResponse, HaystackError>
Expand description

POST /api/system/backup

Exports all entities from the graph as JSON. The response body is a raw JSON string with Content-Type application/json, regardless of the Accept header.