IndexGuru API Services

Common Endpoints

GET /ping

Health check endpoint

Publisher Service

POST /publisher/fetch-sites

Trigger site fetching process for all sites

Response:

{
  "success": true,
  "status": "processing"
}

POST /publisher/fetch-sites/:userId

Trigger site fetching process for a specific user

Response:

{
  "success": true,
  "status": "processing",
  "userId": "user-id"
}

Report Service

GET /report/create-reports

Create reports and notifications for all users

Response:

{
  "success": true
}

GET /report/create-reports/:userId

Create reports and notifications for a specific user

Response:

{
  "success": true,
  "userId": "user-id"
}

GET /report/check-completed-issues

Check and verify completed issues

Response:

{
  "success": true,
  "completedTypes": []
}