Schema Documentation
nodeByUri
Description
Fetches an object given its Unique Resource Identifier
Response
Returns a UniformResourceIdentifiable
Arguments
Name | Description |
---|---|
uri - String! | Unique Resource Identifier in the form of a path or permalink for a node. Ex: "/hello-world" |
Example
Query
query nodeByUri($uri: String!){ nodeByUri(uri: $uri){ idisContentNodeisTermNodeuri }}
Variables
{"uri":"xyz789"}
Response
{"data":{"nodeByUri":{"id":4,"isContentNode":false,"isTermNode":true,"uri":"xyz789"}}}