Skip to content
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

Apply custom validation rules to REST API node creation #2521

Merged
merged 4 commits into from
May 17, 2018
Merged

Apply custom validation rules to REST API node creation #2521

merged 4 commits into from
May 17, 2018

Conversation

dafeder
Copy link
Member

@dafeder dafeder commented May 17, 2018

This adds a new hook to the DKAN Dataset REST API module that allows adding to or removing the default validation rules in the module.

The new hook is documented in dkan_dataset_rest_api.api.php.

QA Steps

The fact that the API tests pass should demonstrate that it's working -- this is a developer-facing feature that you would need to write a custom module to test out manually.

Merge notes

I've created this against 7.x-1.x because it is a minor enhancement to existing functionality, with no effect on the database.

@fmizzell fmizzell merged commit 237925b into GetDKAN:7.x-1.x May 17, 2018
@dafeder dafeder deleted the modify_api_validation branch February 28, 2020 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants