curl --request GET \
--url http://localhost:5173/api/system.diagnostics \
--cookie apiKeys={
"appInfo": {
"version": "<string>",
"dependencies": {},
"buildInfo": {
"timestamp": "2023-11-07T05:31:56Z",
"commit": "<string>"
}
},
"memoryInfo": {
"total": 123,
"free": 123,
"used": 123,
"swapTotal": 123,
"swapFree": 123
},
"diskInfo": {
"filesystems": [
{
"filesystem": "<string>",
"size": 123,
"used": 123,
"available": 123,
"capacity": "<string>",
"mountPoint": "<string>"
}
]
},
"processInfo": {
"processes": [
{
"pid": 123,
"name": "<string>",
"cpu": 123,
"memory": 123
}
]
},
"gitInfo": {
"local": {
"branch": "<string>",
"commit": "<string>"
},
"github": {
"repos": [
{}
],
"organizations": [
{}
]
}
}
}Returns complete system diagnostics including app info, memory, disk, processes, and git information.
curl --request GET \
--url http://localhost:5173/api/system.diagnostics \
--cookie apiKeys={
"appInfo": {
"version": "<string>",
"dependencies": {},
"buildInfo": {
"timestamp": "2023-11-07T05:31:56Z",
"commit": "<string>"
}
},
"memoryInfo": {
"total": 123,
"free": 123,
"used": 123,
"swapTotal": 123,
"swapFree": 123
},
"diskInfo": {
"filesystems": [
{
"filesystem": "<string>",
"size": 123,
"used": 123,
"available": 123,
"capacity": "<string>",
"mountPoint": "<string>"
}
]
},
"processInfo": {
"processes": [
{
"pid": 123,
"name": "<string>",
"cpu": 123,
"memory": 123
}
]
},
"gitInfo": {
"local": {
"branch": "<string>",
"commit": "<string>"
},
"github": {
"repos": [
{}
],
"organizations": [
{}
]
}
}
}Cookie-based authentication storing API keys and provider settings
Was this page helpful?