Skip to main content
GET
Read a set back

Authorizations

X-Pincast-Key
string
header
required

Your app's key, sent on every call from your server only. It reads pck_, your app id, an underscore, then a secret of 20 or more letters, digits, underscores or hyphens. Never put it in a web page, an app bundle or a query string. Placecard stores only its sha256.

Your app can hold two live keys at once, so a key is replaced with no outage: the new key works at once, and the old one keeps working until its expiry (seven days after the new key is made, unless you ask for less). A revoked key is refused from the next call.

X-Placecard-Key, the older name of this header, is taken too, at either address. Send one of the two; if both come and they differ, the call answers 400 key_conflict.

Path Parameters

set
string
required

Your set's id, chosen by your app. Lowercase letters, digits, underscores and hyphens, starting with a letter or digit, 64 characters at most.

Pattern: ^[a-z0-9][a-z0-9_-]{0,63}$

Response

The set.

app
string
required
set
string
required

Lowercase letters, digits, underscores and hyphens, starting with a letter or digit, 64 characters at most.

Pattern: ^[a-z0-9][a-z0-9_-]{0,63}$
name
string
required
meta
object
required
updatedAt
string<date-time>
required

An ISO 8601 time.

active
object
required

A count for each card type.

collects
integer
required

Cards collected directly, one per person and card.

Required range: x >= 0
players
integer
required

People who collected at least one card.

Required range: x >= 0
listing
object
required

Whether the set lists: on the Placecard map, the front page and card pages for people who do not hold its cards. A new app's sets list once Pincast has reviewed the app.