Smile API Rest

by
Odoo
v 15.0 Third Party 1652
Download for v 15.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 1331
Technical Name smile_api_rest
LicenseAGPL-3
Websitehttps://www.smile.eu
Versions 11.0 10.0 15.0 14.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.
There are no ratings yet!
v17
by
Ozonlayer
on 3/15/24, 5:29 PM

Hello,

Thanks for sharing Smile API Rest

i like to know, is Smile API Rest, available in v17 enterprise?

if not when it will be ready?

thanks

Re: v17
by
Smile
on 3/18/24, 3:52 AM Author

Hi, we don't plan to migrate this module. We will use fastapi module instead.


CORS ISSUE
by
Jeffry Jesus De La Rosa
on 3/21/22, 11:06 PM

Hi Iam having CORS issue, I change to NGINX, add headers, but nothing is working because of course.