Create table field
documentedAdd a new field to a table.
POST /integrations/rest/v3/tables/{tableName}/fieldsTablesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$integration_url}}.caspio.com/integrations/rest/v3/tables/{{$tableName}}/fields" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"fieldDefinitions": [ { "Name": "{{$fieldName}}", "Type": "{{$fieldType}}", "Length": {{$length}}, "Label": "{{$label}}", "Description": "{{$description}}", "Unique": {{$unique}}, "UniqueAllowNulls": {{$uniqueNulls}}, "DisplayOrder": {{$displayOrder}}, "OnInsert": {{$onInsert}}, "IsFormula": {{$isFormula}}, "ListField": {{$listField}} } ] }'