Endpoint route handler

endpoint_route_handler
REPOSITORY
REPOSITORYOCA/web-api
GIT
GIThttps://github.com/OCA/web-api.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/web-api/tree/19.0/endpoint_route_handler
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, Iván Todorovich, Raf Ven, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/web-api
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:47
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Technical module that provides a base handler for adding and removing
controller routes on the fly.

Can be used as a mixin or as a tool.

Code Analysis

Views touched (0)

No views found for this module.

HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (11)
  • auth_type Selection
    default='user_endpoint' selection='_selection_auth_type'
  • cors Char
    default='*' help='Comma-separated list of allowed origins'
  • csrf Boolean
    default=False
  • endpoint_hash Char
    compute='_compute_endpoint_hash' help='Identify the route with its main params'
  • name Char
    required=True
  • readonly Boolean
    default=False
  • request_content_type Selection
    selection='_selection_request_content_type'
  • request_method Selection
    required=True selection='_selection_request_method'
  • route Char
    compute='_compute_route' copy=False index=True inverse='_inverse_route' readonly=False required=True store=True
  • route_group Char
    help='Use this to classify routes together'
  • route_type Selection
    default='http' selection='_selection_route_type'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • new(self, values=None, origin=None, ref=None)
    @api.model

New fields (2)
  • active Boolean
    default=True
  • registry_sync Boolean
    copy=False default=False help='ON: the record has been modified and registry was not notified.\nNo change will be active until this flag is set to false via proper action.\n\nOFF: record in line with the registry, nothing to do.'
Public methods (2)
  • unlink(self)
  • write(self, vals)

New fields (0)

No new fields.

Public methods (1)
  • routing_map(self, key=None)
    @tools.ormcache('key', 'self._endpoint_route_last_version()', cache='routing')
REPOSITORY
REPOSITORYOCA/web-api
GIT
GIThttps://github.com/OCA/web-api.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/web-api/tree/18.0/endpoint_route_handler
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, Simone Orsi, oca-ci, Christopher Ormaza
WEBSITE
WEBSITEhttps://github.com/OCA/web-api
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Technical module that provides a base handler for adding and removing
controller routes on the fly.

Can be used as a mixin or as a tool.

Code Analysis

Views touched (0)

No views found for this module.

HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (10)
  • auth_type Selection
    default='user_endpoint' selection='_selection_auth_type'
  • csrf Boolean
    default=False
  • endpoint_hash Char
    compute='_compute_endpoint_hash' help='Identify the route with its main params'
  • name Char
    required=True
  • readonly Boolean
    default=False
  • request_content_type Selection
    selection='_selection_request_content_type'
  • request_method Selection
    required=True selection='_selection_request_method'
  • route Char
    compute='_compute_route' copy=False index=True inverse='_inverse_route' readonly=False required=True store=True
  • route_group Char
    help='Use this to classify routes together'
  • route_type Selection
    default='http' selection='_selection_route_type'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • new(self, values=None, origin=None, ref=None)
    @api.model

New fields (2)
  • active Boolean
    default=True
  • registry_sync Boolean
    copy=False default=False help='ON: the record has been modified and registry was not notified.\nNo change will be active until this flag is set to false via proper action.\n\nOFF: record in line with the registry, nothing to do.'
Public methods (2)
  • unlink(self)
  • write(self, vals)

New fields (0)

No new fields.

Public methods (1)
  • routing_map(cls, key=None)
    @tools.ormcache('key', 'cls._endpoint_route_last_version()', cache='routing')
REPOSITORY
REPOSITORYOCA/web-api
GIT
GIThttps://github.com/OCA/web-api.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/web-api/tree/17.0/endpoint_route_handler
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSPedro M. Baeza, Weblate, OCA-git-bot, Quentin Groulard, oca-ci, chien
WEBSITE
WEBSITEhttps://github.com/OCA/web-api
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:04
ODOO DEPENDENCIES
ODOO DEPENDENCIES
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Technical module that provides a base handler for adding and removing
controller routes on the fly.

Can be used as a mixin or as a tool.

Code Analysis

Views touched (0)

No views found for this module.

HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (9)
  • auth_type Selection
    default='user_endpoint' selection='_selection_auth_type'
  • csrf Boolean
    default=False
  • endpoint_hash Char
    compute='_compute_endpoint_hash' help='Identify the route with its main params'
  • name Char
    required=True
  • request_content_type Selection
    selection='_selection_request_content_type'
  • request_method Selection
    required=True selection='_selection_request_method'
  • route Char
    compute='_compute_route' copy=False index=True inverse='_inverse_route' readonly=False required=True store=True
  • route_group Char
    help='Use this to classify routes together'
  • route_type Selection
    default='http' selection='_selection_route_type'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • new(self, values=None, origin=None, ref=None)
    @api.model

New fields (2)
  • active Boolean
    default=True
  • registry_sync Boolean
    copy=False default=False help='ON: the record has been modified and registry was not notified.\nNo change will be active until this flag is set to false via proper action.\n\nOFF: record in line with the registry, nothing to do.'
Public methods (2)
  • unlink(self)
  • write(self, vals)

New fields (0)

No new fields.

Public methods (1)
  • routing_map(cls, key=None)
    @tools.ormcache('key', 'cls._endpoint_route_last_version()', cache='routing')
REPOSITORY
REPOSITORYOCA/web-api
GIT
GIThttps://github.com/OCA/web-api.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/web-api/tree/16.0/endpoint_route_handler
VERSION
VERSION 1.1.2
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, Simone Orsi, oca-ci, OriolMForgeFlow, Florian Mounier
WEBSITE
WEBSITEhttps://github.com/OCA/web-api
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:43
ODOO DEPENDENCIES
ODOO DEPENDENCIES
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views found for this module.

HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (9)
  • auth_type Selection
    default='user_endpoint' selection='_selection_auth_type'
  • csrf Boolean
    default=False
  • endpoint_hash Char
    compute='_compute_endpoint_hash' help='Identify the route with its main params'
  • name Char
    required=True
  • request_content_type Selection
    selection='_selection_request_content_type'
  • request_method Selection
    required=True selection='_selection_request_method'
  • route Char
    compute='_compute_route' copy=False index=True inverse='_inverse_route' readonly=False required=True store=True
  • route_group Char
    help='Use this to classify routes together'
  • route_type Selection
    default='http' selection='_selection_route_type'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • new(self, values=None, origin=None, ref=None)
    @api.model

New fields (2)
  • active Boolean
    default=True
  • registry_sync Boolean
    copy=False default=False help='ON: the record has been modified and registry was not notified.\nNo change will be active until this flag is set to false via proper action.\n\nOFF: record in line with the registry, nothing to do.'
Public methods (2)
  • unlink(self)
  • write(self, vals)

New fields (0)

No new fields.

Public methods (1)
  • routing_map(cls, key=None)
    @classmethod
REPOSITORY
REPOSITORYOCA/web-api
GIT
GIThttps://github.com/OCA/web-api.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/web-api/tree/14.0/endpoint_route_handler
VERSION
VERSION 2.1.1
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, Simone Orsi, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/web-api
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:55
ODOO DEPENDENCIES
ODOO DEPENDENCIES
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views found for this module.

HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (9)
  • auth_type Selection
    default='user_endpoint' selection='_selection_auth_type'
  • csrf Boolean
    default=False
  • endpoint_hash Char
    compute='_compute_endpoint_hash' help='Identify the route with its main params'
  • name Char
    required=True
  • request_content_type Selection
    selection='_selection_request_content_type'
  • request_method Selection
    required=True selection='_selection_request_method'
  • route Char
    compute='_compute_route' copy=False index=True inverse='_inverse_route' readonly=False required=True store=True
  • route_group Char
    help='Use this to classify routes together'
  • route_type Selection
    default='http' selection='_selection_route_type'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • new(self, values=None, origin=None, ref=None)
    @api.model

New fields (2)
  • active Boolean
    default=True
  • registry_sync Boolean
    copy=False default=False help='ON: the record has been modified and registry was not notified.\nNo change will be active until this flag is set to false via proper action.\n\nOFF: record in line with the registry, nothing to do.'
Public methods (2)
  • unlink(self)
  • write(self, vals)

New fields (0)

No new fields.

Public methods (1)
  • routing_map(cls, key=None)
    @classmethod