💚

Health Check

Is the API running? Hit one of these.

Environment Local
Auth Not logged in
SignalR Disconnected
Response will appear here.
📡

SignalR (Video Hub)

Connect to the real-time Video hub. You’ll see events when videos are uploaded, location groups updated, or videos deleted. Login required.

Hub URL: /hubs/videos. Connect with your current token, then upload or delete a video in the Videos section to see events here.

Disconnected
🔧 Azure SignalR REST — Test POST /api/v1/hubs/:hubName//:send

Paste the Azure SignalR connection string. The JWT is built in-browser (same logic as the Worker). This tests whether the Azure SignalR endpoint accepts the publish call.

🧭

Infra trace (SignalR · Redis · Service Bus)

Hub events in a sortable log. Development API only: inspect live-stream Redis keys and recent Service Bus publishes from this app (see Redis / Service Bus tabs).

Uses the same hub connection as Realtime. Connect once (either tab), then delete or upload a video to see VideoDeleted vs other events.

Disconnected
Time Kind Event / line Summary Payload

Last health summary

Run Refresh health on Redis or Service Bus tab.
📹

Live Stream Testing

Host and audience tokens, go-live, RTC preview, event-linked streams, request live, and report testing.

Normal user — What happens with Live & Report? (tap to collapse)

Without Report: Host Go Live → followers notify. Request live → receiver gets SignalR RequestLive (+ bell). Receiver Start = accept → requesters get “is now live”.

Report (live): 1 report → stream auto-stops for moderation, then admin can Approve or Reject.

Admin is not in normal go-live — only after reports (see Admin tab).

Login required. Flow: Event (optional) → Host token → Start → Join/End. Two accounts for request live: target must Connect hub (Realtime tab) for RequestLive.

Active live streams

All currently live sessions from GET /api/videos/my-videos/grouped-by-location. Connect Realtime → SignalR for instant viewer join/leave updates.

0 active 0 you joined SignalR: —
Log in and click Refresh list to load active streams.
Live activity log (join / leave / SignalR)
No events yet.
Dashboard actions appear here.

Follow & go-live requests

Two users required: log in as User A here and paste User B’s Guid below → Follow. When B starts a live stream (other session), A should receive a follower notification (if Firebase + devices are set up). Request go livePOST /api/livestreams/requests (201). Target gets SignalR RequestLive if hub connected (+ in-app bell). Accept = POST /start (no separate accept API). Requesters get FCM when target goes live.

Sent as JSON source on go-live request.
(Pending requests JSON appears here.)
Follow / request responses appear here.
Response will appear here.

1) Token

Response will appear here.

2) Start stream

Response will appear here.

2.5) RTC publish/playback (Laptop cam)

Response will appear here.

3) Join / End

Response will appear here.

3a) Participant Test Console

Use this panel to test the full Host → Viewer join → Viewer leave → Host end flow and watch the LiveStreamParticipantsUpdated SignalR event in real-time.
Connect SignalR (Realtime tab) first, then use these controls.
Host count is always 1 — host is included in participant count.

1
Host
2
Register SignalR viewer session

Calls RegisterLiveViewerSession on hub — triggers a LiveStreamParticipantsUpdated event.

3
REST join / leave (viewer)

Plain REST call — also triggers LiveStreamParticipantsUpdated for users inside the stream.

4
Host ends

Emits final LiveStreamParticipantsUpdated with changeType: "end".

Participants
  • No snapshot received yet. Connect SignalR & join/leave to see live updates.
SignalR Console 0 events
Waiting for LiveStreamParticipantsUpdated events…
Participant console output appears here.

3b) Report live stream (viewer)

Join as viewer (another account), paste Live stream ID above (ls_…). Reports via unified POST /api/videos/{id}/report (same reasons as videos). 1st distinct report: reporter-only banner; 2nd distinct report (default threshold): stream auto-stops for moderation.

Report response appears here.

4) Feed check

(Grouped feed result will appear here.)
Response will appear here.
Response will appear here.
📡

Sentry Test

Trigger a test exception to verify Sentry is capturing errors.

This calls GET /api/SentryTest/throw which throws an exception. You should see a 500 response here and the error in your Sentry dashboard.

