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

Add category to OperationInfo #2161

Open
3 of 10 tasks
kavics opened this issue Aug 23, 2024 · 0 comments
Open
3 of 10 tasks

Add category to OperationInfo #2161

kavics opened this issue Aug 23, 2024 · 0 comments
Assignees
Labels

Comments

@kavics
Copy link
Contributor

kavics commented Aug 23, 2024

Copy SnCategory information to the new Category property of the OdataOperationAttribute:

...
/// </summary>
/// <snCategory>Collaboration</snCategory>          <--- source
[ODataAction(Category = "Collaboration", ...)]      <--- target
...

Extend the "help/operations" function's result with the new property.

{
  "Controller": "",
  "Category": "???"      <--- new property
  "Signature": "CheckOut() : void",
  "Kind": "Action",
  "ContentTypes": "GenericContent",
  "Roles": "Everyone",
  "Permissions": "Save",
  "Policies": "VersioningAndApproval",
  "Scenarios": "ListItem, ExploreActions, ContextMenu"
},

Categorize the following operations:

  • GetCurrentUser()
  • GetFeatures()
  • GetMultiFactorAuthenticationInfo()
  • GetOperations()
  • GetReplicationTemplate()
  • GetResourceClass(string className, string langCode)
  • GetSettings(string name, string property?)
  • Replicate(string target, ReplicationDescriptor options)
  • ResetTwoFactorKey()
  • WriteSettings(string name, object settingsData)
@kavics kavics added the backend label Aug 23, 2024
@kavics kavics self-assigned this Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant