Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mateusz Kotwica 32 posts 133 karma points
    Feb 06, 2024 @ 13:21
    Mateusz Kotwica
    0

    Extending Content Delivery API v2

    Hello,

    quick question - is it possible to add a custom endpoint to Content Delivery API to run my custom logic? For example I'd like to add a method to get all root nodes.

    The proposed API path could look like this:

    /umbraco/delivery/api/v2/content/getAllRoots
    

    Is that even possible?

    I know I can achieve it building my own backoffice controller, but I wonder if I can extend Content Delivery API somehow?

    Thank you in advance for any clues!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies