Get records by table
Complete the tutorial setup.
Using the "getRecordsByTable"
action without a cursor is the best way to return all records in a table.
Important
The query shown in this procedure returns all records in a table. If your table has more than 100,000 records, you should add the "returnCursor": true
property to return a cursor, which allows you to paginate through the table quickly and efficiently, see getRecordsByTable.
Paste this code into the API Request editor.
{ "api": "db", "action": "getRecordsByTable", "params": { "tableName": "athlete" }, "authToken": "clickApplyDefaultsToReplaceThisWithValidAuthToken" }
Click Apply defaults to JSON request () to set the
"authToken"
to a valid value.Click Send request ().
Verify the action completed successfully.
Note
"errorCode"
with a value of0
indicates success."errorCode"
with a non-zero value indicates a failure. See Errors and contact FairCom for more information about an error.