Skip to main content
PUT
/
history
/
{service}
Internal only
import requests

url = "https://{FUSION HOST}/api/history/{service}"

payload = {
    "start": "2023-11-07T05:31:56Z",
    "end": "2023-11-07T05:31:56Z",
    "source": "<string>",
    "type": "<string>",
    "status": "<string>",
    "details": {},
    "error": {
        "cause": {
            "cause": {},
            "stackTrace": [
                {
                    "methodName": "<string>",
                    "fileName": "<string>",
                    "lineNumber": 123,
                    "className": "<string>",
                    "nativeMethod": True
                }
            ],
            "message": "<string>",
            "localizedMessage": "<string>",
            "suppressed": [{}]
        },
        "stackTrace": [
            {
                "methodName": "<string>",
                "fileName": "<string>",
                "lineNumber": 123,
                "className": "<string>",
                "nativeMethod": True
            }
        ],
        "localizedMessage": "<string>",
        "suppressed": [
            {
                "cause": {},
                "stackTrace": [
                    {
                        "methodName": "<string>",
                        "fileName": "<string>",
                        "lineNumber": 123,
                        "className": "<string>",
                        "nativeMethod": True
                    }
                ],
                "message": "<string>",
                "localizedMessage": "<string>",
                "suppressed": [{}]
            }
        ]
    }
}
headers = {"Content-Type": "application/json"}

response = requests.put(url, json=payload, headers=headers)

print(response.json())

Path Parameters

service
string
required

The name of a service.

Body

application/json

JSON-formatted configuration values.

start
string<date-time>
end
string<date-time>
source
string
type
string
status
string
details
object
error
object