prc-1:Paima Achievement Interface
Abstract
An open cross-game standard achievement specification to gamify on-chain participation. This specification allows interaction through standard HTTP methods.
Motivation
Most games have an achievement system, but they are not compatible: vendors and tools have to be adapted to each game. By implementing this standard, developers spend no or less time implementing the format itself, vendors can use the format for gamification apps, explorers, prizes, etc. This open-specification does not depend on any specific platform game host, technology, or language, and can be completely self-hosted.
The achievement content is easily indexable for games and API consumers, in a recognizable format, allowing caching and generating useful tools for end users.
This achievement system can be used by the target game itself for unlocking functionalities such as opening new areas, triggering game progress, or giving away prizes. Third parties may also consume API to expand on its actions, which are compatible with on-chain games.
Format
HTTP
- Network calls are done to any game node via HTTP to
BASE_URL
- All network requests are
Method GET
- All responses ContentType is
application/json
Standard HTTP codes
are used for status. E.g., 200 OK, 500 Internal Server Error, 404 Not Found, etc.- Request Accept-Language header with RFC 7231 content may be used to request the content in a specific language.
- Response Content-Language header with RFC 7231 shall be used to inform the client of the language of the content.