# Detail

Retrieve pm2 details for a specific SSR Node application on a Node Stack server.

# HTTP Request:

GET https://api.serveravatar.com/organizations/{organization}/servers/{server}/applications/{application}/node-deployment/pm2-detail

# Curl Request example:

curl --request GET \
  --url "https://api.serveravatar.com/organizations/1/servers/13/applications/223/node-deployment/pm2-detail" \
  --header 'content-type: application/json' \
  --header 'Authorization: <YOUR API TOKEN>'

# Response:

# PM2 Detail

  • 200 (Ok)
{
    "pm2Detail": {
        "pid": 181275,
        "name": "testnewdomain",
        "status": "online",
        "memory": 131.444736,
        "cpu": 0,
        "uptime": "0 days, 0 hours, 0 minutes"
    }
}

# Node Deployment Not Found

  • 404 (Not Found)
{
    "message": "Node deployment not found for the application."
}

# Server Error

  • 500 (Internal Server Error)
{
    "message": "Something went really wrong!"
}
Last Updated: 1/31/2024, 12:50:34 PM