feature/definition/put

Submit a new or modified feature definition.

Parameters

NameRequiredDefaultDescriptionExample
featureCodetrueN/Afeature code to modify or addMyCoolFeature
categoryfalsecategory for featureCool Features
descriptionfalsebrief description of featureMy Cool Feature
labelsfalselabels for value fields of feature. ';' to separateRepository Name; URL
constraintsfalseconstraints for value fields of feature. possible values: bool, stringVal[1,2], intVal[1,2], dateVal[1,2]. With stringVal fields, a valid choice list can be provided in brackets. Separate multiple fields with ';'.stringVal1[choice 1, choice 2]; stringVal2
notesfalseAny notes for this featureThis feature is useful for marking cool stuff in manuscripts.
dialogJavaScriptfalseJavaScript which should be applied during input dialog display
isManuscriptFeaturefalsefalseif this feature can be applied to a whole manuscripttrue
isPageFeaturefalsefalseif this feature can be applied a manuscript pagetrue
isSurrogateFeaturefalsefalseif this feature can be applied to a surrogate of a manuscript pagetrue
isUserFeaturefalsetrueif this feature should be scoped local to the creator of the featurefalse
groupNamefalsefeature is scoped to this groupECM Matthew
userNamefalsefeature is owned by this userjoe
formatfalsespecified at session openresponse output format (json|xml|csv|gchart)json

Errors

{featureCode} may not be null-4
Must be logged in to edit feature definitions.-5