Skip to content

Store endpoint

Daniel López Guimaraes edited this page Jun 22, 2023 · 5 revisions
This endpoint does not require authentication

Methods

POST store/thumb

This method requests to the server the URL of the Pou merchandising store.

Parameters

Field Notes
c PouHash(payload)

Payload

The payload is a base64-encoded PNG file of the client's Pou. The base64 string is wrapped every 0x4A (74) bytes. This is because no flags are set on the client when encoding the image to base64.

Response

Type Field Notes
bool url URL of the Pou merchandising store.
bool success If the request has been successful.