1.5 KiB
1.5 KiB
memos.ActivityServiceApi
All URIs are relative to /
| Method | HTTP request | Description |
|---|---|---|
| activity_service_get_activity | GET /v2/activities/{id} | GetActivity returns the activity with the given id. |
activity_service_get_activity
V2GetActivityResponse activity_service_get_activity(id)
GetActivity returns the activity with the given id.
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.ActivityServiceApi()
id = 56 # int |
try:
# GetActivity returns the activity with the given id.
api_response = api_instance.activity_service_get_activity(id)
pprint(api_response)
except ApiException as e:
print("Exception when calling ActivityServiceApi->activity_service_get_activity: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | int |
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]