Method | HTTP request | Description |
---|---|---|
all | GET /activity_spec | Get all ActivitySpecs registered. |
create | POST /activity_spec | Create a new ActivitySpec. |
delete | DELETE /activity_spec/{activity_spec_name} | Delete an ActivitySpec. |
update | PUT /activity_spec/{activity_spec_name} | Update an ActivitySpec. |
view | GET /activity_spec/{activity_spec_name} | View an ActivitySpec. |
[object] all()
Get all ActivitySpecs registered.
Get all ActivitySpecs registered.
- Api Key Authentication (Authorization):
import LAMP
from pprint import pprint
# Get all ActivitySpecs registered.
result = LAMP.ActivitySpec.all()
pprint(result)
Name | Type | Description | Notes |
---|---|---|---|
transform | str | [optional] |
[object]
- Content-Type: Not defined
- Accept:
application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 Success | - |
400 | 400 Bad Request | - |
403 | 403 Authorization Failed | - |
404 | 404 Not Found | - |
0 | 500 Internal Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str create(activity_spec)
Create a new ActivitySpec.
Create a new ActivitySpec.
- Api Key Authentication (Authorization):
import LAMP
from pprint import pprint
activity_spec = LAMP.ActivitySpec() # ActivitySpec |
# Create a new ActivitySpec.
result = LAMP.ActivitySpec.create(activity_spec)
pprint(result)
Name | Type | Description | Notes |
---|---|---|---|
activity_spec | ActivitySpec |
str
- Content-Type:
application/json
- Accept:
application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 Success | - |
400 | 400 Bad Request | - |
403 | 403 Authorization Failed | - |
404 | 404 Not Found | - |
0 | 500 Internal Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str delete(activity_spec_name)
Delete an ActivitySpec.
Delete an ActivitySpec.
- Api Key Authentication (Authorization):
import LAMP
from pprint import pprint
activity_spec_name = 'activity_spec_name_example' # str
# Delete an ActivitySpec.
result = LAMP.ActivitySpec.delete(activity_spec_name)
pprint(result)
Name | Type | Description | Notes |
---|---|---|---|
activity_spec_name | str |
str
- Content-Type: Not defined
- Accept:
application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 Success | - |
400 | 400 Bad Request | - |
403 | 403 Authorization Failed | - |
404 | 404 Not Found | - |
0 | 500 Internal Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str update(activity_spec_name, activity_spec)
Update an ActivitySpec.
Update an ActivitySpec.
- Api Key Authentication (Authorization):
import LAMP
from pprint import pprint
activity_spec_name = 'activity_spec_name_example' # str
activity_spec = LAMP.ActivitySpec() # ActivitySpec
# Update an ActivitySpec.
result = LAMP.ActivitySpec.update(activity_spec_name, activity_spec)
pprint(result)
Name | Type | Description | Notes |
---|---|---|---|
activity_spec_name | str | ||
activity_spec | ActivitySpec |
str
- Content-Type:
application/json
- Accept:
application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 Success | - |
400 | 400 Bad Request | - |
403 | 403 Authorization Failed | - |
404 | 404 Not Found | - |
0 | 500 Internal Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str view(activity_spec_name)
View an ActivitySpec.
View an ActivitySpec.
- Api Key Authentication (Authorization):
import LAMP
from pprint import pprint
activity_spec_name = 'activity_spec_name_example' # str
# View an ActivitySpec.
result = LAMP.ActivitySpec.view(activity_spec_name)
pprint(result)
Name | Type | Description | Notes |
---|---|---|---|
activity_spec_name | str | ||
transform | str | [optional] |
str
- Content-Type: Not defined
- Accept:
application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 Success | - |
400 | 400 Bad Request | - |
403 | 403 Authorization Failed | - |
404 | 404 Not Found | - |
0 | 500 Internal Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]