Formatting
You can choose any of the three data formats listed below by appending the format parameter with your choice, to your request's URL.
- html: Return field data in browser-friendly HTML formats
- raw: Return field data as raw data (JSON) objects
- both: Return field data in both html and raw formats
Notes
- All response data is formatted both by default.
- Using field_25 as an example, with both, your response data will include field_25 and field_25_raw (HTML formatting). With raw, your response data will only include field_25, which will be the same value as field_25_raw with the both formatting.
Examples
https://api.knack.com/v1/objects/object_1/records?format=raw
https://api.knack.com/v1/objects/object_1/records?format=html
https://api.knack.com/v1/pages/scene_1/views/view_1/records?format=both
Updated about 4 years ago
What’s Next