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

provide curl examples for CategoryOrder,OrderByFolder,AllowUser… #10376

Merged
merged 2 commits into from
Mar 21, 2024

Conversation

donsizemore
Copy link
Contributor

…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

@pdurbin pdurbin self-assigned this Mar 13, 2024
Copy link
Member

@pdurbin pdurbin left a comment

Choose a reason for hiding this comment

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

@@ -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).
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
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``
Copy link
Member

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.

Copy link
Member

@pdurbin pdurbin left a 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.

@pdurbin pdurbin merged commit 0391ea9 into develop Mar 21, 2024
3 checks passed
@pdurbin pdurbin deleted the 10375_ordering_examples branch March 21, 2024 18:45
@pdurbin pdurbin added this to the 6.2 milestone Mar 21, 2024
@pdurbin pdurbin removed their assignment Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done 🧹
Development

Successfully merging this pull request may close these issues.

provide curl examples for CategoryOrder, OrderByFolder, AllowUserManagementOfOrder
2 participants