51 lines
1.4 KiB
Markdown
51 lines
1.4 KiB
Markdown
# memos.WorkspaceServiceApi
|
|
|
|
All URIs are relative to */*
|
|
|
|
Method | HTTP request | Description
|
|
------------- | ------------- | -------------
|
|
[**workspace_service_get_workspace_profile**](WorkspaceServiceApi.md#workspace_service_get_workspace_profile) | **GET** /api/v1/workspace/profile | GetWorkspaceProfile returns the workspace profile.
|
|
|
|
# **workspace_service_get_workspace_profile**
|
|
> V1WorkspaceProfile workspace_service_get_workspace_profile()
|
|
|
|
GetWorkspaceProfile returns the workspace profile.
|
|
|
|
### Example
|
|
```python
|
|
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
|
|
|
|
[**V1WorkspaceProfile**](V1WorkspaceProfile.md)
|
|
|
|
### Authorization
|
|
|
|
No authorization required
|
|
|
|
### HTTP request headers
|
|
|
|
- **Content-Type**: Not defined
|
|
- **Accept**: application/json
|
|
|
|
[[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)
|
|
|