Consulter le statut du serveur

GET /v2/server/status

Renvoie le statut général du serveur sous forme d’un objet JSON regroupant toutes les informations sur celui-ci.

Paramètres de requête:
  • period (string) – La période de temps (en format ISO-8601) sur laquelle le statut du serveur est étudié. (Required)

Example request:

GET /v2/server/status?period=string HTTP/1.1
Host: example.com
Status Codes:
  • 200 OK

    La requête s’est déroulée avec succès.

    Example response:

    HTTP/1.1 200 OK
    Content-Type: application/json
    
    {
        "serverName": "string",
        "noSSL": true,
        "SSL": true,
        "date": "2023-09-08T10:45:40.806481",
        "lastRun": "2023-09-08T10:45:40.806481",
        "fromDate": "2023-09-08T10:45:40.806481",
        "secondsRunning": 1,
        "networkConnections": 1,
        "nbThreads": 1,
        "inBandwidth": 1,
        "outBandwidth": 1,
        "overall": {
            "allTransfers": 1,
            "unknown": 1,
            "notUpdated": 1,
            "interrupted": 1,
            "toSubmit": 1,
            "inError": 1,
            "running": 1,
            "done": 1,
            "runningIn": 1,
            "runningOut": 1,
            "lastRunningIn": "2023-09-08T10:45:40.806481",
            "lastRunningOut": "2023-09-08T10:45:40.806481",
            "allIn": 1,
            "allOut": 1,
            "errorsIn": 1,
            "errorsOut": 1
        },
        "globalSteps": {
            "noTask": 1,
            "preTask": 1,
            "transferTask": 1,
            "postTask": 1,
            "allDoneTask": 1,
            "errorTask": 1
        },
        "runningSteps": {
            "allRunning": 1,
            "running": 1,
            "initOk": 1,
            "preProcessingOK": 1,
            "transferOk": 1,
            "postProcessingOk": 1,
            "completeOk": 1
        },
        "errors": {
            "connectionImpossible": 1,
            "serverOverloaded": 1,
            "badAuthent": 1,
            "externalOp": 1,
            "transferError": 1,
            "md5Error": 1,
            "disconnection": 1,
            "remoteShutdown": 1,
            "finalOp": 1,
            "unimplemented": 1,
            "shutdown": 1,
            "remoteError": 1,
            "internal": 1,
            "stopped": 1,
            "canceled": 1,
            "warning": 1,
            "unknown": 1,
            "queryAlreadyFinished": 1,
            "queryStillRunning": 1,
            "unknownHost": 1,
            "remotelyUnknown": 1,
            "fileNotFound": 1,
            "commandNotFound": 1,
            "passThroughMode": 1
        }
    }