You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
urlResolver(url: String!): EntityUrl@resolver(class: "Magento\\UrlRewriteGraphQl\\Model\\Resolver\\EntityUrl") @doc(description: "The urlResolver query returns the relative URL for a specified product, category or CMS page")
6
+
}
7
+
4
8
typeEntityUrl@doc(description: "EntityUrl is an output object containing the `id`, `canonical_url`, and `type` attributes") {
5
9
id: Int@doc(description: "The ID assigned to the object associated with the specified url. This could be a product ID, category ID, or page ID.")
6
-
canonical_url: String@doc(description: "The internal relative URL. If the specified url is a redirect, the query returns the redirected URL, not the original.")
10
+
relative_url: String@doc(description: "The internal relative URL. If the specified url is a redirect, the query returns the redirected URL, not the original.")
7
11
type: UrlRewriteEntityTypeEnum@doc(description: "One of PRODUCT, CATEGORY, or CMS_PAGE.")
8
12
}
9
13
10
-
typeQuery {
11
-
urlResolver(url: String!): EntityUrl@resolver(class: "Magento\\UrlRewriteGraphQl\\Model\\Resolver\\EntityUrl") @doc(description: "The urlResolver query returns the relative URL for a specified product, category or CMS page")
0 commit comments