All URIs are relative to http://distance-api-service/api/v1
Method | HTTP request | Description |
---|---|---|
samples_id_get | GET /samples/{id} |
Sample samples_id_get(id)
Return a sample based on a sample ID.
from __future__ import print_function
import time
import distance_client
from distance_client.rest import ApiException
from pprint import pprint
# Create an instance of the API class
api_instance = distance_client.SamplesGetApi()
id = 'id_example' # str |
try:
api_response = api_instance.samples_id_get(id)
pprint(api_response)
except ApiException as e:
print("Exception when calling SamplesGetApi->samples_id_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
404 | Not found | - |
0 | Unexpected error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]