You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`INCLUDE_INFO`: Returns basic information that might be relevant for the queried request.
28
28
-`TOKEN`: Your API token, if already existent. (`[Your Username]` > `[Create API Token]`). If left empty, the API will use the username and password for authentication to create an API token for you and will write it to your `.env`.
29
+
-`BEARER_AUTH`: Set to `true` to use Bearer Authentication as required as of v15 as stated in Technitium API Docs. If set to `false`, the client will append the token as a query parameter.
29
30
-`USE_POST`: Specify if you want to access the API via POST (`true`) instead of GET (`false`) in default.
30
31
-`USE_HTTPS`: Enable (`true`) HTTPS for the API connection. If your server does not support HTTPS, the API will simply return `false` to all requests.
Copy file name to clipboardExpand all lines: src/endpoints/dashboard/Stats.dashboard.php
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -14,11 +14,12 @@ public function __construct(\Technitium\DNSServer\API\API $api){
14
14
* @param string $utc True to return main chart with data labels in UTC date time format
15
15
* @param string $start start date for `custom` type. ISO 8601 format.
16
16
* @param string $end end date for `custom` type. ISO 8601 format.
17
+
* @param bool $dontTrimQueryTypeData (optional): Set to `true` to get full data for query type chart instead of top 10 entries. Default value is `false` when unspecified.
17
18
* @return array|bool Returns an result array or `false` otherwise.
* @param string $username The username of the new user.
55
+
* @param string $displayName The display name of the new user.
56
+
* @param string $ssoIdentifier The SSO identifier for the new user. This should match the identifier provided in the SSO token by the Identity Provider.
57
+
* @param array|null $groups An array of group names to assign to the user. This is optional and can be set later.
58
+
* @return bool Returns `true` if the user was created successfully, `false` otherwise.
0 commit comments