Files
grzanieplus.pl/plugins/stWebApiPlugin/config/generator/stProductGroupWebApi.yml
2025-03-12 17:06:23 +01:00

29 lines
1.0 KiB
YAML

include_action_files: [/plugins/stWebApiPlugin/config/generator/extendGenerator.php]
webapi:
fields:
id: {type: integer}
name: {type: string}
url: {type: string}
methods:
CountProductGroupI18n:
type: count
peer_method: doCountWithI18n
inOutTypes: {in: object, out: object}
fields:
out: [_count]
GetProductGroupI18nList:
type: list
peer_method: doSelectWithI18n
inOutTypes: {in: object, out: array}
fields:
in: [_offset, _limit, _modified_from, _modified_to]
out: [id, name, url]
UpdateProductGroupI18n:
type: update
inOutTypes: {in: object, out: object}
fields:
in: [=id, name, url]
out: [_update]