This release is a pre-release and may not be stable for production use.
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.
Metadata
Release files for odoo12-addon-cooperator-api 12.0.2.0.0.99.dev7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| odoo12-addon-cooperator_api-12.0.2.0.0.99.dev7.tar.gz | 24.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| odoo12_addon_cooperator_api-12.0.2.0.0.99.dev7-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 61.4 kB
Release files / odoo12-addon-cooperator_api-12.0.2.0.0.99.dev7.tar.gz
| Download URL | odoo12-addon-cooperator_api-12.0.2.0.0.99.dev7.tar.gz |
|---|---|
| Size | 24.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5bb7cbe67c2fe3ada737e2e6c0aecfa898ffa03f4cdfbae1d8afdafa86e7b321
|
|
BLAKE2b-256 checksum How to use checksums |
47c4d4afd1ab4e95f2ded783929f07df9c8341ddaab4698eb7f7d63c7fa82351
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / odoo12_addon_cooperator_api-12.0.2.0.0.99.dev7-py2.py3-none-any.whl
| Download URL | odoo12_addon_cooperator_api-12.0.2.0.0.99.dev7-py2.py3-none-any.whl |
|---|---|
| Size | 37.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
c94f0ab329667fc21872ad9fddbe27794100c04204cba535de3f3af2568cc26f
|
|
BLAKE2b-256 checksum How to use checksums |
eaabc17c0a77027a5c6a4501acf37bb87c8b1930833e986d92f84e756faa6977
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|