Skip to content

Latest commit

 

History

History
 
 

cooperator_api

Cooperators API

Beta License: AGPL-3 coopiteasy/vertical-cooperative

Open Cooperators to the world: RESTful API.

Table of contents

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

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.

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.

  • Coop IT Easy SC

This module is part of the coopiteasy/vertical-cooperative project on GitHub.

You are welcome to contribute.