Archived Bots

Get Database Orders

Changed on

Get order history from a database.

Args: db_path: Full path to the database file limit: Maximum number of orders to return offset: Offset for pagination status: Optional status filter

Returns: List of orders with pagination info

get/archived-bots/{db_path}/orders

Request

  • Base URL
    http://localhost:8000
  • URL
    http://localhost:8000/archived-bots/{db_path}/orders
  • Auth
    HTTP basic

Path parameters

db_pathstring required

Query parameters

limitinteger

Limit number of orders returned

offsetinteger

Offset for pagination

statusstring nullable

Filter by order status

Response

Successful Response

unknown required

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • breaking

      the response's body type changed from array to no type for status