Przejdź do treści
Biblioteka skilli
Programowanie · Testowanie

api-exploration

/api-exploration

Prowadzi interaktywne testowanie wywołań Fusebase API z tymczasowymi tokenami, by poznać zachowanie endpointów i schematy odpowiedzi przed pisaniem kodu oraz debugować problemy integracji.

Repozytorium
fusebase-flow ↗
Licencja
MIT
Ostatnia zmiana repozytorium
19.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
2
Przestarzałość

Brak sygnałów. Repozytorium zmienione 19.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Prowadzi interaktywne testowanie wywołań Fusebase API z tymczasowymi tokenami, by poznać zachowanie endpointów i schematy odpowiedzi przed pisaniem kodu oraz debugować problemy integracji.

Oryginalny opis (EN)

Workflow for testing Fusebase API calls interactively using temporary tokens. Use when: 1. You need to verify an API endpoint behavior before writing app code, 2. You want to explore available API responses or schemas, 3. You're unsure how an API endpoint works and need to test it, 4. Debugging API integration issues by making direct calls.

Jak działa

  1. Workflow
  2. Example: Testing @fusebase/dashboard-service-sdk
  3. Key Points
Sekcje z nagłówków SKILL.md, w oryginale · 101 linii, 363 słów
Podgląd SKILL.md
---
name: api-exploration
description: "Workflow for testing Fusebase API calls interactively using temporary tokens. Use when: 1. You need to verify an API endpoint behavior before writing app code, 2. You want to explore available API responses or schemas, 3. You're unsure how an API endpoint works and need to test it, 4. Debugging API integration issues by making direct calls."
---

# API Exploration with Temporary Tokens

When you're unsure about an API endpoint's behavior, response shape, or want to test a flow before committing to implementation — create a temporary token and run test calls directly.

## Workflow

### 1. Create a temporary token

```bash
fusebase token create --app <appId>
```

This outputs a short-lived token (15 min) to stdout. Capture it:

```bash
TOKEN=$(fusebase token create --app <appId>)
```

The `appId` comes from `fusebase.json` → `apps[].id`.

### 2. Write and run test code

Create a temporary script (e.g. `_test-api.ts`) to make the API calls you want to verify:

```typescript
const token = process.env.TOKEN || "<paste-token-here>";

const res = await fetch("https://api-endpoint/...", {
  headers: { "x-app-feature-token": token },
});
console.log(res.status);
console.log(await res.json());
```

Run it:

```bash
TOKEN=$(fusebase token create --app <appId>) bun _test-api.ts
```

### 3. Inspect results and iterate

Read the output, adjust your calls, and re-run. Once you understand the API behavior, implement it properly in your app code.

### 4. Clean up

Delete the temporary test script when done — don't commit it.

## Example: Testing `@fusebase/dashboard-service-sdk`

Use this to verify SDK calls before wiring them into app UI code.

`_test-sdk.ts`:

```typescript
import {
  createClient,
  DatabasesApi,
  CustomDashboardRowsApi,
} from "@fusebase/dashboard-service-sdk";

const token = process.env.TOKEN!;
const BASE_URL =
  "https://app-api.{FUSEBASE_HOST}/v4/api/proxy/dashboard-service/v1";

const client = createClient({
  baseUrl: BASE_URL,
  defaultHeaders: { "x-app-feature-token": token },
});

const dbApi = new DatabasesApi(client);
const rowsApi = new CustomDashboardRowsApi(client);

// List databases visible to this app
const dbs = await dbApi.listDatabases({});
console.log("databases:", JSON.stringify(dbs, null, 2));

// Read rows from a specific dashboard view
const rows = await rowsApi.getRows({
  dashboardId: "<dashboardId>",
  viewId: "<viewId>",
});
console.log("rows:", JSON.stringify(rows, null, 2));
```

Run it:

```bash
TOKEN=$(fusebase token create --app <appId>) bun _test-sdk.ts
```

Replace `BASE_URL` host with the value matching your environment's `FUSEBASE_HOST` (e.g. `app-api.thefusebase.com` for prod).

## Key Points

- Token expires in **15 minutes**. Create a new one if it expires.
- Use this for **any** Fusebase API call you want to validate — dashboard data, app endpoints, etc.
- The API spec is available at the public OpenAPI endpoint if you need to discover available routes.
- Prefix test files with `_` (e.g. `_test-sdk.ts`) so they're easy to spot and clean up.

Wersje

RepozytoriumWynikLicencja
Ta strona · fusebase-dev/fusebase-flow100MIT
sozercan/kaset100MIT
ryan-haver/fusebase-mcp100MIT

Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 13.11.2026 · wersja paczki 801f3ba1eee9 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 95fusebase-cli
    Obsługuje CLI Fusebase do tworzenia, uruchamiania i wdrażania aplikacji Fusebase oraz ustawiania uprawnień dashboardów.
  • 95fusebase-cli
    Prowadzi przez CLI Fusebase: inicjalizację projektu aplikacji, konfigurację, uruchamianie lokalne, wdrożenie i uprawnienia do dashboardów.
  • 100fusebase-flow-health-check
    Sprawdza kondycję Fusebase Flow w trybie tylko do odczytu i raportuje werdykty warstw, np. dryf warstwy CLI lub Flow, oraz konflikty plików agenta z Fusebase CLI.
  • 100api-testing
    Pisze testy endpointów API: testy integracyjne, walidacja kontraktów, asercje odpowiedzi i mockowane usługi zewnętrzne.
  • 100automating-api-testing
    Automatyzuje testowanie endpointów API REST i GraphQL: generowanie żądań, walidacja i szerokie pokrycie testami, kontrakty API i specyfikacje OpenAPI.
  • 100automating-api-testing
    Automatyzuje testowanie endpointów API REST i GraphQL: generowanie żądań, walidacja i szerokie pokrycie testami, kontrakty API i specyfikacje OpenAPI.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.