Response will appear here.

Apple IAP config diagnostics (Admin only). Calls GET /api/Credits/debug/apple-config.

Response will appear here.
📄

Day-wise Logs

List backend rolling logs, view latest lines, and download by day.

Reads all files from backend Logs folder. View opens full file content and download saves full file.

(Click "Load logs" to fetch day-wise files.)
(Select a log file to view.)
Response will appear here.
🔐

Welcome

Sign in to access the tester dashboard.

New here?

Step 1 sends OTP to email. Enter it in Step 2, then set password in Step 3.

Step 1
Step 2
Step 3
Already have an account?
Step 1
Step 2
Step 3
Remembered your password?
Google

Or paste a Google ID token:

Apple

Paste Firebase ID token after Apple sign-in via Firebase Auth.

Firebase

Paste a Firebase ID token from your app (e.g. user.getIdToken()).

Prefer email/password?
📚

Docs

Module-wise documentation viewer (Markdown).

Select a module and document to view it here.
👤

Profile

Get or update your profile: name, email (read-only), gender, dashcam type, profile picture. Login required.



🔒

Change password

Set a new password (requires current password). Login required.

🎬

Videos

Test video upload modes: Direct-to-Azure (recommended) and Legacy API modes. Login required.

Uses Google Places – type to see top 10 suggestions, then click to select.
You can also paste lat/long and click “Reverse geocode” to fill location.
Recommended: use Direct-to-Azure upload. Legacy modes are kept for backward compatibility testing.

Chunked upload: use Direct-to-Azure (recommended) or Legacy API-proxied chunks (older POC). Thumbnail is optional on complete for these chunked flows.


Load my videos = everyone's videos. My Feed = only your videos (with views, shares, average rating). Use Play (MP4) to play immediately; Play (HLS) appears after background encoding (refresh after 1–2 min). Validation uses 1/2/5 tiers, and in rating-batch mode you send 4 previous IDs while current URL video is the 5th.

Current tile video ID in URL is treated as 5th video for /validate batch settle to 30.
After preset, click "Validate video" on any tile in My Feed / Unrated list.
Progress: —/5 | Lifetime ratings: — | Credit balance: —

Home map search

Calls GET /api/map/search?query=.... It returns both metadata search matches and Google location-based matches, including isGoogleLocationResult and fallback lat/lng when no nearby video is found.

(Map search results will appear here.)

ML manual bearer token (optional)

If provided, this token is used for GET /api/videos/nearby and POST /api/webhooks/video-analysis. If empty, UI uses your login token.

Nearby analysis lookup

Calls GET /api/videos/nearby with latitude, longitude, timestamp, radius and time_range to verify ML analysis records.

(Nearby analysis results will appear here.)

AI/ML callback webhook tester

Calls POST /api/webhooks/video-analysis with required Authorization: Bearer and X-Job-ID header.

Rate Testing

Rate-focused testing for milestone progress, owner visibility, and full validation payloads.

Use this tab to test rating flow quickly without scrolling the full Videos section.

Progress: —/5 | Pending for milestone: — | Lifetime ratings: — | Credit balance: —

Selecting a candidate auto-fills Video ID.
(Candidate list with owner details will appear here.)
Response will appear here.

Valid Videos Rate

Only valid videos (not expired, not deleted) that you can rate. Rate directly from tile and verify confidence score update.

This uses GET /api/videos/videos-left-to-rate and shows confidence score, average rating, and per-user rating entries for each tile.

Response will appear here.
🔔

Notifications (v1)

Register device token, list notifications, unread count, mark read, and send admin test push.

1) Register Device

Calls POST /api/v1/devices. Login required.


2) List Notifications

Calls GET /api/v1/notifications. Use filters as needed.

(Notifications list will appear here.)

3) Mark as Read


4) Test Push (Admin)

Calls POST /api/v1/notifications/test-push. Admin JWT required.


5) Admin Simulation Helpers

Admin-only helper actions to quickly test the 2 enabled admin auto-notification flows.


6) Request Live — test bench (all results on this page)

Single window: log in as target → Use my user IDConnect hubRun full test. Two windows: target connects hub in window A; sender uses target Guid in window B.

Hub: — Presence: — RequestLive: waiting

