Time Tracker
Time Tracker · Ações GPT
UTC Time Fetcher
This API returns the current UTC time.
GET /current-utc-time/Get Current UTC TimeReturns the current UTC time. This endpoint calculates and returns the current time in UTC. It uses Python's datetime and pytz libraries to ensure accurate time calculation. Returns: dict: A dictionary containing the current UTC time. Key is 'utc_time'.
Esquema API original
{
"openapi": "3.1.0",
"info": {
"title": "UTC Time Fetcher",
"description": "This API returns the current UTC time.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://cybrix.ai/time",
"description": "This API returns the current UTC time."
}
],
"paths": {
"/current-utc-time/": {
"get": {
"summary": "Get Current UTC Time",
"description": "Returns the current UTC time.\n\nThis endpoint calculates and returns the current time in UTC. It uses Python's datetime and pytz libraries to \nensure accurate time calculation.\n\nReturns:\n dict: A dictionary containing the current UTC time. Key is 'utc_time'.",
"operationId": "get_current_utc_time_current_utc_time__get",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
}
}
}