# Organization

## Overview

The Organization registry service stores organization-related data. It allows create, update or search of organizations.

## API Specification

**Base Path:** /org-services/organisation

Raw API spec resides [here](https://raw.githubusercontent.com/egovernments/DIGIT-Works/master/backend/organisation/Organisation_V1.0_OAS3_final.yaml).&#x20;

### API Contract&#x20;

Click below to view the specs in the Swagger editor.

{% embed url="<https://editor.swagger.io/?url=https://raw.githubusercontent.com/egovernments/DIGIT-Works/master/backend/organisation/Organisation_V1.0_OAS3_final.yaml>" %}

## Data Model

### DB Schema

<figure><img src="https://github.com/egovernments/DIGIT-Works/blob/master/backend/organisation/docs/diagrams/Oraganisation%20Service%20-%20DB%20Schema.png?raw=true" alt=""><figcaption></figcaption></figure>

### Sequence Diagrams

To be added.


---

# 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.digit.org/works/platform/architecture/low-level-design/registries/organization.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.
