Get API for Testing
Get API for Testing
Untuk Testing API Services bisa menggunakan Command Berikut;
curl -X GET https://[kpi-url]/api/v2/assets.json -H "Authorization: Token [your_token_goes_here]"
Untuk Testing API Services bisa menggunakan POSTman untuk build dan API Snippets;
Untuk detail penggunaan API dengan purpose spesifik menggunakan syntax url KPI sebagai berikut :
https://[kpi-url]/api/v2/assets/ (list of all assets, including forms/projects, questions, blocks, templates, collections; for each asset there are several additional sub-endpoints)
https://[kpi-url]/api/v2/assets/{asset_uid}/data/ (access submitted data) https://[kpi-url]/exports/ (create or view data exports)