List the rows a dashboard form can edit
/dashboard/{id}/widget/{key}/row
Only for a form whose edit_rows is single or pick (otherwise 404 not_found). Needs view access on the dashboard, use on the form collection (403 form_not_allowed) and a signed-in person. Read in the caller's own row scope. pick: q searches the row_label_field column only, sorted by it, cursor-paged (409 form_row_label_invalid when that field was since protected or re-typed). single: the one oldest row. Each entry is only id, label and version.
Path Parameters
Resource id
Widget key
Response Body
curl -X GET 'https://api.elaichi.ai/dashboard/<id>/widget/<key>/row' \
-H 'Authorization: Bearer $ELAICHI_API_TOKEN' \
-H 'Content-Type: application/json'const response = await fetch('https://api.elaichi.ai/dashboard/<id>/widget/<key>/row', {
method: 'GET',
headers: {
'Authorization': 'Bearer ' + process.env.ELAICHI_API_TOKEN,
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);import os
import requests
url = "https://api.elaichi.ai/dashboard/<id>/widget/<key>/row"
headers = {
"Authorization": f"Bearer {os.environ['ELAICHI_API_TOKEN']}",
"Content-Type": "application/json",
}
response = requests.get(url, headers=headers)
print(response.json())