Acebots-AI / my-tiny-service

0 stars 1 forks source link

Add Endpoint for Current Timestamp in ISO Format #31

Closed acebots-ai[bot] closed 4 months ago

acebots-ai[bot] commented 4 months ago

This pull request adds a new endpoint /timestamp that returns the current timestamp in ISO format. It includes the implementation of the endpoint in a new file timestamp.py under my_tiny_service/api/routers and updates the main API setup to include this new router. Additionally, a test case for this endpoint has been added to tests/test_api.py to ensure its correct functionality.