pim_api_channel_list:
    path: /channels
    defaults: { _controller: pim_api.controller.channel:listAction, _format: json }
    methods: [GET]

pim_api_channel_get:
    path: /channels/{code}
    defaults: { _controller: pim_api.controller.channel:getAction, _format: json }
    methods: [GET]

pim_api_channel_create:
    path: /channels
    defaults: { _controller: pim_api.controller.channel:createAction, _format: json }
    methods: [POST]

pim_api_channel_partial_update:
    path: /channels/{code}
    defaults: { _controller: pim_api.controller.channel:partialUpdateAction, _format: json }
    methods: [PATCH]

pim_api_channel_partial_update_list:
    path: /channels
    defaults: { _controller: pim_api.controller.channel:partialUpdateListAction, _format: json }
    methods: [PATCH]
