All URIs are relative to https://api.wall.et
| Method | HTTP request | Description |
|---|---|---|
| archive_image_grid | DELETE /v2/imageGrid/{id} | Archive image |
| create_image_grid | POST /v2/imageGrid | Create image |
| fetch_all_image_grid | GET /v2/imageGrid/all | Fetch all images |
| restore_image_grid | PATCH /v2/imageGrid/{id} | Restore image |
| update_image_grid | PUT /v2/imageGrid/{id} | Update image |
ImageGrid archive_image_grid(id)
Archive image
import wallet
from wallet.models.image_grid import ImageGrid
from wallet.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.wall.et
# See configuration.py for a list of all supported configuration parameters.
configuration = wallet.Configuration(
host = "https://api.wall.et"
)
# Enter a context with an instance of the API client
with wallet.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = wallet.ImageGridApi(api_client)
id = None # object |
try:
# Archive image
api_response = api_instance.archive_image_grid(id)
print("The response of ImageGridApi->archive_image_grid:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ImageGridApi->archive_image_grid: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | object |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Ok | - |
| 401 | Authentication Failed | - |
| 422 | Validation Failed | - |
| 500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ImageGrid create_image_grid(wt_image_grid_create_params)
Create image
import wallet
from wallet.models.image_grid import ImageGrid
from wallet.models.wt_image_grid_create_params import WTImageGridCreateParams
from wallet.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.wall.et
# See configuration.py for a list of all supported configuration parameters.
configuration = wallet.Configuration(
host = "https://api.wall.et"
)
# Enter a context with an instance of the API client
with wallet.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = wallet.ImageGridApi(api_client)
wt_image_grid_create_params = wallet.WTImageGridCreateParams() # WTImageGridCreateParams |
try:
# Create image
api_response = api_instance.create_image_grid(wt_image_grid_create_params)
print("The response of ImageGridApi->create_image_grid:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ImageGridApi->create_image_grid: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| wt_image_grid_create_params | WTImageGridCreateParams |
No authorization required
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Ok | - |
| 401 | Authentication Failed | - |
| 422 | Validation Failed | - |
| 500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object fetch_all_image_grid(is_archive_included=is_archive_included)
Fetch all images
import wallet
from wallet.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.wall.et
# See configuration.py for a list of all supported configuration parameters.
configuration = wallet.Configuration(
host = "https://api.wall.et"
)
# Enter a context with an instance of the API client
with wallet.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = wallet.ImageGridApi(api_client)
is_archive_included = True # bool | (optional)
try:
# Fetch all images
api_response = api_instance.fetch_all_image_grid(is_archive_included=is_archive_included)
print("The response of ImageGridApi->fetch_all_image_grid:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ImageGridApi->fetch_all_image_grid: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| is_archive_included | bool | [optional] |
object
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Ok | - |
| 401 | Authentication Failed | - |
| 422 | Validation Failed | - |
| 500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ImageGrid restore_image_grid(id)
Restore image
import wallet
from wallet.models.image_grid import ImageGrid
from wallet.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.wall.et
# See configuration.py for a list of all supported configuration parameters.
configuration = wallet.Configuration(
host = "https://api.wall.et"
)
# Enter a context with an instance of the API client
with wallet.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = wallet.ImageGridApi(api_client)
id = None # object |
try:
# Restore image
api_response = api_instance.restore_image_grid(id)
print("The response of ImageGridApi->restore_image_grid:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ImageGridApi->restore_image_grid: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | object |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Ok | - |
| 401 | Authentication Failed | - |
| 422 | Validation Failed | - |
| 500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ImageGrid update_image_grid(id, wt_image_grid_update_params)
Update image
import wallet
from wallet.models.image_grid import ImageGrid
from wallet.models.wt_image_grid_update_params import WTImageGridUpdateParams
from wallet.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.wall.et
# See configuration.py for a list of all supported configuration parameters.
configuration = wallet.Configuration(
host = "https://api.wall.et"
)
# Enter a context with an instance of the API client
with wallet.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = wallet.ImageGridApi(api_client)
id = None # object |
wt_image_grid_update_params = wallet.WTImageGridUpdateParams() # WTImageGridUpdateParams |
try:
# Update image
api_response = api_instance.update_image_grid(id, wt_image_grid_update_params)
print("The response of ImageGridApi->update_image_grid:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ImageGridApi->update_image_grid: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | object | ||
| wt_image_grid_update_params | WTImageGridUpdateParams |
No authorization required
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Ok | - |
| 401 | Authentication Failed | - |
| 422 | Validation Failed | - |
| 500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]