Dev
Developer APIs
Log level was fetched successfully
Internal Replication Server error
GET /dev/get-log-level HTTP/1.1
Host: 127.0.0.1:64001
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"Level": "trace"
}
Log level to be set for the server.
Log level was set successfully
No content
Bad request; invalid or missing parameters
Internal Replication Server error
POST /dev/set-log-level HTTP/1.1
Host: 127.0.0.1:64001
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 17
{
"Level": "trace"
}
No content
This endpoint is used for testing alerts. Every log printed has an additional field (__dev, true) attached.
Log level to be set for the server.
Message to be logged.
Log message was printed successfully
No content
Bad request; invalid or missing parameters
Internal Replication Server error
POST /dev/print-log HTTP/1.1
Host: 127.0.0.1:64001
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 78
{
"Level": "trace",
"Message": "text",
"Fields": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
No content
Schema ID was fetched successfully
Internal Replication Server error
POST /dev/schema HTTP/1.1
Host: 127.0.0.1:64001
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"SchemaID": "text"
}
No response due to process termination
No content
POST /dev/kill HTTP/1.1
Host: 127.0.0.1:64001
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No response due to process termination
No content
Panic was triggered successfully
No content
POST /dev/panic HTTP/1.1
Host: 127.0.0.1:64001
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Panic was triggered successfully
No content
The call will attempt to gracefully stop the Replication Server process. If shutdown won't occur in the span of 2 seconds, a hard shutdown will be performed.
Shutdown was initiated successfully
No content
POST /dev/stop HTTP/1.1
Host: 127.0.0.1:64001
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Shutdown was initiated successfully
No content
Health status to be set for the server.
Health status was set successfully
No content
Bad request; invalid or missing parameters
Internal Replication Server error
POST /dev/set-health HTTP/1.1
Host: 127.0.0.1:64001
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 16
{
"Healthy": true
}
No content
Was this helpful?