Logged-in user: —

Ready — follow steps above or click Run full test.
(Presence and send responses appear here.)
(Connect hub as the target user; events show here when delivery works.)
🧠

AI/ML Reprocess

Select videos and submit to AI/ML through backend so ML job id is persisted on video.

Loads your videos from backend and calls backend endpoint POST /api/videos/{id}/ml/submit for selected videos.

(Load videos to start selection.)
💳

Credits & Buy Credits

View balance, packages, and create a Stripe payment intent to buy credits. Login required for overview and purchase.


Select a package and create a payment intent. Use the returned clientSecret with Stripe.js (or test with Stripe test card 4242 4242 4242 4242). After payment, webhook adds credits.

Select Option
Click "Get packages" to load bundles.
If a saved card is selected, payment will use it without entering card details again.

Verify IAP purchase (Apple / Google)

Login required. This calls POST /api/credits/verify-purchase.


Transaction history (last 30 days).

💎

Subscriptions

Browse plans, activate via IAP, cancel, and re-subscribe after cancel. Admin: full plan management. Login required.

Applies to GET /api/subscriptions/plans?platform=..., activate, and change plan. iOS/Android filters plans by matching SKU and sets the store SKU in the response.

1) Browse Plans

Calls GET /api/subscriptions/plans with the platform selected above. Select a card to auto-fill the activation form below.

Click "Load Plans" to see available plans.
Response will appear here.

2) Activate / Re-subscribe (IAP)

Calls POST /api/subscriptions. Paste the receipt / purchase token from the device store. Plan ID and platform auto-fill when you select a plan card above.

After cancel: complete a new store purchase — do not reuse the old token. The backend expires the cancelled subscription when the new one activates.

iOS — synced from Store platform above

Response will appear here.
Re-subscribe response (when using the button above) appears here.

3) My Active Subscription

Calls GET /api/subscriptions/me. Returns active, past-due, or cancelled-pending-expiry subscription. 404 if none.

Response will appear here.

4) Cancel Subscription

Calls DELETE /api/subscriptions/{id}. Stops auto-renewal — status becomes cancelled and access stays until expiryDate. Tokens are NOT removed. You can re-subscribe immediately with a new IAP token (section 2).

Response will appear here.

5) Change Plan (Upgrade / Downgrade)

Calls PATCH /api/subscriptions/{id}. Upgrade = immediate, requires new IAP token. Downgrade = deferred to period end, no token needed. Click a plan card above to auto-fill New Plan ID.

Response will appear here.

6) Payment History

Calls GET /api/subscriptions/payments?limit=&offset=. Returns paginated list of all payments. Click a row to auto-fill the Receipt ID below.

(Click "Load Payment History" to fetch.)
Response will appear here.

7) Payment Receipt

Calls GET /api/subscriptions/payments/{id}. Returns receipt details for a single payment. Auto-fills from the first result in Payment History above.

Response will appear here.

8) Subscription History

Calls GET /api/subscriptions/me/history. Returns all past and current subscription records for the logged-in user.

(Click "Load Subscription History" to fetch.)
Response will appear here.
🛠️

Admin – Credits

For Admin users only. Manage base price per credit and credit packages.

You must be logged in as an Admin (UserRole.Admin) for these calls to succeed.

Base price per credit


Packages

(Packages will appear here.)

Create or update a package below, then click the corresponding button.

Choose a package to load its Id and fields for update. Leave empty to create a new package.

Admin — What can report review do? (tap to expand)

Video: Allow = content OK. Remove = take down (+ optional block user).

Live: 1 report auto-ends stream → admin reviews. Approve = short playback (~48h). Reject = remove. Force stop = end while still live.

List: GET /api/admin/reported-content (video + live).

Reported content (video + live)

Click any tilePOST /api/admin/video-reports/by-ids (uses session/video GUID; report id optional for live).

All: — | Pending: — | Allowed: — | Removed: —

(Reported video + live items appear here.)
Click a reported content tile to load full detail.
👥

Admin - Users

For Admin users only. List users sorted by active first and newest created.

Calls /api/admin/users with paging/search. Use checkboxes for bulk activate/deactivate via PATCH /api/admin/users/status.

