You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
2.8 KiB

  1. ================
  2. Easy My Coop API
  3. ================
  4. .. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  5. !! This file is generated by oca-gen-addon-readme !!
  6. !! changes will be overwritten. !!
  7. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  8. .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
  9. :target: https://odoo-community.org/page/development-status
  10. :alt: Beta
  11. .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
  12. :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
  13. :alt: License: AGPL-3
  14. .. |badge3| image:: https://img.shields.io/badge/github-coopiteasy%2Fvertical--cooperative-lightgray.png?logo=github
  15. :target: https://github.com/coopiteasy/vertical-cooperative/tree/12.0/easy_my_coop_api
  16. :alt: coopiteasy/vertical-cooperative
  17. |badge1| |badge2| |badge3|
  18. Open Easy My Coop to the world: RESTful API.
  19. **Table of contents**
  20. .. contents::
  21. :local:
  22. Usage
  23. =====
  24. To give access to the API to a structure, go to
  25. - Settings > Technical (debug mode) > Auth API Key
  26. - click create and select a user, save.
  27. - communicate the API-KEY to the structure.
  28. It is recommended to create a technical user for the structure belonging to the group "Easy My Coop User".
  29. For example, for the structure Coop IT Easy, create partner with
  30. - name = coopiteasy-api-user
  31. - Application Accesses = Cooperative Management / User
  32. - Platform Structure = Coop IT Easy
  33. Known issues / Roadmap
  34. ======================
  35. The API should generate and use an external id for records instead
  36. of odoo's generated id. It would make importing and export data as
  37. well as migrating across versions easier.
  38. One way would be to use uuid but the default BaseRESTController
  39. routes would need to be rewritten: they only take integer as ids.
  40. Another way is to define a sequence per model.
  41. Bug Tracker
  42. ===========
  43. Bugs are tracked on `GitHub Issues <https://github.com/coopiteasy/vertical-cooperative/issues>`_.
  44. In case of trouble, please check there if your issue has already been reported.
  45. If you spotted it first, help us smashing it by providing a detailed and welcomed
  46. `feedback <https://github.com/coopiteasy/vertical-cooperative/issues/new?body=module:%20easy_my_coop_api%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
  47. Do not contact contributors directly about support or help with technical issues.
  48. Credits
  49. =======
  50. Authors
  51. ~~~~~~~
  52. * Coop IT Easy SCRLfs
  53. Contributors
  54. ~~~~~~~~~~~~
  55. * Coop IT Easy SCRLfs
  56. * Robin Keunen <robin@coopiteasy.be>
  57. Maintainers
  58. ~~~~~~~~~~~
  59. This module is part of the `coopiteasy/vertical-cooperative <https://github.com/coopiteasy/vertical-cooperative/tree/12.0/easy_my_coop_api>`_ project on GitHub.
  60. You are welcome to contribute.