Skip to Content
Menu

Smile API Rest

by
Odoo
v 14.0 Third Party 1775
Download for v 14.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 1333
Technical Name smile_api_rest
LicenseAGPL-3
Websitehttps://www.smile.eu
Versions 10.0 11.0 14.0 15.0
You bought this module and need support? Click here!

Smile-SA/odoo_addons

Smile API Rest

This module provisions you with an API which allows you to access models through HTTP requests.

Documentation generate with Swagger OpenAPI Specification - Version 2.0 (https://swagger.io/specification/v2/)

Table of contents

Requirements

There are no requirements to use this module.

Usage

Documentation URIs

URI Description
/<api-docs>/v<api_version> API Documentation (generate with swagger)
/<api-docs>/v<api_version>/swagger.json Json Swagger

API URIs

URI Method Description
/<api>/v<api_version>/<api_name> GET Read all (with optional domain, fields, offset, limit, order)
/api/v<api_version>/<api_name>/<id> GET Read one (with optional fields)
/api/v<api_version>/<api_name> POST Create a record
/api/v<api_version>/<api_name>/<id> PUT Update a record
/api/v<api_version>/<api_name>/<id> DELETE Delete a record
/api/v<api_version>/<api_name>/custom PUT Call method (with optional parameters)
/api/v<api_version>/<api_name>/custom/<id> PUT Call method on record (with optional parameters)

Error response

{
    'code': <code>  # Error code,
    'error': <error>  # Error name,
    'description': <description>  # Description of the error,
}

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback here.

Do not contact contributors directly about support or help with technical issues.

Credits

Contributors

  • Corentin POUHET-BRUNERIE
  • Julien DRECQ

Maintainer

This module is maintained by Smile SA.

Since 1991 Smile has been a pioneer of technology and also the European expert in open source solutions.

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, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.