-
Notifications
You must be signed in to change notification settings - Fork 479
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
provide curl examples for CategoryOrder,OrderByFolder,AllowUser… #10376
Conversation
…rManagementOfOrder
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://dataverse-guide--10376.org.readthedocs.build/en/10376/installation/config.html#categoryorder looks good! I did leave a couple comments.
@@ -4462,16 +4462,22 @@ A comma separated list of Category/Tag names defining the order in which files w | |||
The setting can include custom tag names along with the pre-defined tags(Documentation, Data, and Code are the defaults but the :ref:`:FileCategories` setting can be used to use a different set of tags). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The setting can include custom tag names along with the pre-defined tags(Documentation, Data, and Code are the defaults but the :ref:`:FileCategories` setting can be used to use a different set of tags). | |
The setting can include custom tag names along with the pre-defined tags (Documentation, Data, and Code are the defaults but the :ref:`:FileCategories` setting can be used to use a different set of tags). |
@@ -4462,16 +4462,22 @@ A comma separated list of Category/Tag names defining the order in which files w | |||
The setting can include custom tag names along with the pre-defined tags(Documentation, Data, and Code are the defaults but the :ref:`:FileCategories` setting can be used to use a different set of tags). | |||
The default is category ordering disabled. | |||
|
|||
``curl -X PUT -d 'Code,Data,Documentation' http://localhost:8080/api/admin/settings/:CategoryOrder`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the order be the same as above? "Documentation,Data,Code"?
I'm fine either way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. Thanks, @donsizemore! Merging.
…ManagementOfOrder
What this PR does / why we need it:
Provide curl examples for CategoryOrder et alia
Which issue(s) this PR closes:
Closes #10375
Special notes for your reviewer:
None
Suggestions on how to test this:
test curl calls on beta.dataverse.org or demo.dataverse.org
Does this PR introduce a user interface change? If mockups are available, please link/include them here:
No
Is there a release notes update needed for this change?:
No
Additional documentation:
None