_edit
Creates a new Asset Table, or edits properties of an existing Asset Table
Parameters
id
The ID of the Asset Table being created/modified
name
The name of the Asset Table
fields
An Array which contains all fields within the Asset Table, each field has 3 variables: id name type (Can be one of 3: text, textarea, datetime)
Example
Results
On Success
On Failure
If the "id" parameter is not included or has a value less than 1:
If the "name" parameter is not included or has an empty value when trimmed:
If the "fields" parameter is not included:
If the "fields" value is in an invalid format (e.g a missing bracket or the value is not an array)
Last updated