TIP: You can type at any time to perform a new search.
Endpoint
endpoint · OCA/web-api
- Repository
- OCA/web-api · module folder · Try on Runboat
- Module version
- 1.2.0
- Category
- Uncategorized
- Folder size
- 0.14 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/web-api
- Last tracking update
- 2026-08-07 09:06:33
- Authors
- Camptocamp, Odoo Community Association (OCA)
- Maintainers
- Camptocamp, Odoo Community Association (OCA)
- Committers
- Iván Todorovich, Weblate, OCA-git-bot, oca-ci, AlexGarS73
- Odoo dependencies
- Python dependencies
- PyYAML, jsonschema
- System dependencies
- None
- Required by
- edi_endpoint_oca, endpoint_auth_api_key
- Description
Provide an endpoint framework allowing users to define their own custom endpoint. Thanks to endpoint mixin the endpoint records are automatically registered as real Odoo routes. You can easily code what you want in the code snippet. NOTE: for security reasons any kind of RPC call is blocked on endpoint records.
Code Analysis ⓘ
Views touched (6)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
endpoint_endpoint_form_view |
endpoint.endpoint.form | endpoint.endpoint | form | Inherits endpoint.endpoint_mixin_form_view |
endpoint_endpoint_search_view |
endpoint.endpoint.search | endpoint.endpoint | search | Inherits endpoint.endpoint_mixin_search_view |
endpoint_endpoint_tree_view |
endpoint.endpoint.list | endpoint.endpoint | list | Inherits endpoint.endpoint_mixin_list_view |
endpoint_mixin_form_view |
endpoint.mixin.form | endpoint.mixin | form | New |
endpoint_mixin_list_view |
endpoint.mixin.list | endpoint.mixin | list | New |
endpoint_mixin_search_view |
endpoint.mixin.search | endpoint.mixin | search | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (7)
-
code_snippetText -
code_snippet_docsTextcompute='_compute_code_snippet_docs'default=<expr> -
company_idMany2one → res.companystring='Company' args: 'res.company' -
exec_as_user_idMany2one → res.userscomodel_name='res.users' -
exec_modeSelectionrequired=Trueselection='_selection_exec_mode' -
request_content_schemaTexthelp="Optional schema validated against the parsed request body. The accepted format depends on 'Request content type':\n - application/json: JSON Schema (Draft 2020-12), as YAML or JSON\n - application/xml, text/xml: XML Schema (XSD)\nIf empty, no validation runs." -
request_content_schema_applicableBooleancompute='_compute_request_content_schema_applicable'
-
copy_data(self, default=None)
Loading…
Loading…
Loading…
Loading…