Skip to Content
Menu

API REST Connection

by
Odoo

101.00

v 16.0 Third Party
Live Preview
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Contacts (contacts)
Discuss (mail)
Lines of code 1551
Technical Name api_rest_connection
LicenseLGPL-3
Websitehttps://www.grupoyacck.com
Versions 16.0 17.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Contacts (contacts)
Discuss (mail)
Lines of code 1551
Technical Name api_rest_connection
LicenseLGPL-3
Websitehttps://www.grupoyacck.com
Versions 16.0 17.0

Fastest connection to REST API

Based on djangorestframework-simplejwt, provides a JSON Web Token authentication backend.

Requirements

  • Python (3.9, 3.10, 3.11)
  • PyJWT==2.9.0

Odoo Configuration

Odoo configuration is very simple. Just install the module and configure the API URL and API Key in the settings.

  • odoo.conf file add api_signing_key and api_signing_key
  • For Odoo installed on Docker or Kubernetes you can set the environment variable API_SIGNING_KEY and API_VERSION
  • You can also customize the parameters in the settings file controllers/settings.py for a more advanced configuration
  • Swagger Documentation url/api/version/doc example http://127.0.0.1:8069/api/v1/doc

Usage

Swagger (5.17.14) API Documentation

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.