myapi.rest myapi.rest

Changelog

All notable changes to the myapi.rest suite.

v0.7.0 — Token / Coupon Engine Beta

Components

Shortener Reporting Dashboard Authentication
Token / Coupon API
  • New /api/token/generate and /api/token/redeem endpoints for coupons, tickets, promo codes, and generic tokens.
  • Per-token metadata including label, campaign name, max redemptions, expiry, and arbitrary payload for your own business context.
  • Tokens are tied to API keys and users for clean multi-tenant isolation.
  • Strong validation and clear error messages for duplicate, expired, or already-redeemed tokens.
Analytics & Dashboard
  • Redemption activity logged with latency and status for future reporting.
  • Dashboard tiles prepared for per-token usage charts and CSV export.
  • Internal performance metrics wired for future “high volume” plan visibility.
v0.6.0 — QR & Barcode Request Logging Beta

Components

QR Code Barcode Reporting Dashboard
Structured Request & Response Logging
  • QR and barcode generation requests now logged into dedicated tables with normalized fields.
  • Captured fields include payload, format, sizing, colors, and options — ready for per-customer analytics.
  • Execution time per call recorded for later performance dashboards.
Unified Format Handling
  • Barcode format mapping aligned across C# and stored procedures for predictable behaviour.
  • Improved validation for unsupported or mismatched formats (e.g. EAN/UPC/ITF vs QR/Data Matrix).
v0.5.0 — Image Hosting Storage & Metadata Beta

Components

Image Hosting Reporting Dashboard
Image Upload Pipeline
  • Refined upload endpoint with a dedicated InsertImageRecord stored procedure for consistent metadata writes.
  • Metadata captured: owner (user), API key, original filename, stored path, content type, file size, and upload timestamp.
  • Signed URL approach ready for secure delivery and future expiry policies.
Error Handling & Diagnostics
  • Improved handling of stored procedure parameter mismatches and output parameters with MySqlConnector.
  • Better diagnostic messages in logs for traceability when uploads fail.
v0.4.0 — Short URL Analytics & Click Streams Beta

Components

Shortener Reporting Dashboard
Click Stream JSON API
  • New SQL helpers to return per-link click streams as a single JSON payload (click timestamp, domain, IP, user agent, referrer, language).
  • Base short URL metadata (long URL, code, created/expiry dates) bundled with the click array in one query for efficient dashboards.
Listing & Filters
  • Short URL listing optimized with per-row click counts and optional API label filtering.
  • Search filters for code and long URL, with date range support for reporting windows.
  • Indexes aligned with real filter usage to avoid unnecessary full table scans.
v0.3.0 — Developer Console & Modals Preview

Components

Dashboard Reporting Authentication
Console UX Improvements
  • Responsive, scrollable general modal with max-height constraints for long content.
  • Layout refinements for analytics tables and headers inside the dashboard.
  • Prep work for per-API usage charts and time-range selectors.
Navigation & Structure
  • Header and navigation elements aligned with public marketing site (Docs, Pricing, Status, Login/Sign up).
  • Consistent branding and typography across console and www surface.
v0.2.0 — API Keys & Auth Hardening Preview

Components

Authentication Shortener
API Key Validation
  • Central ValidateApiKey helper used across all endpoints (short URL, QR, barcode, image hosting, tokens).
  • Per-request logging of endpoint path, status code, and execution time.
  • All APIs enforced over HTTPS only.
Foundation for Usage Limits
  • Internal structures prepared for plan-based limits (calls/month and per-API breakdown).
  • Captured metrics ready to power future “High Volume. No Lock-In. No Surprises.” usage views.
v0.1.0 — Platform Foundations Internal

Components

Authentication Shortener QR Code Barcode Image Hosting Dashboard Reporting
Core Services
  • Initial scaffolding for URL Shortener, QR Code Generator, Barcode Generator, and Image Hosting APIs.
  • Base database schema for users, API keys, usage logs, and per-API entities.
Developer Experience
  • Early developer dashboard skeleton with authentication and basic navigation.
  • First internal analytics queries for per-endpoint usage and latency.