Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Updating EntityUrl output object in urlResolvers query #6812

Conversation

VinothKumar361
Copy link
Contributor

@devops-devdocs
Copy link
Collaborator

An admin must run tests on this PR before it can be merged.

@@ -63,7 +66,7 @@ Attribute | Data Type | Description
`id` | Int | The ID assigned to the object associated with the specified `url`. This could be a product ID, category ID, or page ID.
`relative_url` | String | The internal relative URL. If the specified `url` is a redirect, the query returns the redirected URL, not the original.
`type` | UrlRewriteEntityTypeEnum | The value of `UrlRewriteEntityTypeEnum` is one of PRODUCT, CATEGORY, or CMS_PAGE.
`url` | String | The URL to resolve. Magento stores product and category URLs with the `.html` extension. CMS URLs do not contain the extension.
`redirectCode` | Int | 301 or 302 HTTP code for url permanent or temporary redirect or 0 for the 200 no redirect.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's make this statement simpler.

Suggested change
`redirectCode` | Int | 301 or 302 HTTP code for url permanent or temporary redirect or 0 for the 200 no redirect.
`redirectCode` | Int | 301 or 302 HTTP status code for URL permanent or temporary redirect. Contains 0 when there's no redirect.

type

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the blank line

@VinothKumar361
Copy link
Contributor Author

@keharper @rogyar changes made as per your requests.

@keharper keharper added Technical Updates to the code or processes that alter the technical content of the doc 2.3.x Magento 2.3 related changes labels Mar 9, 2020
@keharper
Copy link
Contributor

keharper commented Mar 9, 2020

@rogyar I rewrote the description for redirectCode. Please review the PR again

@keharper
Copy link
Contributor

running tests

@keharper keharper merged commit 229a826 into magento:master Mar 10, 2020
@ghost
Copy link

ghost commented Mar 10, 2020

Hi @VinothKumar361, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
2.3.x Magento 2.3 related changes Partner: Ziffity partners-contribution PR created by Magento partner Technical Updates to the code or processes that alter the technical content of the doc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants