API Configuration
Setting up and configuring the Arcsec API
The main endpoint for database operations is:
POST /api/query
The seervice has been set up in a way where a user only needs to interact with the /api/query endpoint to perform all CRUD operations on their database. The endpoint takes in a JSON payload with the fields outlined below. Currently only querying the database is supported, with oterh operations like create and delete being performed via the UI.
Required Inputs
When making a request to the API, you need to provide the following required fields in your JSON payload:
dbId: The unique identifier of the database you want to query.query: The SQL query you want to execute.walletAddress: The wallet address associated with the database.apiKey: The API key for authentication.
Always keep your API key secure and never expose it in client-side code or public repositories.
API Key Verification
The API performs a verification step to check the provided API key against the stored API keys for the database. This ensures that only authorized users can access and modify the database.