154 lines
8.1 KiB
HTML
154 lines
8.1 KiB
HTML
|
|
<!DOCTYPE html>
|
||
|
|
<html lang="en">
|
||
|
|
|
||
|
|
<head>
|
||
|
|
<meta charset="UTF-8">
|
||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
|
<title>Veza Devs | API & Docs</title>
|
||
|
|
<link
|
||
|
|
href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap"
|
||
|
|
rel="stylesheet">
|
||
|
|
<link rel="stylesheet" href="../css/style.css">
|
||
|
|
<link rel="stylesheet" href="../css/6-modules/developers.css">
|
||
|
|
</head>
|
||
|
|
|
||
|
|
<body>
|
||
|
|
<div class="page-bg"></div>
|
||
|
|
|
||
|
|
<div class="flex h-screen overflow-hidden">
|
||
|
|
<!-- SIDEBAR -->
|
||
|
|
<!-- SIDEBAR NAV -->
|
||
|
|
<aside class="w-64 bg-void-50/80 backdrop-blur border-r border-void-200 hidden md:flex flex-col p-4 z-50">
|
||
|
|
<div class="mb-8 flex items-center gap-3 px-2">
|
||
|
|
<div class="w-8 h-8 rounded bg-gradient-to-tr from-cyan-500 to-magenta-500 animate-pulse-slow"></div>
|
||
|
|
<div class="flex flex-col">
|
||
|
|
<span class="font-display text-2xl tracking-widest text-white leading-none">VEZA</span>
|
||
|
|
<span class="text-[10px] text-void-500 font-mono tracking-widest uppercase">Design System
|
||
|
|
v5.0</span>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<nav class="space-y-1 flex-grow overflow-y-auto no-scrollbar pb-20">
|
||
|
|
<div class="px-2 mb-2 text-xs font-mono text-void-500 uppercase tracking-widest">Templates</div>
|
||
|
|
<a href="auth.html" class="nav-item">Authentication</a>
|
||
|
|
<a href="nexus.html" class="nav-item">Nexus Profile</a>
|
||
|
|
<a href="social.html" class="nav-item">Social Feed</a>
|
||
|
|
<a href="market.html" class="nav-item">Marketplace</a>
|
||
|
|
<a href="studio.html" class="nav-item">Creator Studio</a>
|
||
|
|
<a href="productivity.html" class="nav-item">Productivity</a>
|
||
|
|
<a href="education.html" class="nav-item">Education</a>
|
||
|
|
<a href="admin.html" class="nav-item">Admin & Moderation</a>
|
||
|
|
<a href="hardware.html" class="nav-item">Hardware Gear</a>
|
||
|
|
<a href="developers.html" class="nav-item active">Developer API</a>
|
||
|
|
<a href="gaming.html" class="nav-item">Gaming & XP</a>
|
||
|
|
|
||
|
|
<div class="px-2 mt-6 mb-2 text-xs font-mono text-void-500 uppercase tracking-widest">Atom Library</div>
|
||
|
|
<a href="../index.html#intro" class="nav-item">Introduction</a>
|
||
|
|
<a href="../index.html#colors" class="nav-item">Color Palette</a>
|
||
|
|
<a href="../index.html#typography" class="nav-item">Typography</a>
|
||
|
|
<a href="../index.html#buttons" class="nav-item">Buttons & Actions</a>
|
||
|
|
<a href="../index.html#badges" class="nav-item">Badges & Status</a>
|
||
|
|
<a href="../index.html#inputs" class="nav-item">Forms & Inputs</a>
|
||
|
|
<a href="../index.html#cards" class="nav-item">Cards & Containers</a>
|
||
|
|
<a href="../index.html#tables" class="nav-item">Tables & Data</a>
|
||
|
|
<a href="../index.html#feedback" class="nav-item">Feedback & Modals</a>
|
||
|
|
</nav>
|
||
|
|
|
||
|
|
<!-- Theme Toggle Foot -->
|
||
|
|
<div class="pt-4 border-t border-void-200">
|
||
|
|
<div class="flex items-center justify-between px-2">
|
||
|
|
<div class="flex items-center gap-2">
|
||
|
|
<div class="w-2 h-2 rounded-full bg-lime-500 shadow-glow-green"></div>
|
||
|
|
<span class="text-xs text-void-400 font-mono">SYSTEM: ONLINE</span>
|
||
|
|
</div>
|
||
|
|
<button id="themeToggle"
|
||
|
|
class="w-8 h-8 rounded-full bg-void-200 text-void-600 hover:text-cyan-500 hover:bg-void-100 flex items-center justify-center transition-all">
|
||
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none"
|
||
|
|
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||
|
|
<circle cx="12" cy="12" r="5"></circle>
|
||
|
|
<path
|
||
|
|
d="M12 1v2M12 21v2M4.22 4.22l1.42 1.42M18.36 18.36l1.42 1.42M1 12h2M21 12h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42">
|
||
|
|
</path>
|
||
|
|
</svg>
|
||
|
|
</button>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<main class="flex-grow overflow-y-auto relative scroll-smooth h-full p-4 md:p-8">
|
||
|
|
<div class="max-w-5xl mx-auto space-y-12">
|
||
|
|
|
||
|
|
<!-- HEADER -->
|
||
|
|
<div>
|
||
|
|
<h1 class="text-4xl font-display text-white mb-2">Developer Portal</h1>
|
||
|
|
<p class="text-void-400">Integrate Veza's audio engine into your applications.</p>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<!-- API KEYS -->
|
||
|
|
<section>
|
||
|
|
<h2 class="text-xl font-bold text-white mb-4">Your Credentials</h2>
|
||
|
|
<div class="api-key-box mb-4">
|
||
|
|
<div class="flex flex-col">
|
||
|
|
<span class="text-xs text-void-500 uppercase mb-1">Public Key</span>
|
||
|
|
<span class="text-cyan-400">pk_live_51Mz...a8K9</span>
|
||
|
|
</div>
|
||
|
|
<button class="btn btn-sm btn-ghost btn-icon">📋</button>
|
||
|
|
</div>
|
||
|
|
<div class="api-key-box">
|
||
|
|
<div class="flex flex-col">
|
||
|
|
<span class="text-xs text-void-500 uppercase mb-1">Secret Key</span>
|
||
|
|
<span class="text-magenta-500 api-secret">sk_live_99Jk...x7V2</span>
|
||
|
|
</div>
|
||
|
|
<button class="btn btn-sm btn-ghost btn-icon">👁️</button>
|
||
|
|
</div>
|
||
|
|
</section>
|
||
|
|
|
||
|
|
<!-- ENDPOINTS -->
|
||
|
|
<section>
|
||
|
|
<h2 class="text-xl font-bold text-white mb-6">Endpoints</h2>
|
||
|
|
|
||
|
|
<!-- GET USER -->
|
||
|
|
<div class="endpoint-card">
|
||
|
|
<div class="endpoint-header">
|
||
|
|
<span class="method-tag method-get">GET</span>
|
||
|
|
<span class="font-mono text-white text-sm">/v1/users/{id}</span>
|
||
|
|
<span class="badge badge-lime ml-auto">Stable</span>
|
||
|
|
</div>
|
||
|
|
<div class="p-4 border-b border-void-200">
|
||
|
|
<p class="text-sm text-dim">Retrieves public details for a specific user.</p>
|
||
|
|
</div>
|
||
|
|
<div class="code-block">
|
||
|
|
<span class="json-key">curl</span> https://api.veza.com/v1/users/senke_prime \
|
||
|
|
-H "Authorization: Bearer sk_live_..."
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<!-- POST UPLOAD -->
|
||
|
|
<div class="endpoint-card">
|
||
|
|
<div class="endpoint-header">
|
||
|
|
<span class="method-tag method-post">POST</span>
|
||
|
|
<span class="font-mono text-white text-sm">/v1/uploads</span>
|
||
|
|
<span class="badge badge-cyan ml-auto">Rate Limited</span>
|
||
|
|
</div>
|
||
|
|
<div class="p-4 border-b border-void-200">
|
||
|
|
<p class="text-sm text-dim">Upload a new audio file or project asset.</p>
|
||
|
|
</div>
|
||
|
|
<div class="code-block">
|
||
|
|
{
|
||
|
|
<span class="json-key">"file_type"</span>: <span class="json-string">"audio/wav"</span>,
|
||
|
|
<span class="json-key">"size"</span>: <span class="json-number">2405812</span>,
|
||
|
|
<span class="json-key">"visibility"</span>: <span class="json-string">"private"</span>
|
||
|
|
}
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
</section>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
</main>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<script type="module" src="../js/main.js"></script>
|
||
|
|
</body>
|
||
|
|
|
||
|
|
</html>
|