Select users from the list below for bulk action.
(Users will appear here.)
🔄

Refresh Token

Get new tokens (uses saved refresh token).

👋

Logout

Sign out (uses current token).

📍

Scan Mode

Test POST /api/v1/heartbeat and GET /api/scanmode/online-users. Login required. Presence TTL is 6 minutes — send heartbeat every 5 min to stay online.

Two-device test: open this tab on two browsers with different users, same coordinates. Always await heartbeat before Get online users (or use the combined button).

Presence: — Last heartbeat: — Expires in: —

1) Heartbeat

Type latitude, longitude, and altitude manually below, then send. Browser GPS is optional — it only fills these fields (you can edit before send).

Manual coordinates


2) Online users (500 m)

Calls GET /api/scanmode/online-users. Returns nearby online users except you. Empty [] is valid when nobody else is within 500 m.

(Nearby online users will appear here.)
🗺️

Quests — Treasure Hunt

Create, activate, find, and manage treasure-hunt quests. Login required for all endpoints.

Auto-filled after Create. Paste any quest Guid to target it.
💰 Balance: tokens

1) Create Quest — Free & Premium

POST /api/v1/quests · sent as multipart/form-data — Server derives tier, reward tokens and premium cost from the chosen icon. FREE Standard icons cost nothing. PREMIUM icons deduct PremiumCostTokens from your balance when the quest goes Active (drain order: Daily → Earned → QuestEarned → Purchased). Click Load Icons from API first.

Select an icon to see its tier, reward tokens and premium cost.
Sent as the questImage multipart file part.
AR / positioning fields (optional)
Response will appear here.

2) Quest Actions (uses Quest ID above)

All three use the Quest ID field at the top of this section. Activate a Premium quest deducts its PremiumCostTokens from your balance (drain order: Daily → Earned → QuestEarned → Purchased); returns 402 if you can't afford it. Cancel fails with 409 once any finder has collected.

(Quest detail will appear here.)
Response will appear here.

3) Find (Collect) Quest

POST /api/v1/quests/{id}/find — Server haversine proximity check. Your coordinates must be within CollectionRadiusMeters of the quest. Rewards tokens to finder and writes a QuestFinding + UserTreasure record.

Tip: set your coords very close to the quest coords above to pass the proximity check in testing.

Response will appear here.

4) Participant Management

Track an active play session for the quest in the Quest ID field above. A user can only be active in one quest at a time. Start is rejected if you are outside quest_participant_radius_meters (default 2 km). Send Heartbeat calls the unified POST /api/v1/heartbeat with questId — the separate participant heartbeat endpoint has been removed.

(Participants list will appear here.)
Response will appear here.

5) Discovery — Live Map

Map auto-fetches GET /api/v1/quests/viewport on every pan/zoom (debounced 600 ms). Click a marker to select it — fills the Quest ID above and shows details. Color: Standard   Premium   Inactive.

0 quests 0 Standard 0 Premium
Response will appear here.

Random quest in viewport

Calls GET /api/v1/quests/viewport/random using the four bounding-box coordinates above. Returns a list containing 0 or 1 quest, excluding quests you created. Prefers a quest at least ~2 km from the viewport center (offset left/right / ahead/behind), not dead-center.

Response will appear here.

Nearby quests (radius search)

Response will appear here.

My quests & treasures

(My quests / treasures will appear here.)
Response will appear here.

Quests at an event

Response will appear here.

6) Puzzle State (v2 — not yet active)

GET /api/v1/quests/me/puzzle — Returns your current treasure-icon puzzle slots and completion status.

Response will appear here.

7) Generate Quest Near Me (UC-7)

POST /api/v1/quests/generate — System creates a Standard quest near your coordinates using AI-selected icon. Only 1 active generated quest per user at a time (409 if one already exists).

Response will appear here.

8) Admin — Batch Create Quests

POST /api/admin/quests/batch — Admin role required. Scatters quests randomly inside a venue / event geofence polygon and activates them immediately (system-funded).

Ctrl/Cmd+click to pick multiple. Leave all unselected for random distribution.
(Batch create result will appear here.)
Response will appear here.

9) Admin — Auto-Generate Quests from City Place

