Skip to content

Commit 127aecb

Browse files
authored
Merge pull request #471 from TheHive-Project/446-review-query-endpoints
#446 - Review query endpoints
2 parents ae2b0cf + 361eceb commit 127aecb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

thehive4py/endpoints/query.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ class QueryEndpoint(EndpointBase):
77
def run(
88
self, query: typing.List[dict], exclude_fields: typing.List[str] = []
99
) -> typing.Any:
10+
"""Run any arbitrary queries using TheHive's Query API.
11+
12+
This method provides low level access to the Query API to be able to run
13+
any queries.
14+
More information on the supported features can be found
15+
[here](https://docs.strangebee.com/thehive/api-docs/#tag/Query-and-Export/operation/Query%20API).
16+
17+
"""
1018
return self._session.make_request(
1119
"POST",
1220
path="/api/v1/query",

0 commit comments

Comments
 (0)