/misc/timesince
DevelopingGET
/misc/timesinceModified at: 20 days ago
Return human-readable "time since" strings to represent the time which has passed since any timestamps presented. The result is an array keyed by the input timestamps.
Request
Query Params
timestamps
string
required
Comma-separated list of one or more timestamps. Example: 1588603852,1588603853.
Request samples
Responses
An example Response(200)
An example Response
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{
"status": {
"created_timestamp": 1657637677,
"created_string": "Tue 12 Jul 2022 @ 14:54 (UTC)",
"duration": 0.016,
"language": "en-gb",
"timezone": {
"timezone_type": 3,
"timezone": "UTC"
},
"code": 200,
"oldest_cached_component_age": 683,
"session_id": "103bfbd9f2cdd43fe809104eefc713f7",
"org_onboarding_status_id": 300,
"api_host": "api-stage.anomify.ai",
"user_onboarding_flags": {
"main_intro": true,
"alerts_intro": false,
"alerts_from_search": false,
"training_intro": false,
"alert_created": true,
"test_alert_sent": true,
"two_alerts_sent": true,
"pattern_trained": true
}
},
"data": {
"strings": {
"1502190958": "almost 5 years ago",
"1588150800": "more than 2 years ago",
"1629370876": "almost a year ago",
"1636373758": "more than 8 months ago",
"1638964876": "more than 7 months ago"
}
}
}
Last modified: 20 days ago