-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating a Taxon by API #8920
Labels
API
APIs related issues and PRs.
Documentation
Documentation related issues and PRs - requests, fixes, proposals.
Potential Bug
Potential bugs or bugfixes, that needs to be reproduced.
Comments
GSadee
added
API
APIs related issues and PRs.
Help Wanted
Issues needing help and clarification.
labels
Oct 31, 2017
Looks like you should specify name and slug. |
If I add name or slug, response has error like unexpected params
3 lis 2017 17:58 "Igor Mukhin" <notifications@github.com> napisał(a):
… Looks like you should specify name and slug.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8920 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AEeYA-vyA-Q2hG-ZAi7x0GCYfqjLUvGxks5sy0ZGgaJpZM4QMoMY>
.
|
Even if you do sth like that?:
Edited by @lchrusciel: Removed |
Name and slug in the default locale is always required. We should update the docs probably. And @GSadee proposal should work. |
lchrusciel
added
Potential Bug
Potential bugs or bugfixes, that needs to be reproduced.
Documentation
Documentation related issues and PRs - requests, fixes, proposals.
and removed
Help Wanted
Issues needing help and clarification.
labels
Nov 7, 2017
Fixed by #9755. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
API
APIs related issues and PRs.
Documentation
Documentation related issues and PRs - requests, fixes, proposals.
Potential Bug
Potential bugs or bugfixes, that needs to be reproduced.
My request according to http://docs.sylius.org/en/latest/api/taxons.html:
Response:
{"code":400,"message":"Validation Failed","errors":{"children":{"translations":{"children":{"en_US":{"children":{"name":{},"slug":{},"description":{}}},"pl_PL":{"children":{"name":{"errors":["Prosz\u0119 poda\u0107 nazw\u0119 taksonomii."]},"slug":{"errors":["Wprowad\u017a fragment URL kategorii."]},"description":{}}},"pl":{"children":{"name":{},"slug":{},"description":{}}}}},"images":{},"code":{},"parent":{}}}}
Any idea?
The text was updated successfully, but these errors were encountered: