[ https://issues.apache.org/jira/browse/IGNITE-21212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17811002#comment-17811002 ]
Igor Belyakov commented on IGNITE-21212: ---------------------------------------- [~igusev], the fix LGTM. > Increment and Decrement REST API documentation lists incorrect parameter > ------------------------------------------------------------------------ > > Key: IGNITE-21212 > URL: https://issues.apache.org/jira/browse/IGNITE-21212 > Project: Ignite > Issue Type: Bug > Components: documentation > Affects Versions: 2.16 > Reporter: Igor Belyakov > Assignee: Igor Gusev > Priority: Minor > Time Spent: 20m > Remaining Estimate: 0h > > The documentation for the Increment/Decrement REST API endpoints > (https://ignite.apache.org/docs/latest/restapi#increment) contains > information regarding the "cacheName" parameter, which in fact this endpoint > doesn't have. > (see: > [https://github.com/apache/ignite/blob/ignite-2.16/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/request/DataStructuresRequest.java]) > This redundant parameter could be confusing since with it the endpoint looks > like an API to increment/decrement the value stored in the cache, while in > fact it is related to the IgniteAtomicLong data structure. (see > [https://ignite.apache.org/docs/latest/data-structures/atomic-types]). -- This message was sent by Atlassian Jira (v8.20.10#820010)