Open Cooperators to the world: RESTful API.
Project description
Open Cooperators to the world: RESTful API.
Table of contents
Usage
To give access to the API to a structure, go to
Settings > Technical (debug mode) > Auth API Key
click create and select a user, save.
communicate the API-KEY to the structure.
It is recommended to create a technical user for the structure belonging to the group “Cooperators User”. For example, for the structure Coop IT Easy, create partner with
name = coopiteasy-api-user
Application Accesses = Cooperative Management / User
Platform Structure = Coop IT Easy
Known issues / Roadmap
The API should generate and use an external id for records instead of odoo’s generated id. It would make importing and export data as well as migrating across versions easier.
One way would be to use uuid but the default BaseRESTController routes would need to be rewritten: they only take integer as ids. Another way is to define a sequence per model.
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.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Coop IT Easy SC
Robin Keunen <robin@coopiteasy.be>
Maintainers
This module is part of the coopiteasy/vertical-cooperative project on GitHub.
You are welcome to contribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file odoo12-addon-cooperator_api-12.0.2.0.0.99.dev7.tar.gz
.
File metadata
- Download URL: odoo12-addon-cooperator_api-12.0.2.0.0.99.dev7.tar.gz
- Upload date:
- Size: 24.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bb7cbe67c2fe3ada737e2e6c0aecfa898ffa03f4cdfbae1d8afdafa86e7b321 |
|
MD5 | dab271c219481c50a5fc38e5fb83872f |
|
BLAKE2b-256 | 47c4d4afd1ab4e95f2ded783929f07df9c8341ddaab4698eb7f7d63c7fa82351 |
File details
Details for the file odoo12_addon_cooperator_api-12.0.2.0.0.99.dev7-py2.py3-none-any.whl
.
File metadata
- Download URL: odoo12_addon_cooperator_api-12.0.2.0.0.99.dev7-py2.py3-none-any.whl
- Upload date:
- Size: 37.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c94f0ab329667fc21872ad9fddbe27794100c04204cba535de3f3af2568cc26f |
|
MD5 | 0211e9055a0db144fe3ab6fcdf8481b8 |
|
BLAKE2b-256 | eaabc17c0a77027a5c6a4501acf37bb87c8b1930833e986d92f84e756faa6977 |