Added the os.getRecordsEndpoint() function to get the default records endpoint.
Records actions, like os.recordData(), os.getData(), os.recordFile(), etc. can be passed an endpoint which specifies which backend should be used for the request.
If no endpoint is specified, then a default is used.
os.getRecordsEndpoint() returns a promise that resolves to the endpoint that is used by default.
:rocket: Features
os.getRecordsEndpoint()
function to get the default records endpoint.os.recordData()
,os.getData()
,os.recordFile()
, etc. can be passed an endpoint which specifies which backend should be used for the request.os.getRecordsEndpoint()
returns a promise that resolves to the endpoint that is used by default.Closes #342