Skip to Content

Dynamic data structured API

Some modules tried to generate a dynamic APIs to read data from odoo.

There were limits for them, money costing not free ones in OCA.

But if there is a way do design the data to export or to send via API or enable an endpoint in odoo to read the same specific structure you want.

For example I like to expose data to endpoint using auth key to read a partner with related sales orders or related companies or a company with children partners for, or any complicated structure of models in odoo.

If it can be jsonified and getting exposed and even having a dynamic schema to read and define the content and structure of that endpoint.

I found by luck a pull request here in OCA by KOBROS-TECH LTD that is introducing that solution.

I guess that company in pretty new but having ambition to introduce some useful things to the community.

I am going to review that pull request and I hope it gains some interest, and I would like to thank that new company for giving me the exact solution that I was looking for


Best regards, Mohamed

by Mohamed Alkobrosly - 09:15 - 13 Feb 2026

Follow-Ups

  • Re: Dynamic data structured API
    Hello,

    I'm not sure if I understand correctly what you are trying to achieve but since you mention "endpoint" and "api key" you should have a look at the `endpoint` module(s) https://github.com/OCA/web-api/tree/18.0/endpoint

    KR
    S

    On Fri, Feb 13, 2026 at 9:17 PM mohamed alkobrosly <notifications@odoo-community.org> wrote:
    Some modules tried to generate a dynamic APIs to read data from odoo.

    There were limits for them, money costing not free ones in OCA.

    But if there is a way do design the data to export or to send via API or enable an endpoint in odoo to read the same specific structure you want.

    For example I like to expose data to endpoint using auth key to read a partner with related sales orders or related companies or a company with children partners for, or any complicated structure of models in odoo.

    If it can be jsonified and getting exposed and even having a dynamic schema to read and define the content and structure of that endpoint.

    I found by luck a pull request here in OCA by KOBROS-TECH LTD that is introducing that solution.

    I guess that company in pretty new but having ambition to introduce some useful things to the community.

    I am going to review that pull request and I hope it gains some interest, and I would like to thank that new company for giving me the exact solution that I was looking for


    Best regards, Mohamed

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe



    --
    Simone Orsi

    Full stack Python web developer, Odoo specialist, Odoo Community Board Member, in love with open source.

    by Simone Orsi. - 04:01 - 17 Feb 2026
  • Re: Dynamic data structured API
    Obama giving himself an award. (5120x2880px) : r/MemeRestoration


    Von: "Ronald Portier" <notifications@odoo-community.org>
    An: "Odoo Community Association, (OCA) Contributors" <contributors@odoo-community.org>
    Gesendet: Dienstag, 17. Februar 2026 10:52:29
    Betreff: Re: Dynamic data structured API

    Hi Mohammed,


    You say: "I found by luck a pull request here in OCA by KOBROS-TECH LTD that is introducing that solution. I guess that company in pretty new but having ambition to introduce some useful things to the community. I am going to review that pull request and I hope it gains some interest, and I would like to thank that new company for giving me the exact solution that I was looking for."


    But looking at the source posted on github you are yourself the author of this module, so why are you saying what you are saying above?


    Kind regards, Ronald




    On 13-02-2026 21:16, mohamed alkobrosly wrote:
    I found by luck a pull request here in OCA by KOBROS-TECH LTD that is introducing that solution.

    I guess that company in pretty new but having ambition to introduce some useful things to the community.

    I am going to review that pull request and I hope it gains some interest, and I would like to thank that new company for giving me the exact solution that I was looking for

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe



    by Christian Zöllner - 02:25 - 17 Feb 2026
  • Re: Dynamic data structured API

    Hi Mohammed,


    You say: "I found by luck a pull request here in OCA by KOBROS-TECH LTD that is introducing that solution. I guess that company in pretty new but having ambition to introduce some useful things to the community. I am going to review that pull request and I hope it gains some interest, and I would like to thank that new company for giving me the exact solution that I was looking for."


    But looking at the source posted on github you are yourself the author of this module, so why are you saying what you are saying above?


    Kind regards, Ronald




    On 13-02-2026 21:16, mohamed alkobrosly wrote:
    I found by luck a pull request here in OCA by KOBROS-TECH LTD that is introducing that solution.

    I guess that company in pretty new but having ambition to introduce some useful things to the community.

    I am going to review that pull request and I hope it gains some interest, and I would like to thank that new company for giving me the exact solution that I was looking for

    by Ronald Portier - 10:51 - 17 Feb 2026