Archived Bots

Get Database Positions

Changed on

Get position data from a database.

Args: db_path: Full path to the database file limit: Maximum number of positions to return offset: Offset for pagination

Returns: List of positions with pagination info

get/archived-bots/{db_path}/positions

Request

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

Path parameters

db_pathstring required

Query parameters

limitinteger

Limit number of positions returned

offsetinteger

Offset for pagination

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