Examples
cURL Examples
List all rows
curl "{{ config('app.url') }}/api/v1/bridge/{bridgeId}/{sheetId}"
List with authentication
curl -H "Authorization: Bearer YOUR_TOKEN" \
"{{ config('app.url') }}/api/v1/bridge/{bridgeId}/{sheetId}"
Filter rows
curl "{{ config('app.url') }}/api/v1/bridge/{bridgeId}/{sheetId}?filter[Status]=active&filter[Age][_gte]=18"
List rows with metadata
curl "{{ config('app.url') }}/api/v1/bridge/{bridgeId}/{sheetId}?meta=true"
Get a single row
curl "{{ config('app.url') }}/api/v1/bridge/{bridgeId}/{sheetId}/{recordId}"
Get a single row with authentication
curl -H "Authorization: Bearer YOUR_TOKEN" \
"{{ config('app.url') }}/api/v1/bridge/{bridgeId}/{sheetId}/{recordId}"
Create a row
curl -X POST "{{ config('app.url') }}/api/v1/bridge/{bridgeId}/{sheetId}" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{"Name": "John Doe", "Email": "john@example.com"}'
Update a row
curl -X PUT "{{ config('app.url') }}/api/v1/bridge/{bridgeId}/{sheetId}/{recordId}" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{"Name": "Jane Doe", "Email": "jane@example.com"}'
Delete a row
curl -X DELETE "{{ config('app.url') }}/api/v1/bridge/{bridgeId}/{sheetId}/{recordId}" \
-H "Authorization: Bearer YOUR_TOKEN"