Search documentation
karat

+

K

User Documentation ↗

List federated sources

GET/api/gotham/v1/federatedSources
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.

Query parameters

preview
boolean
optional

Represents a boolean value that restricts an endpoint to preview mode when set to true.

Response body

GetFederatedSourceResponse
object

A list of federated sources.

Hide child attributes

Hide child attributes

nextPageToken
string
optional

The page token indicates where to start paging. This should be omitted from the first page's request. To fetch the next page, clients should take the value from the nextPageToken field of the previous response and populate the next request's pageToken field with it.

data
list<FederatedSource>
optional
Show child attributes

Show child attributes

FederatedSource
object

Represents a federated source that is available for use in the system.

Show child attributes

Show child attributes

name
string

The name of a federated source.

displayName
string
optional

The display name of the federated source.

namespaces
list<Namespace>
optional

The namespaces of the federated source.

Show child attributes

Show child attributes

Namespace
object

Represents a namespace of a federated source.

Show child attributes

Show child attributes

name
string

A identity/name of a namespace of a federated source.

displayName
string

The properties of a namespace of a federated source.

queryShape
union
optional
Show child attributes

Show child attributes

not
object
optional

Returns objects where the query is not satisfied.

Show child attributes

Show child attributes

value
union
Show child attributes

Show child attributes

not
object
optional

Returns objects where the query is not satisfied.

Show child attributes

Show child attributes

value
union
or
object
optional

Returns objects where at least 1 query is satisfied.

Show child attributes

Show child attributes

value
list<FederatedSearchJsonQuery>
optional
Show child attributes

Show child attributes

FederatedSearchJsonQuery
union
and
object
optional

Returns objects where every query is satisfied.

Show child attributes

Show child attributes

value
list<FederatedSearchJsonQuery>
optional
Show child attributes

Show child attributes

FederatedSearchJsonQuery
union
term
object
optional

Returns objects where the specified field matches the value. The exact kind of matching depends on the data source.

Show child attributes

Show child attributes

field
string
value
any

Represents the value of a property. The following table provides expected representations of scalar data types:

TypeJSON encodingExample
DateISO 8601 extended local date string"2021-05-01"
Decimalstring"2.718281828"
Doublenumber3.14159265
Integernumber238940
Longstring"58319870951433"
Stringstring"Call me Ishmael"
TimestampISO 8601 extended offset date-time string in UTC zone"2021-01-04T05:00:00Z"
or
object
optional

Returns objects where at least 1 query is satisfied.

Show child attributes

Show child attributes

value
list<FederatedSearchJsonQuery>
optional
Show child attributes

Show child attributes

FederatedSearchJsonQuery
union
Show child attributes

Show child attributes

not
object
optional

Returns objects where the query is not satisfied.

Show child attributes

Show child attributes

value
union
or
object
optional

Returns objects where at least 1 query is satisfied.

Show child attributes

Show child attributes

value
list<FederatedSearchJsonQuery>
optional
Show child attributes

Show child attributes

FederatedSearchJsonQuery
union
and
object
optional

Returns objects where every query is satisfied.

Show child attributes

Show child attributes

value
list<FederatedSearchJsonQuery>
optional
Show child attributes

Show child attributes

FederatedSearchJsonQuery
union
term
object
optional

Returns objects where the specified field matches the value. The exact kind of matching depends on the data source.

Show child attributes

Show child attributes

field
string
value
any

Represents the value of a property. The following table provides expected representations of scalar data types:

TypeJSON encodingExample
DateISO 8601 extended local date string"2021-05-01"
Decimalstring"2.718281828"
Doublenumber3.14159265
Integernumber238940
Longstring"58319870951433"
Stringstring"Call me Ishmael"
TimestampISO 8601 extended offset date-time string in UTC zone"2021-01-04T05:00:00Z"
and
object
optional

Returns objects where every query is satisfied.

Show child attributes

Show child attributes

value
list<FederatedSearchJsonQuery>
optional
Show child attributes

Show child attributes

FederatedSearchJsonQuery
union
Show child attributes

Show child attributes

not
object
optional

Returns objects where the query is not satisfied.

Show child attributes

Show child attributes

value
union
or
object
optional

Returns objects where at least 1 query is satisfied.

Show child attributes

Show child attributes

value
list<FederatedSearchJsonQuery>
optional
Show child attributes

Show child attributes

FederatedSearchJsonQuery
union
and
object
optional

Returns objects where every query is satisfied.

Show child attributes

Show child attributes

value
list<FederatedSearchJsonQuery>
optional
Show child attributes

Show child attributes

FederatedSearchJsonQuery
union
term
object
optional

Returns objects where the specified field matches the value. The exact kind of matching depends on the data source.

Show child attributes

Show child attributes

field
string
value
any

Represents the value of a property. The following table provides expected representations of scalar data types:

TypeJSON encodingExample
DateISO 8601 extended local date string"2021-05-01"
Decimalstring"2.718281828"
Doublenumber3.14159265
Integernumber238940
Longstring"58319870951433"
Stringstring"Call me Ishmael"
TimestampISO 8601 extended offset date-time string in UTC zone"2021-01-04T05:00:00Z"
term
object
optional

Returns objects where the specified field matches the value. The exact kind of matching depends on the data source.

Show child attributes

Show child attributes

field
string
value
any

Represents the value of a property. The following table provides expected representations of scalar data types:

TypeJSON encodingExample
DateISO 8601 extended local date string"2021-05-01"
Decimalstring"2.718281828"
Doublenumber3.14159265
Integernumber238940
Longstring"58319870951433"
Stringstring"Call me Ishmael"
TimestampISO 8601 extended offset date-time string in UTC zone"2021-01-04T05:00:00Z"

Examples

Request

Copied!
1 2 3 curl \ -H "Authorization: Bearer $TOKEN" \ "https://$HOSTNAME/api/gotham/v1/federatedSources?preview=true"

Response

Copied!
1 2 3 4 5 6 7 8 [ { "name": "My Federated Source" }, { "name": "My Other Federated Source" } ]