- Archived 'aether_sql_tables' and 'legacy_router_logs' to documentation/archive/. - Static schema documentation is now superseded by the 'ae_obj_info' MCP tool and shared agents_sync metadata.
77 lines
1.1 KiB
Markdown
77 lines
1.1 KiB
Markdown
# Router: address
|
|
|
|
**File:** app/routers/address.py
|
|
|
|
**Routes found:** 5
|
|
|
|
**Functions:** 0 —
|
|
|
|
**Classes:** 0 —
|
|
|
|
|
|
|
|
## Routes
|
|
|
|
- **PATCH** `/{address_obj_id}`
|
|
|
|
- **PATCH** `/{address_id}/json`
|
|
|
|
- **GET** `/list`
|
|
|
|
- **GET** `/{obj_id}`
|
|
|
|
- **DELETE** `/{obj_id}`
|
|
|
|
|
|
|
|
## From-imports
|
|
|
|
- app.config
|
|
|
|
- app.db_sql
|
|
|
|
- app.lib_general
|
|
|
|
- app.methods.address_methods
|
|
|
|
- app.models.address_models
|
|
|
|
- app.models.response_models
|
|
|
|
- app.routers.api_crud
|
|
|
|
- fastapi
|
|
|
|
- pydantic
|
|
|
|
- typing
|
|
|
|
|
|
|
|
## File preview (first 20 lines)
|
|
|
|
```python
|
|
|
|
import datetime
|
|
from fastapi import APIRouter, Body, Depends, Header, HTTPException, Path, Query, Response, status
|
|
from pydantic import BaseModel, EmailStr, Field
|
|
from typing import Dict, List, Optional, Set, Union
|
|
|
|
from app.lib_general import log, logging
|
|
from app.config import settings
|
|
from app.db_sql import *
|
|
|
|
from app.routers.api_crud import delete_obj_template, get_obj_template, get_obj_li_template, patch_obj_template, post_obj_template
|
|
|
|
from app.methods.address_methods import load_address_obj, update_address_obj
|
|
|
|
from app.models.address_models import Address_Base
|
|
from app.models.response_models import *
|
|
|
|
|
|
router = APIRouter()
|
|
|
|
|
|
|
|
```
|