api

Changes to GET /api/stats/:pid

get/api/stats/{pid}