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
Copy file name to clipboardExpand all lines: docs/PermissionApi.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ check api
22
22
23
23
```python
24
24
import permify
25
-
from permify.models.permission_check_bodyimportPermissionCheckBody
25
+
from permify.models.check_bodyimportCheckBody
26
26
from permify.models.permission_check_response import PermissionCheckResponse
27
27
from permify.rest import ApiException
28
28
from pprint import pprint
@@ -39,7 +39,7 @@ with permify.ApiClient(configuration) as api_client:
39
39
# Create an instance of the API class
40
40
api_instance = permify.PermissionApi(api_client)
41
41
tenant_id ='tenant_id_example'# str | Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant <code>t1</code> for this field. Required, and must match the pattern \\“[a-zA-Z0-9-,]+\\“, max 64 bytes.
42
-
body = permify.PermissionCheckBody() #PermissionCheckBody |
42
+
body = permify.CheckBody() #CheckBody |
43
43
44
44
try:
45
45
# check api
@@ -58,7 +58,7 @@ with permify.ApiClient(configuration) as api_client:
**tenant_id** | **str**| Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant <code>t1</code> for this field. Required, and must match the pattern \\“[a-zA-Z0-9-,]+\\“, max 64 bytes. |
tenant_id: Annotated[StrictStr, Field(description="Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant <code>t1</code> for this field. Required, and must match the pattern \\“[a-zA-Z0-9-,]+\\“, max 64 bytes.")],
57
-
body: PermissionCheckBody,
57
+
body: CheckBody,
58
58
_request_timeout: Union[
59
59
None,
60
60
Annotated[StrictFloat, Field(gt=0)],
@@ -74,7 +74,7 @@ def permissions_check(
74
74
:param tenant_id: Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant <code>t1</code> for this field. Required, and must match the pattern \\“[a-zA-Z0-9-,]+\\“, max 64 bytes. (required)
75
75
:type tenant_id: str
76
76
:param body: (required)
77
-
:type body: PermissionCheckBody
77
+
:type body: CheckBody
78
78
:param _request_timeout: timeout setting for this request. If one
79
79
number provided, it will be total request
80
80
timeout. It can also be a pair (tuple) of
@@ -124,7 +124,7 @@ def permissions_check(
124
124
defpermissions_check_with_http_info(
125
125
self,
126
126
tenant_id: Annotated[StrictStr, Field(description="Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant <code>t1</code> for this field. Required, and must match the pattern \\“[a-zA-Z0-9-,]+\\“, max 64 bytes.")],
:param tenant_id: Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant <code>t1</code> for this field. Required, and must match the pattern \\“[a-zA-Z0-9-,]+\\“, max 64 bytes. (required)
145
145
:type tenant_id: str
146
146
:param body: (required)
147
-
:type body: PermissionCheckBody
147
+
:type body: CheckBody
148
148
:param _request_timeout: timeout setting for this request. If one
tenant_id: Annotated[StrictStr, Field(description="Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant <code>t1</code> for this field. Required, and must match the pattern \\“[a-zA-Z0-9-,]+\\“, max 64 bytes.")],
:param tenant_id: Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant <code>t1</code> for this field. Required, and must match the pattern \\“[a-zA-Z0-9-,]+\\“, max 64 bytes. (required)
215
215
:type tenant_id: str
216
216
:param body: (required)
217
-
:type body: PermissionCheckBody
217
+
:type body: CheckBody
218
218
:param _request_timeout: timeout setting for this request. If one
0 commit comments