ImageAnalyses API
All URIs are relative to http://localhost:1000
Method | HTTP request | Description |
---|---|---|
image_analyses_snapshot | GET /image_analyses | Your GET endpoint |
image_analyses_snapshot​
ImageAnalyses image_analyses_snapshot(transferables=transferables)
Your GET endpoint
This will get a snapshot of all of your code analyses, a code analysis is attached to an image analysis.
Example​
import pieces_os_client
from pieces_os_client.models.image_analyses import ImageAnalyses
from pieces_os_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:1000
# See configuration.py for a list of all supported configuration parameters.
configuration = pieces_os_client.Configuration(
host="http://localhost:1000"
)
# Enter a context with an instance of the API client
with pieces_os_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pieces_os_client.ImageAnalysesApi(api_client)
transferables = True # bool | This is a boolean that will decided if we are want to return the transferable data (default) or not(performance enhancement) (optional)
try:
# Your GET endpoint
api_response = api_instance.image_analyses_snapshot(transferables=transferables)
print("The response of ImageAnalysesApi->image_analyses_snapshot:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ImageAnalysesApi->image_analyses_snapshot: %s\n" % e)
Parameters​
Name | Type | Description | Notes |
---|---|---|---|
transferables | bool | This is a boolean that will decided if we are want to return the transferable data (default) or not(performance enhancement) | [optional] |
Return type​
Authorization​
No authorization required
HTTP request headers​
- Content-Type: Not defined
- Accept: application/json, text/plain
HTTP response details​
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
500 | Internal Server Error | - |