1.5 KiB
1.5 KiB
memos.WorkspaceServiceApi
All URIs are relative to /
| Method | HTTP request | Description |
|---|---|---|
| workspace_service_get_workspace_profile | GET /api/v2/workspace/profile | GetWorkspaceProfile returns the workspace profile. |
workspace_service_get_workspace_profile
V2GetWorkspaceProfileResponse workspace_service_get_workspace_profile()
GetWorkspaceProfile returns the workspace profile.
Example
from __future__ import print_function
import time
import memos
from memos.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = memos.WorkspaceServiceApi()
try:
# GetWorkspaceProfile returns the workspace profile.
api_response = api_instance.workspace_service_get_workspace_profile()
pprint(api_response)
except ApiException as e:
print("Exception when calling WorkspaceServiceApi->workspace_service_get_workspace_profile: %s\n" % e)
Parameters
This endpoint does not need any parameter.
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]