Price Compare

Admin Search Accounts

Accounts to copy a benchmark into, matched on e-mail.

The limit is a guard against a one-letter query, not a feature of ordinary use: 83 accounts can sign in at all, "dodopizza" matches 16 and "pizza" 21, so a page of 50 shows a real search whole. It exists because this reads another company's production users table and a stray keystroke should not pull all of it — and because eighty rows is a second list, not a picker. Only accounts that can actually SIGN IN come back — offering a blocked one would walk the operator into a refusal — and that condition lives in the WHERE clause, not in a pass over the results afterwards: filtering after the LIMIT returned the first twenty matches and then threw most of them away, so a search for a company domain showed four of its people and hid the rest.

Each row carries the account's grants, which is the point of the picker rather than a decoration: it answers "will the copy show any data" while the operator is still choosing, instead of after.

get/api/price-compare/admin/search-accounts

Request

  • Base URL
    https://data.getplace.io (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Password
    Token URL: /api/auth/login

Query parameters

qstring required
limitinteger

Response

Successful Response

totalinteger

Changes

No recorded changes to this operation across all 1 revision of this API.