This is an API for managing the Challenge object that is Kubernetes Custom Resources(CR).
Tip
For more details about the Challenge resource, please refer to the Challenge Operator repository.
- Create, delete, and retrieve detailed information about a Challenge based on user requests.
- (Deprecated) Retrieve Challenge status from the queue and save it to the database.
We migrated from Flask to FastAPI to enhance code maintainability and improve the development experience.
We replaced Flask-SQLAlchemy (which was tightly coupled with Flask) with SQLAlchemy 2.0+ to take advantage of modern features and framework independence.
We removed the Kafka-based message queue infrastructure, as it introduced unnecessary complexity without sufficient benefits.
| Endpoint | Method | Description |
|---|---|---|
| /v2/user-challenges | POST | Create Challenge |
| /v2/user-challenges/delete | POST | Delete Challenge |
| /v2/user-challenges/status | GET | Get a Challenge |