6c86f0f571
- integrated request-module into module registry - moved backend into modules/request-module - added manifest.json and module.py - implemented dynamic router mounting - implemented dynamic static mounting - removed direct dependencies from platform core - verified startup with request-module - verified startup without request-module - added implementation_report_003.md
22 lines
527 B
Python
22 lines
527 B
Python
import json
|
|
import requests
|
|
|
|
API_KEY = 'B3526FC8-82CB-4798-92C8-22AF05F9A49F'
|
|
BASE_URL = 'https://support.atl-group.ru/api/v3'
|
|
|
|
import urllib3
|
|
urllib3.disable_warnings()
|
|
|
|
# Get notification content
|
|
url = f'{BASE_URL}/requests/24/notifications/323'
|
|
params = {
|
|
'TECHNICIAN_KEY': API_KEY,
|
|
'INPUT_DATA': json.dumps({'type': 'conversation'})
|
|
}
|
|
|
|
resp = requests.get(url, params=params, timeout=30, verify=False)
|
|
data = resp.json()
|
|
|
|
print('Notification response:')
|
|
print(json.dumps(data, indent=2, ensure_ascii=False)[:2000])
|