- API Reference
- Get record
API Reference
Get record
GET
/v0/collections/{collection_path}/records/<record_id>
collection_path*
record_id*
curl --request GET \
--url https://testnet.polybase.xyz/v0/collections/{collection_path}/records/<record_id> \
curl --request GET \
--url https://testnet.polybase.xyz/v0/collections/polybase%2Fcore%2Fusers/records/id123\
--header 'Accept: application/json'
Path Params
collection_pathRequired
string
The path to the collection holding the record. This must be URL encoded, so a collection path of polybase/core/users
would be requested as polybase%2Fcore%2Fusers
.
record_idRequired
string
A unique identifier for the record, as defined by the collection constructor
function.
curl --request GET \
--url https://testnet.polybase.xyz/v0/collections/polybase%2Fcore%2Fusers/records/id123\
--header 'Accept: application/json'