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
typeEntityUrl@doc(description: "EntityUrl is an output object containing the `id`, `canonical_url`, and `type` attributes") {
5
-
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.")
7
-
type: UrlRewriteEntityTypeEnum@doc(description: "One of PRODUCT, CATEGORY, or CMS_PAGE.")
8
-
}
9
-
10
4
typeQuery {
11
5
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")
12
6
}
13
7
8
+
typeEntityUrl@doc(description: "EntityUrl is an output object containing the `id`, `relative_url`, and `type` attributes") {
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.")
10
+
canonical_url: String@deprecated(reason: "The canonical_url field is deprecated, use relative_url instead.")
11
+
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.")
12
+
type: UrlRewriteEntityTypeEnum@doc(description: "One of PRODUCT, CATEGORY, or CMS_PAGE.")
0 commit comments