All URIs are relative to https://sprod1.lilacfdm.com/api
| Method | HTTP request | Description |
|---|---|---|
| v1_metadata_curve_id_get | GET /v1/Metadata/{CurveID} | |
| v1_metadata_register_curve_tag_post | POST /v1/Metadata/RegisterCurveTag | |
| v1_metadata_register_tag_post | POST /v1/Metadata/RegisterTag | |
| v1_metadata_search_get | GET /v1/Metadata/Search | |
| v1_metadata_tag_types_get | GET /v1/Metadata/TagTypes |
FDMAPIDTOV1CurveMetadata v1_metadata_curve_id_get(curve_id)
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: apikey-v1
configuration = swagger_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = swagger_client.MetadataApi(swagger_client.ApiClient(configuration))
curve_id = 56 # int |
try:
api_response = api_instance.v1_metadata_curve_id_get(curve_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling MetadataApi->v1_metadata_curve_id_get: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| curve_id | int |
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json, application/xml, text/xml, text/csv
[Back to top] [Back to API list] [Back to Model list] [Back to README]
v1_metadata_register_curve_tag_post(curve_id=curve_id, tag_name=tag_name, tag_value=tag_value)
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: apikey-v1
configuration = swagger_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = swagger_client.MetadataApi(swagger_client.ApiClient(configuration))
curve_id = 56 # int | (optional)
tag_name = 'tag_name_example' # str | (optional)
tag_value = 'tag_value_example' # str | (optional)
try:
api_instance.v1_metadata_register_curve_tag_post(curve_id=curve_id, tag_name=tag_name, tag_value=tag_value)
except ApiException as e:
print("Exception when calling MetadataApi->v1_metadata_register_curve_tag_post: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| curve_id | int | [optional] | |
| tag_name | str | [optional] | |
| tag_value | str | [optional] |
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
v1_metadata_register_tag_post(tag_name=tag_name)
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: apikey-v1
configuration = swagger_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = swagger_client.MetadataApi(swagger_client.ApiClient(configuration))
tag_name = 'tag_name_example' # str | (optional)
try:
api_instance.v1_metadata_register_tag_post(tag_name=tag_name)
except ApiException as e:
print("Exception when calling MetadataApi->v1_metadata_register_tag_post: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| tag_name | str | [optional] |
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list[FDMAPIDTOV1CurveMetadata] v1_metadata_search_get(query=query, max_results=max_results, skip_rows=skip_rows)
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: apikey-v1
configuration = swagger_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = swagger_client.MetadataApi(swagger_client.ApiClient(configuration))
query = 'query_example' # str | (optional)
max_results = 100 # int | (optional) (default to 100)
skip_rows = 0 # int | (optional) (default to 0)
try:
api_response = api_instance.v1_metadata_search_get(query=query, max_results=max_results, skip_rows=skip_rows)
pprint(api_response)
except ApiException as e:
print("Exception when calling MetadataApi->v1_metadata_search_get: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| query | str | [optional] | |
| max_results | int | [optional] [default to 100] | |
| skip_rows | int | [optional] [default to 0] |
list[FDMAPIDTOV1CurveMetadata]
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json, application/xml, text/xml, text/csv
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list[str] v1_metadata_tag_types_get()
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: apikey-v1
configuration = swagger_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = swagger_client.MetadataApi(swagger_client.ApiClient(configuration))
try:
api_response = api_instance.v1_metadata_tag_types_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling MetadataApi->v1_metadata_tag_types_get: %s\n" % e)This endpoint does not need any parameter.
list[str]
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json, application/xml, text/xml, text/csv
[Back to top] [Back to API list] [Back to Model list] [Back to README]