🧪 API (v1)

  1. Open a terminal
  2. Type
  3. That's it!

Parameters

Path parameters

  • module_name string Required
    The module technical name

Query parameters

Samples

GET /v1/module/{module_name}
curl -s https://ommd.info/v1/module/MODULE_TECHNICAL_NAME | jq

Response

{
    "name": "Web Responsive",
    "technical_name": "web_responsive",
    "odoo_versions": [
        "14.0",
        "15.0"
    ],
    "repos": [
        "https://github.com/OCA/web.git"
    ]
}
{
    "name": string,
    "technical_name": string,
    "odoo_versions": Array[string],
    "repos": Array[string]
}

Parameters

Path parameters

  • module_name string Required
    The module technical name
  • odoo_version string Required
    The odoo version

Query parameters

  • org string
    The organization name
  • repo string
    The repository name

Samples

GET /v1/module/{module_name}/{odoo_version}
curl -s https://ommd.info/v1/module/MODULE_TECHNICAL_NAME/ODOO_VERSION | jq

Response

[
    {
        "technical_name": "web_responsive",
        "name": "Web Responsive",
        "version": "1.1.12",
        "description": "",
        "authors": [
            "Odoo Community Association (OCA)",
            "Tecnativa",
            "LasLabs",
            "ITerra"
        ],
        "website": "https://github.com/OCA/web",
        "license": "LGPL-3",
        "category": "Website",
        "auto_install": false,
        "application": false,
        "installable": true,
        "maintainers": [
            "Odoo Community Association (OCA)"
        ],
        "committers": [
            "Pedro M. Baeza",
            "Enric Tobella"
        ],
        "dependencies": {
            "odoo": {
                "odoo/odoo": [
                    "web",
                    "mail"
                ]
            },
            "pip": [],
            "bin": []
        },
        "update_date": "2024-01-22 21:51:45",
        "git": "https://github.com/OCA/web.git",
        "folder_size": 5146591,
        "repository": "web",
        "organization": "OCA",
        "odoo_version": "15.0",
        "views": [
            {
                "xml_id": "assets_backend",
                "name": "web_responsive.assets_backend",
                "model": "ir.ui.view",
                "inherit_xml_id": "web.assets_backend",
                "is_new": false,
                "view_type": "xpath"
            }
        ],
        "models": [
            {
                "model_name": "res.users",
                "class_name": "ResUsers",
                "inherit_from": ["res.users"],
                "is_new_model": false,
                "docstring": "Extends res.users with backend UI preferences.",
                "attrs": {"kind": "Model"},
                "fields": [
                    {
                        "name": "chatter_position",
                        "field_type": "Selection",
                        "relation": null,
                        "attrs": {
                            "args": ["[('normal', 'Normal'), ('sided', 'Sided')]"],
                            "default": "'normal'"
                        }
                    }
                ],
                "methods": [
                    {
                        "name": "get_default_menu",
                        "decorators": ["api.model"],
                        "signature": "(self)",
                        "docstring": "Returns the default backend menu id for this user."
                    }
                ]
            }
        ]
    }
]
{
    "technical_name": string,
    "name": string,
    "version": string,
    "description": string,
    "authors": Array[string],
    "website": string,
    "license": string,
    "category": string,
    "auto_install": boolean,
    "application": boolean,
    "installable": boolean,
    "maintainers": Array[string],
    "committers": Array[string],
    "dependencies": {
        "odoo": Object,
        "pip": Array[string],
        "bin": Array[string]
    },
    "update_date": string,
    "git": string,
    "folder_size": Number,
    "repository": string,
    "organization": string,
    "odoo_version": string,
    "views": Array[{
        "xml_id": string,
        "name": string,
        "model": string,
        "inherit_xml_id": string|null,
        "is_new": boolean,
        "view_type": string|null
    }],
    "models": Array[{
        "model_name": string,
        "class_name": string,
        "inherit_from": Array[string],
        "is_new_model": boolean,
        "docstring": string|null,
        "attrs": Object|null,
        "fields": Array[{
            "name": string,
            "field_type": string,
            "relation": string|null,
            "attrs": Object|null
        }],
        "methods": Array[{
            "name": string,
            "decorators": Array[string],
            "signature": string,
            "docstring": string|null
        }]
    }]
}

Parameters

Path parameters

  • repo_name string Required
    The repository name

Query parameters

Samples

GET /v1/repo/{repo_name}
curl -s https://ommd.info/v1/repo/REPOSITORY_NAME | jq

Response

{
    "name": "web",
    "organizations": {
        "OCA": {
            "14.0": 62,
            "15.0": 47
        }
    }
}
{
    "name": string,
    "organizations": Object
}

Parameters

Path parameters

  • module_name string Required
    The module technical name

Query parameters

  • odoo_version string
    The odoo version
  • installable bool
    If the module is installable

Samples

GET /v1/search/{module_name}
curl -s https://ommd.info/v1/search/MODULE_TECHNICAL_NAME | jq

Response

[
    {
        "technical_name": "web_refresher",
        "versions": {
            "OCA/web": [
                "14.0",
                "15.0"
            ]
        }
    },
    {
        "technical_name": "web_remember_tree_column_width",
        "versions": {
            "OCA/web": [
                "14.0",
                "15.0"
            ]
        }
    },
    {
        "technical_name": "web_responsive",
        "versions": {
            "OCA/web": [
                "14.0",
                "15.0"
            ]
        }
    }
]
{
    "technical_name": string,
    "versions": Object
}