diff --git a/src/content/docs/docs/public-api/endpoints.mdx b/src/content/docs/docs/public-api/endpoints.mdx index 39f1070a..9f4a9d5a 100644 --- a/src/content/docs/docs/public-api/endpoints.mdx +++ b/src/content/docs/docs/public-api/endpoints.mdx @@ -211,7 +211,6 @@ Query Parameters: interface StatsQuery { from: Date to: Date - graph?: 'mau' | 'storage' | 'bandwidth' } ``` @@ -225,8 +224,6 @@ interface Stats { } ``` -If `graph` parameter is provided, returns an SVG image visualization of the requested metric. - ### GET /statistics/user Retrieve aggregated statistics across all organizations the user has access to. @@ -236,12 +233,10 @@ Query Parameters: interface StatsQuery { from: Date to: Date - graph?: 'mau' | 'storage' | 'bandwidth' } ``` Returns: -If `graph` is not provided: ```typescript interface Stats { date: string @@ -251,8 +246,6 @@ interface Stats { }[] ``` -If `graph` parameter is provided, returns an SVG image visualization of the requested metric. - ### GET /statistics/org/:org_id Retrieve statistics for a specific organization. @@ -262,12 +255,10 @@ Query Parameters: interface StatsQuery { from: Date to: Date - graph?: 'mau' | 'storage' | 'bandwidth' } ``` Returns: -If `graph` is not provided: ```typescript interface Stats { date: string @@ -277,7 +268,6 @@ interface Stats { }[] ``` -If `graph` parameter is provided, returns an SVG image visualization of the requested metric. ## Channels