| Method | HTTP request | Release Stage |
|---|---|---|
| list | GET /gotham/v1/federatedSources | Stable |
:::callout{theme=warning title=Warning}
This endpoint is in preview and may be modified or removed at any time.
To use this endpoint, add preview=true to the request query parameters.
:::
Get a list of all federated sources.
| Name | Type | Description | Notes |
|---|---|---|---|
| preview | Optional[PreviewMode] | Represents a boolean value that restricts an endpoint to preview mode when set to true. | [optional] |
GetFederatedSourceResponse
from gotham import GothamClient
import gotham
from pprint import pprint
client = GothamClient(auth=gotham.UserTokenAuth(...), hostname="example.palantirfoundry.com")
# Optional[PreviewMode] | Represents a boolean value that restricts an endpoint to preview mode when set to true.
preview = True
try:
api_response = client.federated_sources.FederatedSource.list(preview=preview)
print("The list response:\n")
pprint(api_response)
except gotham.PalantirRPCException as e:
print("HTTP error when calling FederatedSource.list: %s\n" % e)See README
| Status Code | Type | Description | Content Type |
|---|---|---|---|
| 200 | GetFederatedSourceResponse | A list of federated sources. | application/json |
[Back to top] [Back to API list] [Back to Model list] [Back to README]