30 lines
1.1 KiB
YAML
30 lines
1.1 KiB
YAML
include_action_files: [/plugins/stWebApiPlugin/config/generator/extendGenerator.php]
|
|
|
|
webapi:
|
|
fields:
|
|
id: {type: integer}
|
|
name: {type: string}
|
|
content: {type: string}
|
|
culture: {type: string}
|
|
|
|
methods:
|
|
CountBoxI18n:
|
|
type: count
|
|
peer_method: doCountWithI18n
|
|
inOutTypes: {in: object, out: object}
|
|
fields:
|
|
out: [_count]
|
|
GetBoxI18nList:
|
|
type: list
|
|
peer_method: doSelectWithI18n
|
|
inOutTypes: {in: object, out: array}
|
|
fields:
|
|
in: [_offset, _limit, _modified_from, _modified_to]
|
|
out: [id, name, content]
|
|
UpdateBoxI18n:
|
|
type: update
|
|
inOutTypes: {in: object, out: object}
|
|
fields:
|
|
in: [=id, name, content]
|
|
out: [_update]
|