Handle Script Update

Handles all script updates from the master script.

Name Description Notes
URL /api/script_update
Method Post

Data Parameters

Name Description Type Required?
auth_token Authentication token from environment string Yes
session_id Session ID from data upload string Yes
text Status text string Yes
progress Progress [0, 100] for the session integer Yes

Responses

Code Reason
200 Successful
400 The request data isn't in json format or progress isn't an integer
403 Authentication token doesn't match with API key in environment
var data = {
    auth_token: "arsthsrtarst324",
    session_id: "_432nevsr3",
    text: "Updating databases...",
    progress: 40
};

$.post("/api/script_update", data);

results matching ""

    No results matching ""