All URIs are relative to https://localhost:8180/v1
Method | HTTP request | Description |
---|---|---|
delete_package | DELETE /packages/{id} | Deletes a package. |
receive_package | POST /packages | Receives a package. |
delete_package(id)
Deletes a package.
Deletes the package that matches with a given ID.
from __future__ import print_statement
import time
import epm_client
from epm_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = epm_client.PackageApi()
id = 'id_example' # str | ID of Package
try:
# Deletes a package.
api_instance.delete_package(id)
except ApiException as e:
print("Exception when calling PackageApi->delete_package: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | ID of Package |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResourceGroup receive_package(file)
Receives a package.
Receives a package so that it can be forwarded to the correct environment.
from __future__ import print_statement
import time
import epm_client
from epm_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = epm_client.PackageApi()
file = '/path/to/file.txt' # file | Package in a multipart form
try:
# Receives a package.
api_response = api_instance.receive_package(file)
pprint(api_response)
except ApiException as e:
print("Exception when calling PackageApi->receive_package: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
file | file | Package in a multipart form |
No authorization required
- Content-Type: multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]