List fields
Gets the list of fields in a collection.
GET https://api.cogfy.com/collections/:collectionId/fields
Path params
collectionId
: The id of the collection to retrieve records from.
Response
Example JSON response:
{
"data": [
{
"id": "1cd13c46-c053-4bc6-94ee-28327fff5886",
"name": "Field name",
"type": "text",
"operation": null
},
{
"id": "1dc87a75-551b-4d0b-86c0-3d153e7f8127",
"name": "Field prompt",
"type": "text",
"operation": "prompt"
}
]
}