We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Just been working my way through the example here and noticed that when creating a right, leaving out the sourceRightId causes an application error:
sourceRightId
POST http://localhost:3000/api/v1/rights
{ "right": { "license": "My license" }, "currentHolder": { "publicKey": "Hrzhm61KQut7Rm2nT1k1f7gGpUWijxsGd8udcPqE5sSK", "privateKey": "Eiea9RJPRAYqokwVbwr9tw7vt6HWdsZ9TbyFzjaeMdUc" }, "sourceRightId": "" }
Leaving out any of the other fields results in a 400 with useful information in the body as to why the request was unsuccessful.
The text was updated successfully, but these errors were encountered:
Thanks for pointing that out. pycoalaip expects sourceRightId to be defined (so the empty string is disallowed).
flask_restful doesn't currently handle.
Sorry, something went wrong.
No branches or pull requests
Just been working my way through the example here and noticed that when creating a right, leaving out the
sourceRightId
causes an application error:POST http://localhost:3000/api/v1/rights
Leaving out any of the other fields results in a 400 with useful information in the body as to why the request was unsuccessful.
The text was updated successfully, but these errors were encountered: