All URIs are relative to https://neurostore.org/api
| Method | HTTP request | Description |
|---|---|---|
| pipeline_embeddings_get | GET /pipeline-embeddings/ | List pipeline embeddings |
| pipeline_embeddings_id_get | GET /pipeline-embeddings/{id} | Get a pipeline embedding by id |
PipelineEmbeddingList pipeline_embeddings_get(paginate=paginate)
List pipeline embeddings
import neurostore_sdk
from neurostore_sdk.models.pipeline_embedding_list import PipelineEmbeddingList
from neurostore_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://neurostore.org/api
# See configuration.py for a list of all supported configuration parameters.
configuration = neurostore_sdk.Configuration(
host = "https://neurostore.org/api"
)
# Enter a context with an instance of the API client
with neurostore_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = neurostore_sdk.PipelineEmbeddingsApi(api_client)
paginate = True # bool | whether to paginate results (true) or return all results at once (false) (optional) (default to True)
try:
# List pipeline embeddings
api_response = api_instance.pipeline_embeddings_get(paginate=paginate)
print("The response of PipelineEmbeddingsApi->pipeline_embeddings_get:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling PipelineEmbeddingsApi->pipeline_embeddings_get: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| paginate | bool | whether to paginate results (true) or return all results at once (false) | [optional] [default to True] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PipelineEmbedding pipeline_embeddings_id_get(id)
Get a pipeline embedding by id
import neurostore_sdk
from neurostore_sdk.models.pipeline_embedding import PipelineEmbedding
from neurostore_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://neurostore.org/api
# See configuration.py for a list of all supported configuration parameters.
configuration = neurostore_sdk.Configuration(
host = "https://neurostore.org/api"
)
# Enter a context with an instance of the API client
with neurostore_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = neurostore_sdk.PipelineEmbeddingsApi(api_client)
id = 'id_example' # str |
try:
# Get a pipeline embedding by id
api_response = api_instance.pipeline_embeddings_id_get(id)
print("The response of PipelineEmbeddingsApi->pipeline_embeddings_id_get:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling PipelineEmbeddingsApi->pipeline_embeddings_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 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]