API Changelog (EN)

API Changelog traderush.co

API Changelog

Version History

beta-0.2-api

Release Date: 04/11/2024

New Features and Enhancements:

  • Pagination and Filtering for Signals

    • Added pagination support with parameters limit (default 50) and page (default 1).

    • Included filtering by start_date and end_date to allow date-specific queries.

  • Sorting Options

    • Introduced sorting options with order_by (fields: created_at, price, currency) and order_dir (either ASC or DESC).

  • Enhanced Error Responses

    • Improved error handling with detailed messages for missing parameters (e.g., missing token) and invalid parameter values (e.g., invalid order_by or order_dir values).

    • Introduced new 400 Bad Request responses for invalid limit, page, and sorting parameters.

Bug Fixes:

  • Resolved issues where requests without specific parameters could cause unexpected responses.

  • Fixed SQL injection vulnerabilities by using prepared statements for all queries.


beta-0.1-api

Release Date: Initial Beta Release

Features:

  • Basic token-based authentication to validate users.

  • Ability to retrieve a specific signal using signal_token or fetch all signals if no token is provided.

Limitations:

  • No pagination, sorting, or filtering options.

  • Limited error handling; returned generic messages for most errors.

Last updated