Shyam created FLINK-35561:
-----------------------------
Summary: Flink REST API incorrect documentation
Key: FLINK-35561
URL: https://issues.apache.org/jira/browse/FLINK-35561
Project: Flink
Issue Type: Bug
Components: Documentation, Runtime / REST
Reporter: Shyam
Flink REST API documentation for JAR upload
([/jars/upload|https://nightlies.apache.org/flink/flink-docs-master/docs/ops/rest_api/#jars-upload])
states that the response will contain fileName, which will then be used later
to run Flink Jobs.
In the
[/jar/:jarid/run]([https://nightlies.apache.org/flink/flink-docs-master/docs/ops/rest_api/#jars-jarid-run)]
documentation, the definition for :jarid is "String value that identifies a
jar. When uploading the jar a path is returned, where the filename is the ID.
This value is equivalent to the `id` field in the list of uploaded jars
(/jars)."
This statement identifying file name should be changed to:
String value that identifies a jar. When uploading the jar, a path is returned,
where the {*}filename contains the ID{*}, and it is the text after the last
forward slash. This value is equivalent to the `id` field in the list of
uploaded jars (/jars).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)