- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Explores the topology schema starting from given node types or label names up to a specified hop depth.
HTTP request
POST https://apptopology.googleapis.com/v1/{name=projects/*/locations/*/domains/*/schema}:explore
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. The name of the singleton domain schema resource. Format: |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "startLabels": [ string ], "depth": integer, "pageSize": integer, "pageToken": string } |
| Fields | |
|---|---|
startLabels[] |
Optional. Starting label names to begin traversal. Substring, case-insensitive matches are performed against allowed label names in the schema. A maximum of 10 |
depth |
Optional. The maximum depth of BFS traversal hops to perform from the starting node types or label names. Defaults to 0 if unspecified. |
pageSize |
Optional. The maximum number of schema elements to return in a single page.
|
pageToken |
Optional. A page token received from a previous When paginating, all other parameters (except pageSize) provided to |
Response body
Response for schema.explore.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{ "nodeTypes": [ { object ( |
| Fields | |
|---|---|
nodeTypes[] |
A list of |
edgeTypes[] |
A list of |
labelProperties[] |
A list of supported labels and corresponding properties. |
edgeRules[] |
Edge rules. These will indicate which node types can be connected and through what edge type. This is a list of (sourceNodeType, edgeType, destinationNodeType) tuples. |
nextPageToken |
A token to retrieve the next page of results, or empty if there are no more results in the traversal set. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/apptopology.read-writehttps://www.googleapis.com/auth/apptopology.read-only
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name resource:
apptopology.schemas.get
For more information, see the IAM documentation.