G2P Registry: Rest API

Module name

g2p_registry_rest_api

Module title

G2P Registry: Rest API

Technology base

Odoo, RestAPI

Functionality

The g2p_registry_rest_api module is a crucial component of the G2P Registry system, offering robust functionality through a Restful API. This module empowers users to interact with the system by providing endpoints for creating and retrieving records efficiently. With the help of this API, users can seamlessly create new records and retrieve existing ones, streamlining data management processes within the G2P Registry. The REST API design ensures accessibility and ease of integration, allowing developers and applications to interact with the registry seamlessly. However, it's important to note that the module does not support file uploads, a limitation worth considering when utilising the API for data operations.

Design notes

  • What are salient design features?

  • Why were certain design decisions taken in a particular way?

  • Design patterns used.

  • Algorithms used.

  • Anything a developer should know about the design of this module.

  • Any scope for improvement and further design work that is pending.

Relationships with other entities

None

Dependencies

Module Dependencies

  • component

  • base_rest

  • pydantic

  • base_rest_pydantic

  • extendable

  • g2p_registry_individual

  • g2p_registry_group

  • base_rest_auth_user_service

External dependencies

  • pydantic==1.10.10

  • extendable-pydantic

User interface

Menu Added

  • REST API

Configuration

NA

Error codes

Source code

https://github.com/OpenG2P/openg2p-registry/tree/15.0-develop/g2p_registry_rest_api

Installation

Last updated

Logo

Copyright © OpenG2P. This work is licensed under Creative Common Attribution (CC-BY-4.0) International license unless otherwise noted.