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
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/PandaDoc/pandadoc-api-python-client.git`)
16
+
(you may need to run `pip` with root permission: `sudo pip install pandadoc-python-client`)
17
17
18
18
Then import the package:
19
19
```python
@@ -55,18 +55,17 @@ with pandadoc_client.ApiClient(cfg) as api_client:
-**read+write**: Use `read+write` to create, send, delete, and download documents, and `read` to view templates and document details.
65
64
66
65
## Examples
67
66
68
-
-[Create and send document from a template](examples/create_from_template_and_send.py)
69
-
-[Create and send document from the pdf url](examples/create_from_pdf_by_url_and_send.py)
67
+
-[Create and send document from a template](https://github.com/PandaDoc/pandadoc-api-python-client/blob/main/examples/create_from_template_and_send.py)
68
+
-[Create and send document from the pdf url](https://github.com/PandaDoc/pandadoc-api-python-client/blob/main/examples/create_from_pdf_by_url_and_send.py)
Copy file name to clipboardExpand all lines: docs/APILogDetailsResponse.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,6 @@ Name | Type | Description | Notes
22
22
**user_id** | **str** | | [optional]
23
23
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
24
24
25
-
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
25
+
[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
9
9
10
-
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
10
+
[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
Copy file name to clipboardExpand all lines: docs/APILogListResponseResults.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,6 @@ Name | Type | Description | Notes
11
11
**response_time** | **str** | | [optional]
12
12
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
13
13
14
-
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
14
+
[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
# example passing only required values which don't have defaults set
59
57
try:
@@ -64,7 +62,6 @@ with pandadoc_client.ApiClient(configuration) as api_client:
64
62
print("Exception when calling APILogsApi->details_api_log: %s\n"% e)
65
63
```
66
64
67
-
68
65
### Parameters
69
66
70
67
Name | Type | Description | Notes
@@ -94,7 +91,7 @@ Name | Type | Description | Notes
94
91
**404** | Not found | - |
95
92
**429** | Too Many Requests | - |
96
93
97
-
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
94
+
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
98
95
99
96
# **list_api_logs**
100
97
> APILogListResponse list_api_logs()
@@ -109,15 +106,15 @@ Get the list of all logs within the selected workspace. Optionally filter by dat
109
106
* OAuth Authentication (oauth2):
110
107
111
108
```python
112
-
import time
113
109
import pandadoc_client
114
110
from pandadoc_client.api import api_logs_api
115
111
from pandadoc_client.model.api_log_list_response import APILogListResponse
116
112
from pprint import pprint
113
+
117
114
# Defining the host is optional and defaults to https://api.pandadoc.com
118
115
# See configuration.py for a list of all supported configuration parameters.
119
116
configuration = pandadoc_client.Configuration(
120
-
host="https://api.pandadoc.com"
117
+
host="https://api.pandadoc.com",
121
118
)
122
119
123
120
# The client must configure the authentication and authorization parameters
since ="since_example"# str | Determines a point in time from which logs should be fetched. Either a specific ISO 8601 datetime or a relative identifier such as \"-90d\" (for past 90 days). (optional)
145
-
to ="to_example"# str | Determines a point in time from which logs should be fetched. Either a specific ISO 8601 datetime or a relative identifier such as \"-10d\" (for past 10 days) or a special \"now\" value. (optional)
146
-
count =1# int | The amount of items on each page. (optional)
147
-
page =1# int | Page number of the results returned. (optional)
148
-
statuses = [
149
-
100,
150
-
] # [int] | Returns only the predefined status codes. Allows 1xx, 2xx, 3xx, 4xx, and 5xx. (optional)
151
-
methods = [
152
-
"GET",
153
-
] # [str] | Returns only the predefined HTTP methods. Allows GET, POST, PUT, PATCH, and DELETE. (optional)
154
-
search ="search_example"# str | Returns the results containing a string. (optional)
155
-
environment_type ="PRODUCTION"# str | Returns logs for production/sandbox. (optional)
139
+
since ="-7d"# str | Determines a point in time from which logs should be fetched. Either a specific ISO 8601 datetime or a relative identifier such as \"-90d\" (for past 90 days). (optional)
140
+
to ="now"# str | Determines a point in time from which logs should be fetched. Either a specific ISO 8601 datetime or a relative identifier such as \"-10d\" (for past 10 days) or a special \"now\" value. (optional)
141
+
count =10# int | The amount of items on each page. (optional)
142
+
page =1# int | Page number of the results returned. (optional)
143
+
statuses = [400,500] # [int] | Returns only the predefined status codes. Allows 1xx, 2xx, 3xx, 4xx, and 5xx. (optional)
144
+
methods = ["GET","POST"] # [str] | Returns only the predefined HTTP methods. Allows GET, POST, PUT, PATCH, and DELETE. (optional)
145
+
search ="documents/hryJY9mqYZHjQCYQuSjRQg/send"# str | Returns the results containing a string. (optional)
146
+
environment_type ="PRODUCTION"# str | Returns logs for production/sandbox. (optional)
156
147
157
148
# example passing only required values which don't have defaults set
print("Exception when calling APILogsApi->list_api_logs: %s\n"% e)
165
165
```
166
166
167
-
168
167
### Parameters
169
168
170
169
Name | Type | Description | Notes
@@ -201,5 +200,5 @@ Name | Type | Description | Notes
201
200
**401** | Authentication error | - |
202
201
**429** | Too Many Requests | - |
203
202
204
-
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
203
+
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
18
+
19
+
[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
19
+
20
+
[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
0 commit comments