verified_at is null until it is), when it was created, and whether it is deleted (deleted_at is null until the account is soft-deleted).per_page and page and answers the shared offset envelope, flattened beside the rows:per_page — page size. Default 10. 0 falls back to the default; a value above 100 also falls back to the default rather than being served. A non-numeric or negative value falls back to 10 and is reported in errors (field per_page).page — 1-based page number. Default 1; 0 falls back to 1. A non-numeric or negative value falls back to 1 and is reported in errors (field page).errors names what could not be read. errors is null when every value parsed.{data, per_page, offset, total, last_page, current_page, next_page, prev_page, errors}. total counts every account the publisher holds, deleted rows included, not just the returned page. offset is derived as (page - 1) * per_page. next_page and prev_page are null at the ends of the range.page beyond last_page is a valid empty page (200 with data: []), not an error.data is ordered by email ascending. That order is stable within a publisher because (publisher_id, email) is unique, so paging neither repeats nor skips a row.email is personal data: it is answered to the caller and never logged.curl --location 'https://api.lootlocker.io/admin/pub-account/v1/organisation/1/accounts?per_page=10&page=1'{
"data": [
{
"id": 0,
"email": "string",
"verified_at": "2019-08-24T14:15:22.123Z",
"deleted_at": "2019-08-24T14:15:22.123Z",
"created_at": "2019-08-24T14:15:22.123Z"
}
],
"per_page": 0,
"offset": 0,
"total": 0,
"last_page": 0,
"current_page": 0,
"next_page": 0,
"prev_page": 0,
"errors": [
{
"field": "string",
"message": "string"
}
]
}