Menu

The Vote Board and the 43-Name Product Catalogue Share No Name at All
📰

The Vote Board and the 43-Name Product Catalogue Share No Name at All

DEV Community: javascript·OnePassApps·7 days ago
#K5WTxV2e
#devtojavascript#devto#dev#board#twelve
Reading 0:00
15s threshold

I work on OnePassApps, so this is our own infrastructure and every number below was measured on it today with plain HTTPS - no browser, no session, no cookies and no JavaScript.

Two lists sit on our own surfaces: the twelve ideas on the vote board and the forty-three records in the product catalogue. They are not the same list, and the part that surprised us is this: the two lists share no name, and no slug either.

The board's JSON, read straight

GET https://api.onepassapps.com/api/voting answers 200 with 4146 bytes of application/json. The payload is the usual envelope - data, meta and ok - and the data holds 12 ideas. Each record carries the same eleven fields: createdAt, description, id, rank, rankChange, status, submittedByViewer, title, viewerHasVoted, voteCount, votingOpen.

The endpoint's cache header is private, no-store, max-age=0 .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.