Skip to content

Latest commit

 

History

History
64 lines (42 loc) · 1.49 KB

SamplesGetApi.md

File metadata and controls

64 lines (42 loc) · 1.49 KB

distance_client.SamplesGetApi

All URIs are relative to http://distance-api-service/api/v1

Method HTTP request Description
samples_id_get GET /samples/{id}

samples_id_get

Sample samples_id_get(id)

Return a sample based on a sample ID.

Example

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)

Parameters

Name Type Description Notes
id str

Return type

Sample

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

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]