The platform is the core component of the Rehive ecosystem. It acts as the backbone for all company, user, account and transaction management in Rehive. In addition it offers a wide set of endpoints to make it easier for developers to build transactional applications and systems.
The platform consists of an API organized around RESTful principles. There are 3 primary sections to the platform API:
The auth section of the platform provides endpoints for handling authentication and other authorization related functions that are common to all users within the platform.
Authentication endpoints do not require any specific permissions nor are they limited by any other access control.
Some example endpoints are:
The user section of the platform API is designed for end-users. This set of endpoints only exposes a data set that is relevant to the user as an individual within the system. These endpoints can be exposed to end-users and were created to be used without any intermediary services or layers.
The user section covers almost all resource types but some examples endpoints are:
The admin section of the platform API is designed for administrators, managers and systems that need access to either part or the whole of the platform with a “superuser” scope. Admin access, when provided in full, gives access to the organization’s full data-set (including other users and their accounts/currencies/transactions etc.)
Every resource available in the Rehive platform is accessible via the admin endpoints. Some examples are:
As you can see, the admin section follows a very similar structure to the user section. The only difference is that the admin endpoints provide access to all resources across the whole organization.