teunmooij/payload-tools

custom endpoints

Closed this issue · 0 comments

Description

Custom endpoint can be at:

  • config level (can be root)
  • global
  • collection

Url is relative to it's parent (except for root on config level)

Requirements:

  • determine route
  • extract route-params from path
  • expose extension type for Config to allow extra metadata with:
    • return type
    • authentication