Closed davitjnz closed 2 years ago
After all data is imputed on taxonomy-params page, API call needs to be added to /create_monitor.
After monitor is been created application needs to navigate to /taxonomy route, with monitor_id as query parameter.
class AccountReques(BaseModel): title: str platform: Platform platform_id: str
class PostMonitor(BaseModel): title: str descr: str date_from: datetime date_to: Optional[datetime] search_terms: List[str] accounts: List[AccountReques] platforms: Optional[List[Platform]]
After all data is imputed on taxonomy-params page, API call needs to be added to /create_monitor.
After monitor is been created application needs to navigate to /taxonomy route, with monitor_id as query parameter.
class AccountReques(BaseModel): title: str platform: Platform platform_id: str
class PostMonitor(BaseModel): title: str descr: str date_from: datetime date_to: Optional[datetime] search_terms: List[str] accounts: List[AccountReques] platforms: Optional[List[Platform]]