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 31 posts 131 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!

Please Sign in or register to post replies

Write your reply to:

Draft