A web API to manage users's accesses to new features via feature switches. AI Engineer technical assessment for MoneyLion.
This endpint receives email and featureName as request parameters and returns the following response in JSON format. The response is true if the user has access to the featureName and false otherwise.
Example:
This endpoint receives the request in JSON format and returns an empty response with HTTP Status OK (200) when the database is updated successfully with the feature registerd by new user, otherwise returns HTTP Status Not Modified (304).
Example:
- This endpoint acts as a switch to enable or disable users' accesses to certain features by receiving email, featureName and enable as request parameters. It returns an empty response with HTTP Status OK (200) when the enable parameter is updated successfully for target email and feature, otherwise returns HTTP Status Not Modified (304).
Example:
Project is created with:
- Java version: 17
- Spring Boot version: 2.6.7