All URIs are relative to https://api.shutterstock.com
| Method | HTTP request | Description |
|---|---|---|
| echo | GET /v2/test | Echo text |
| validate | GET /v2/test/validate | Validate input |
TestEcho echo(text=text)
Echo text
from __future__ import print_function
import time
import shutterstock_api
from shutterstock_api.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = shutterstock_api.TestApi()
text = 'ok' # str | Text to echo (optional) (default to ok)
try:
# Echo text
api_response = api_instance.echo(text=text)
pprint(api_response)
except ApiException as e:
print("Exception when calling TestApi->echo: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| text | str | Text to echo | [optional] [default to ok] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TestValidate validate(id, tag=tag, user_agent=user_agent)
Validate input
from __future__ import print_function
import time
import shutterstock_api
from shutterstock_api.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = shutterstock_api.TestApi()
id = 123 # int | Integer ID
tag = ['tag_example'] # list[str] | List of tags (optional)
user_agent = 'user_agent_example' # str | User agent (optional)
try:
# Validate input
api_response = api_instance.validate(id, tag=tag, user_agent=user_agent)
pprint(api_response)
except ApiException as e:
print("Exception when calling TestApi->validate: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | Integer ID | |
| tag | list[str] | List of tags | [optional] |
| user_agent | str | User agent | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]