API

List, status, burn

The same key lists what you sent, checks one link, and burns it when the file should be gone.

List

curl https://www.pinkjeepney.com/api/v1/transfers \
  -H "Authorization: Bearer $PINK_JEEPNEY_TOKEN"

You get the newest sends on this account: id, status, link, note, size, and when it expires.

One send

curl https://www.pinkjeepney.com/api/v1/transfers/ID \
  -H "Authorization: Bearer $PINK_JEEPNEY_TOKEN"

Burn

curl -X POST https://www.pinkjeepney.com/api/v1/transfers/ID/burn \
  -H "Authorization: Bearer $PINK_JEEPNEY_TOKEN"

Burn deletes the files now. The pickup link stops working. A key only sees sends from its own account. Someone else’s id returns 404. A send made with /api/v1/links is in this list too.