# G2P Registry: Rest API Extension Demo

### Module name

g2p\_registry\_rest\_api\_extension\_demo

### Module title

G2P Registry: Rest API Extension Demo

### Technology base

Odoo

### Functionality

* Developed for educational and demonstration purposes to illustrate how to extend the OpenG2P Registry REST API.
* Showcases the integration of the ***extendable-pydantic*** and ***pydantic*** Python libraries.
* Requires the ***g2p\_registry\_rest\_api*** module for leveraging and extending the existing REST API infrastructure.

### Design notes

* NA

### Relationships with other entities

**Dependencies**

* Module dependencies
  * base
  * g2p\_registry\_rest\_api
* External Python Dependencies
  * extendable-pydantic
  * pydantic==1.10.10

### User interface

* NA

### Configuration

NA

### Source code

<https://github.com/OpenG2P/openg2p-registry/tree/15.0-develop/g2p_registry_rest_api_extension_demo>

### Installation

* Ensure that the required modules and external Python dependencies are installed.
* Install the "G2P Registry: Rest API Extension Demo" module from the Odoo Apps interface.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.openg2p.org/1.3/pbms/developer-zone/odoo-modules/g2p-registry-rest-api-extension-demo.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
