Is there a way to retrieve records so they include the field names when using View based requests outside of Knack?Thanks
Thanks for sharing that Dan!
Wrote an answer here then realised that you want to do this outside of Knack.
For what it's worth, you can get field names within Knack by doing something like this:
function getFieldName(object_key, field_key){
return Knack.objects.models.filter(object => object.id === object_key)[0].fields.models.filter(field => field.attributes.key === field_key)[0].attributes.name
}