Skip to main content
GET
/
archived-bots
/
{db_path}
/
positions
Get Database Positions
curl --request GET \
  --url http://localhost:8000/archived-bots/{db_path}/positions \
  --header 'Authorization: Basic <encoded-value>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

db_path
string
required

Query Parameters

limit
integer
default:100

Limit number of positions returned

offset
integer
default:0

Offset for pagination

Response

Successful Response