The Field Plugins Object
This is an object representing a field plugin.
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.
-
options
object[]Options added to the plugin
-
name
stringName of the option
-
value
stringDefault value of the option
-
-
last_versions
object[]Array of last versions of the plugin
-
id
numberID of the version
-
event
stringEvent
-
created_at
stringDate at which the version was created
-
author_id
numberID of the author
-
author
stringName of the author
-
item_id
numberPlugin ID
-
is_draft
booleanIf in draft
-
-
belongs_to_partner
booleanIf the plugin belongs to a partner portal
-
belongs_to_org
booleanIf the plugin belongs to an organization
-
user
objectThe user object
{
"field_type": {
"id": 124,
"name": "my-geo-selector",
"body": "var Fieldtype = {}",
"compiled_body": "",
"space_ids": [],
"options": [
{
"name": "starts_with",
"value": ""
},
{
"name": "maximum",
"value": ""
}
],
"last_versions": [],
"belongs_to_parnter" : false,
"belongs_to_org": "false",
"user" : {}
}
}