list_entries_metadata_field_add

This adds or updates the List entries metadata fields and related information.

See Also

Argument

Required

Type

Description

name

yes

string

The metadata field name.  See list_entries_metadata_field_list for a list of field names.

Examples: screenshot, pagetitle, lastmodified, pagechanged, downloadtime, topwords

type

yes

string

This is the data type: image, date, longtext, or text

title

no

string

The column name for the table view.

view

no

boolean

Set if this field can be shown as a table column (otherwise it is used only by automatic tools).

sort

no

string

Set if table rows can be ordered by this field

search

no

string

Set if table row can be searched by this field data.

index

no

string

Set to create the optional index for this column.

format

no

string

The format of the output for the API: text, json or xml. The default is text.

callback

no

string

This only works with Direct APIs. This is a JavaScript function that should be called after the API is completed. This function will be called with the response of the API.  Please note: It can only be used when requesting this API via AJAX request.

Example

servername/webadmin/api/list_entries_metadata_field_add.php?name=VALUE&type=VALUE

Output

OK:

 

Version: 6.2.3