POST /api/admin/quests/auto-generate-from-city-place — Admin role required. Uses Google Places API to find top POIs in a city and auto-generates quests at walkable street coordinates near each place.

(Auto-generate result will appear here.)
Response will appear here.
📣

Promotions — Create & Discover

Create a promotion, pick location on the map, view nearby pins, and manage My Promotions. Login required.

💰 Balance: tokens ✨ Spotlight: 100 tokens

Create Promotion

POST /api/v1/promotions · Click the map to set location (or use GPS). Image uploads via POST /api/v1/promotions/image-upload first.

Optional — uploaded before create.
Mark the Spotlight
100 tokens will be used
Response will appear here.

Map — Location & Nearby

🔴 Red pin = your create location (click map or drag pin). 🟣 Purple markers = nearby promotions. Click a marker to view details.

0 nearby
Nearby response will appear here.

Promotion Detail

(Promotion detail JSON will appear here.)
Response will appear here.

My Promotions

GET /api/v1/promotions/mine — Profile → My Promotions list with status badges.

(Click "Load My Promotions" to list yours.)
Response will appear here.
📡

Quest V1 Live Stream

Follow steps in order: location → viewport quests → participant → hub → live/join. Or use Run all steps.

Role: Host Hub: disconnected Stream: 🔴 Live joins 0 · peak 0 You: not logged in
① Location ② Quest ③ Start Play ④ Hub ⑤ Subscribe ⑥ Go live ⑦ Participants
1
Your location pending

Set lat/lng first — used for viewport quest search and Start Play radius check.

2
Select quest (viewport) pending

Calls GET /api/v1/quests/viewport using your Step 1 lat/lng + radius (not the Quests tab defaults). Click a card or dropdown.

API: —

Step 1 → set location → Step 2 → Load viewport quests
3
Become quest participant pending

POST …/participants/start — must be within 2km of the quest pin, not just your Step 1 location.

Select a quest — distance to quest pin will show here.

4
Connect SignalR hub pending

/hubs/quest-live-stream — real-time join/leave/end events.

5
Subscribe to quest pending

SubscribeToQuest — receive QuestLiveStreamStarted on this quest.

6
Go live pending

POST …/live-streams — starts stream; you become host participant in stream.

Stream appears here after Start stream.
Selected:
7
Participants & inspect pending
8
Agora RTC (optional) optional
Flow log
Complete steps 1→6 in order, or use Run all…
Participants 0
  • After join/start — click Refresh participants.
SignalR events
(Events appear after hub connect.)
API responses appear here.
Advanced — manual REST
🛣️

Street Locations

Preview real walkable street coordinates near any point. Calls GET /api/admin/quests/street-locations via Google Roads API and pins each result on the map.

Enter a centre coordinate, choose a search radius (up to 5 km) and how many points to return (1–50). Click Fetch Locations — markers appear on the map below. Click any marker for its coordinates and Place ID.

0 locations Idle
Response will appear here.
🌎

Ticketmaster Events World Map

Load normalized events from /api/events/search, plot by lat/long, view details, and inspect venue polygon + center point.

Live event map

All available events first, then filter by real data

The map auto-loads available events, keeps the view smooth, and shows clean event points for every lat/long.

0events
0mapped
0venues
Smooth event map Auto-loading all events
Showing All available states

Event cards

No events loaded yet.

Raw response

Response will appear here.
💬

Chat (Agora)

Interactive DM chat — conversations, send/receive, typing indicator. Auto-connects after login.

● Disconnected
💬
Connect to load conversations
💬
Select a conversation
Or click Browse all users on the left
⚙️ API Tools — Token, Raw Search, Peer Profile

Chat Tokens from Login

Populated automatically after login. Used by Connect above.


GET /api/chat/token

Returns a fresh Agora Chat token. Login required.

Response will appear here.

POST /api/chat/token/refresh

Issues a new token (SDK expiry callback path). Login required.

Response will appear here.

GET /api/users/search

Optional q (min 3 chars if set; blank = all users). Paginated via page / pageSize (max 50). Response data.users + totalCount, currentPage, totalPages. Use agoraChatUserId for Agora.


GET /api/users/{id}/chat-profile

Returns isActive — used to show the deactivated banner.

Response will appear here.