The Field Plugins Object
Properties
-
id
numberNumeric ID of your field plugin
-
name
stringGiven name of your field plugin. Needs to be unique. A personal prefix is recommended (Example: my-geo-selector).
-
body
stringThe uncompiled JavaScript code of the field plugin.
-
compiled_body
stringUsed by the online code editor. Needs to be an empty string if using local plugin development.
-
space_ids
number[]Array of space ids where the field plugin is assigned to.
Example Object
{
"field_type": {
"id": 124,
"name": "my-geo-selector",
"body": "var Fieldtype = {}",
"compiled_body": "",
"space_ids": []
}
}