GET
https://jmpy.me/api/v1
/
qr-ab-tests
curl -X GET "https://jmpy.me/api/v1/qr-ab-tests?status=running&page=1&limit=10" \
  -H "Authorization: Bearer <token>"
{
  "tests": [
    {
      "id": "test_987654321",
      "user_id": "usr_55555",
      "name": "Menu Layout Test",
      "status": "running",
      "primary_qr_id": "qr_123456789",
      "variant_count": 2,
      "total_scans": 1500,
      "created_at": "2024-03-20T10:00:00Z"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 10,
    "total": 1
  }
}
Get a paginated list of all A/B tests for QR codes, optionally filtered by status.

Query Parameters

status
string
Filter tests by status: draft, running, paused, or completed.
page
number
default:"1"
The page number to retrieve.
limit
number
default:"10"
The number of items per page.

Request Examples

curl -X GET "https://jmpy.me/api/v1/qr-ab-tests?status=running&page=1&limit=10" \
  -H "Authorization: Bearer <token>"
{
  "tests": [
    {
      "id": "test_987654321",
      "user_id": "usr_55555",
      "name": "Menu Layout Test",
      "status": "running",
      "primary_qr_id": "qr_123456789",
      "variant_count": 2,
      "total_scans": 1500,
      "created_at": "2024-03-20T10:00:00Z"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 10,
    "total": 1
  }
}
Get a paginated list of all A/B tests for QR codes, optionally filtered by status.

Query Parameters

status
string
Filter tests by status: draft, running, paused, or completed.
page
number
default:"1"
The page number to retrieve.
limit
number
default:"10"
The number of items per page.
curl -X GET "https://jmpy.me/api/v1/qr-ab-tests?status=running&page=1&limit=10" \
  -H "Authorization: Bearer <token>"
{
  "tests": [
    {
      "id": "test_987654321",
      "user_id": "usr_55555",
      "name": "Menu Layout Test",
      "status": "running",
      "primary_qr_id": "qr_123456789",
      "variant_count": 2,
      "total_scans": 1500,
      "created_at": "2024-03-20T10:00:00Z"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 10,
    "total": 1
  }
}