{"openapi":"3.1.0","info":{"title":"My API","version":"2.6.9"},"paths":{"/":{"get":{"summary":"Root","description":"Returns ok status","operationId":"root__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/as":{"get":{"summary":"Autonomous System Number","description":"Returns AS Number for user IP.","operationId":"autonomous_system_number_as_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/as/prefixes":{"get":{"summary":"Autonomous System Number Prefixes","description":"Returns prefixes for user AS Number.","operationId":"autonomous_system_number_prefixes_as_prefixes_get","parameters":[{"name":"as_number","in":"query","required":true,"schema":{"type":"string","title":"As Number"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/as/prefixes/v4":{"get":{"summary":"Autonomous System Number Ipv4 Prefixes","description":"Returns IPv4 prefixes for user AS Number.","operationId":"autonomous_system_number_ipv4_prefixes_as_prefixes_v4_get","parameters":[{"name":"as_number","in":"query","required":true,"schema":{"type":"string","title":"As Number"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/as/prefixes/v6":{"get":{"summary":"Autonomous System Number Ipv6 Prefixes","description":"Returns IPv6 prefixes for user AS Number.","operationId":"autonomous_system_number_ipv6_prefixes_as_prefixes_v6_get","parameters":[{"name":"as_number","in":"query","required":true,"schema":{"type":"string","title":"As Number"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/as-info":{"get":{"summary":"Autonomous System Number Details","description":"Returns AS info for a given AS Number.","operationId":"autonomous_system_number_details_as_info_get","parameters":[{"name":"as_number","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"As Number"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dns":{"get":{"summary":"Get Dns Record","description":"Resolve the given hostname and return the DNS record for the specified type.\n\n:param hostname: The domain or hostname to resolve.\n:param record_type: The DNS record type (A, AAAA, CAA, CNAME, MX, NS, PTR, TXT).\n:return: JSON with the resolved DNS record(s) and the complete URL.","operationId":"get_dns_record_dns_get","parameters":[{"name":"hostname","in":"query","required":true,"schema":{"type":"string","title":"Hostname"}},{"name":"record_type","in":"query","required":false,"schema":{"type":"string","enum":["A","AAAA","CAA","CNAME","MX","NS","PTR","SOA","TXT"],"default":"A","title":"Record Type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/debug":{"get":{"summary":"Debug Information","description":"Returns the debug response containing URL, Method, Header, and Client.","operationId":"debug_information_debug_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/hostserver_info":{"get":{"summary":"Hostserver Info","description":"Returns information about the host server.","operationId":"hostserver_info_hostserver_info_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ip":{"get":{"summary":"Internet Protocol","description":"Returns the IP address of the client.","operationId":"internet_protocol_ip_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ip-info":{"get":{"summary":"Get Ip Info","description":"Returns IP info for user IP.","operationId":"get_ip_info_ip_info_get","parameters":[{"name":"ip","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/status":{"get":{"summary":"Status","description":"Returns ok status","operationId":"status_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Status","description":"Returns ok status","operationId":"status_status_head","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/version":{"get":{"summary":"Api Version","description":"Returns the version of the API.","operationId":"api_version_version_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/apprise/notify":{"post":{"summary":"Notify","description":"FastAPI endpoint to receive notification requests and send them using Apprise.\n\nThis asynchronous function takes a NotificationPayload object in the request body.\nIt first validates the payload against the NotificationPayload Pydantic model.\nIf the validation is successful, it calls the send_notification function to dispatch\nthe notification. If the notification fails to send, it raises an HTTPException\nwith a 500 status code.\n\nArgs:\n    payload (NotificationPayload): The notification details received in the request body.\n\nReturns:\n    dict: A JSON response indicating the status of the notification sending process.\n        Returns {\"message\": \"Notification sent successfully\"} if at least one\n        notification service successfully received the message.","operationId":"notify_apprise_notify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sourceforge_direct_links":{"get":{"summary":"Get Sourceforge Direct Links","description":"Returns the list of various SourceForge mirror server download links","operationId":"get_sourceforge_direct_links_sourceforge_direct_links_get","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","title":"Url"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sourceforge_mirrors":{"get":{"summary":"Get Sourceforge Mirrors","description":"Get the list of SourceForge mirrors","operationId":"get_sourceforge_mirrors_sourceforge_mirrors_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/speedtest_latest":{"get":{"summary":"Get Latest Speedtest Binaries","description":"Get the latest Ookla Speedtest CLI binaries","operationId":"get_latest_speedtest_binaries_speedtest_latest_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/clean_url":{"get":{"summary":"Clean Url","description":"Cleans a given URL by removing tracking parameters and/or the fragment.","operationId":"clean_url_clean_url_get","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","description":"The URL to clean","title":"Url"},"description":"The URL to clean"},{"name":"remove_fragment","in":"query","required":false,"schema":{"type":"boolean","description":"Whether to remove the URL fragment (e.g., #section)","default":true,"title":"Remove Fragment"},"description":"Whether to remove the URL fragment (e.g., #section)"},{"name":"remove_tracking_params","in":"query","required":false,"schema":{"type":"boolean","description":"Whether to remove common tracking parameters","default":true,"title":"Remove Tracking Params"},"description":"Whether to remove common tracking parameters"},{"name":"additional_params_to_remove","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma-separated list of additional parameters to remove","title":"Additional Params To Remove"},"description":"Comma-separated list of additional parameters to remove"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"NotificationPayload":{"properties":{"urls":{"items":{"type":"string"},"type":"array","title":"Urls"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"body":{"type":"string","title":"Body"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type","default":"info"},"format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Format","default":"text"}},"type":"object","required":["urls","body"],"title":"NotificationPayload","description":"Represents the payload structure for sending notifications.\n\nAttributes:\n    urls (List[str]): A list of Apprise URLs specifying the notification services to use.\n                    Each URL defines a target service (e.g., 'mailto://user:pass@example.com',\n                    'discord://webhook_id/webhook_token').\n    title (Optional[str]): An optional title for the notification. If provided, it will\n                        be included in the notification message. Defaults to None.\n    body (str): The main content or message of the notification. This is the text that\n                will be sent via the specified notification services.\n    type (Optional[str]): The type or severity level of the notification. Apprise supports\n                        'info', 'success', 'warning', and 'failure'. Defaults to 'info'.\n    format (Optional[str]): The format of the notification body. Apprise supports 'text'\n                        and 'markdown'. Defaults to 'text'."},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}