Elffuss BraidHub

kikocis/osiris public

master · 522 BRawPermalink
1import { NextResponse } from 'next/server';
2
3export async function GET() {
4 return NextResponse.json({
5 status: 'operational',
6 platform: 'OSIRIS',
7 version: '1.0.0',
8 uptime: process.uptime ? Math.round(process.uptime()) : 0,
9 timestamp: new Date().toISOString(),
10 endpoints: [
11 '/api/flights',
12 '/api/satellites',
13 '/api/earthquakes',
14 '/api/news',
15 '/api/gdelt',
16 '/api/markets',
17 '/api/frontlines',
18 '/api/region-dossier',
19 ],
20 });
21}