refactor: finalize account-based billing and env cleanup

This commit is contained in:
Dwindi Ramadhana
2026-02-14 18:08:19 +07:00
parent a905256353
commit 205a8b08e1
15 changed files with 132 additions and 1510 deletions

View File

@@ -1,7 +1,7 @@
@extends('site.layout')
@section('title', 'API Docs - Dewemoji')
@section('meta_description', 'Dewemoji API docs for emoji search, categories, license verification, activation, and system endpoints.')
@section('meta_description', 'Dewemoji API docs for emoji search, categories, account API keys, and system endpoints.')
@push('head')
<style>
@@ -122,7 +122,6 @@
</div>
<ul class="mt-3 list-disc pl-5 text-sm text-gray-300 space-y-1">
<li><code>Authorization</code> or <code>X-Api-Key</code> for Personal API keys</li>
<li><code>X-License-Key</code> or <code>?key=</code> is only used for <code>/license/*</code> endpoints</li>
<li><code>X-Account-Id</code> (optional usage association)</li>
</ul>
</section>
@@ -145,7 +144,7 @@
<td class="py-2 pr-6"><strong>Free (public)</strong></td>
<td class="py-2 pr-6 text-right">20</td>
<td class="py-2 pr-6">None</td>
<td class="py-2 pr-6">Hourly public limit (if enabled)</td>
<td class="py-2 pr-6">Server-level only</td>
<td class="py-2">Public dataset (EN + ID) only.</td>
</tr>
<tr>
@@ -167,9 +166,9 @@
<li><code>/emoji?slug=&lt;slug&gt;</code> single emoji (query)</li>
<li><code>/emoji/&lt;slug&gt;</code> single emoji (pretty URL)</li>
<li><code>/categories</code> category map</li>
<li><code>/license/verify</code> license check</li>
<li><code>/license/activate</code> bind profile</li>
<li><code>/license/deactivate</code> unbind profile</li>
<li><code>/user/register</code> create account</li>
<li><code>/user/login</code> account login</li>
<li><code>/user/apikeys</code> manage API keys (Personal)</li>
</ul>
<div class="mt-5">