|
3 | 3 | * Manages explorer lifecycle: creation, configuration, syncing, and billing. |
4 | 4 | * @module api/explorers |
5 | 5 | * |
6 | | - * @route GET /:id/orbitConfig - Get Orbit L2 configuration |
| 6 | + * @route GET / - Get user's explorers (paginated) |
| 7 | + * @route GET /:id - Get explorer by ID |
7 | 8 | * @route POST / - Create new explorer |
8 | | - * @route PUT /:id - Update explorer settings |
9 | 9 | * @route DELETE /:id - Delete explorer |
10 | | - * @route POST /:id/sync - Start/stop block synchronization |
| 10 | + * @route GET /search - Search explorer by domain |
| 11 | + * @route GET /:id/orbitConfig - Get Orbit L2 configuration |
| 12 | + * @route PUT /:id/orbitConfig - Update Orbit L2 configuration |
| 13 | + * @route POST /:id/orbitConfig - Create Orbit L2 configuration |
| 14 | + * @route PUT /:id/startSync - Start block synchronization |
| 15 | + * @route PUT /:id/stopSync - Stop block synchronization |
11 | 16 | * @route GET /:id/syncStatus - Get synchronization status |
| 17 | + * @route POST /:id/settings - Update explorer settings |
| 18 | + * @route POST /:id/branding - Update explorer branding |
| 19 | + * @route POST /:id/domains - Add custom domain |
| 20 | + * @route POST /:id/faucets - Create faucet for explorer |
| 21 | + * @route POST /:id/v2_dexes - Create V2 DEX for explorer |
| 22 | + * @route GET /billing - Get billing summary |
| 23 | + * @route GET /plans - Get available subscription plans |
| 24 | + * @route POST /:id/subscription - Create subscription |
| 25 | + * @route PUT /:id/subscription - Update subscription |
| 26 | + * @route DELETE /:id/subscription - Cancel subscription |
| 27 | + * @route POST /:id/startTrial - Start trial subscription |
| 28 | + * @route POST /:id/cryptoSubscription - Create crypto payment subscription |
| 29 | + * @route PUT /:id/quotaExtension - Update quota extension |
| 30 | + * @route DELETE /:id/quotaExtension - Remove quota extension |
12 | 31 | */ |
13 | 32 |
|
14 | 33 | const { getNodeEnv, getAppDomain, getDefaultPlanSlug, getDefaultExplorerTrialDays, getStripeSecretKey } = require('../lib/env'); |
|
0 commit comments