Repository navigation
MLController API Documentation
Lee Sambridge edited this page Mar 21, 2025
·
1 revision
This document provides documentation for the Machine Learning (ML) API endpoints available in the Points.Api system.
All endpoints in the ML API require JWT Bearer authentication. Include the JWT token in the Authorization header of your requests:
Authorization: Bearer {your_jwt_token}
Retrieves machine learning prediction results for a specific partner and board.
URL: /api/ML/{partnerId}/board/{boardId}
Method: GET
Auth required: Yes (JWT Bearer token)
URL Parameters:
-
partnerId(long) - ID of the partner -
boardId(long) - ID of the board
Success Response:
- Code: 200 OK
- Content: Prediction results
Example Request:
GET /api/ML/123/board/456 HTTP/1.1
Host: your-api-domain.com
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...Example Response:
{
"predictions": []
}Notes:
- This endpoint appears to be a placeholder or under development, as the implementation returns an empty result.
- The endpoint is designed to provide machine learning prediction results for leaderboards or other partner-specific data.
- Frequently Asked Questions
-
EZ Loyalty Points Api
- Authorization
- Summary
- End Points
- Branding End Points
- Buckets End Points
- Competition End Points
- Country End Points
- Leader Boards End Points
- Machine Learning End Points
- Partner Activities End Points
- Partner End Points
- Partner FAQs End Points
- Partner Level Points End Points
- Reward Points End Points
- Subscriptions End Points
- Users End Points
- User Points End Points
- EZ Loyalty Admin Api