Igor Belyakov created IGNITE-21212:
--------------------------------------
Summary: 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
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)