Get All Config
Retrieve all Events config items for a specific user
Request
POST https://api.arkhia.io/events/hedera/settings/:x-api-key
HEADERS
x-api-secret | string | The Api Secret retrieved from an Arkhia project
PARAMETERS
x-api-key | string | The Api Key retrieved from an Arkhia project
HEADERS
x-api-secret | string | The Api Secret retrieved from an Arkhia project
PARAMETERS
x-api-key | string | The Api Key retrieved from an Arkhia project
Response
- Operational [200]
[
{
id: 'clocr66zu000nulpkoxan6tid',
item_id: '0x10890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15',
user_id: 'cll1qams20001ulkq502o4w2b',
network_id: 296,
type_id: 2,
enabled: false,
json_settings: { events: [Array] },
status: 'QUEUED',
created_at: '2023-10-30T10:24:14.826Z',
updated_at: '2023-10-30T10:24:25.513Z',
job_health_timestamp: '1970-01-01T00:00:00.000Z',
request_fetch_limit: 100
},
{
id: 'clocr66yw000lulpk8rzu357z',
item_id: '0x97890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15',
user_id: 'cll1qams20001ulkq502o4w2b',
network_id: 295,
type_id: 5,
enabled: false,
json_settings: { events: [Array] },
status: 'QUEUED',
created_at: '2023-10-30T10:24:14.792Z',
updated_at: '2023-10-30T10:24:14.792Z',
job_health_timestamp: '1970-01-01T00:00:00.000Z',
request_fetch_limit: 100
}
]
Code Examples
cURL Examples
- cURL
- Node Js
Get All Event Settings
curl -X POST "https://api.arkhia.io/events/hedera/settings/YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "x-api-secret: YOUR_API_SECRET" \
-d '{}'
const axios = require('axios');const getAllConfig = async () => { const restApiUrl = `https://api.arkhia.io/events/hedera/settings/YOUR_API_KEY`; const apiSecret = `YOUR_API_SECRET`; const headers = { headers: { "x-api-secret": apiSecret, "Content-Type": "application/json" } }; try { const response = await axios.post(restApiUrl, {}, headers); return response; } catch(e) { console.error(e); }}