Partner Details
Request
Retrieve detailed metadata about a specific partner's participation in the network. This endpoint provides insights into the partner’s current operational status. It is typically used to monitor partner engagement and performance across the network.
Endpoint
GET /api/v1/partner/detailsURL:
https://stats.api.datagram.network/api/v1/partner/detailsQuery Parameters
secret
string
✅ Yes
Unique secret token identifying partner.
"pt_sec_abc123XYZ!*"
partner_node_id[]
string
✅ Yes
External ID of the multiple partner nodes.
"partner_12345"
Authentication
Add the organization token in the Authorization header:
- Example: - Authorization: <token, optional>.
Example Request
GET /api/v1/partner/details?secret=<partner-secret>&partner_node_id[]=dg-node-1&partner_node_id[]=dg-node-2 HTTP/1.1
Host: stats.api.datagram.network
Authorization: <organization token>Responses
The request was successful. The server returns a structured JSON object containing metadata about the partner’s current status in the network.
connection_status
string
Connection status ("connected" or "disconnected")
"connected"
total_uptime
integer
Total uptime in Unix timestamp (ms).
99999
partner_node_id
string
Identifier of the external partner node.
"partner_12345"
Example:
{
  "data": [
    {
      "connection_status": "connected",
      "total_uptime": 99999,
      "partner_node_id": "dg-node-1"
    },
    {
      "connection_status": "disconnected",
      "total_uptime": 99998,
      "partner_node_id": "dg-node-2"
    }
  ]
}Returns if the parameters are malformed or missing, or the time range exceeds the maximum allowed.
Response Body
message
string
Description of the issue.
INVALID_PARAMETERS
status
integer
HTTP status code.
400 (Bad Request)
Example Response
{
  "error": {
    "message": "INVALID_PARAMETERS",
    "status": 400
  }
}Returned when the authorization token is missing or invalid.
Response Body
message
string
Explanation of the auth failure.
"UNAUTHORIZED"
status
integer
HTTP status code.
401 (Unauthorized)
Example Response
{
  "error": {
    "message": "UNAUTHORIZED",
    "status": 401
  }
}Last updated
