Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Clarify volume UUID semantics for /storage/volumes/{uuid}

未关闭
#4 1 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@netapp-aoife 已经在做这个了。

开始于 2026年7月16日。

评估

这个 Issue 还没有评估数据。

描述

Page URL

https://docs.netapp.com/us-en/ontap-restapi/get-storage-volumes-.html

Page title

Retrieve a volume

Summary

Problem

A customer reported confusion around the volume REST docs because the page path uses {uuid}, but the value that works for /api/storage/volumes/{uuid} is the volume instance-uuid from CLI/ONTAPI, not the CLI uuid field. This led to 404s when the wrong identifier was used.

Affected webpage(s)

These are the published pages that need the clarification:

Source files to update

These pages are generated from the following source .adoc files in the repo, so the wording change should be made there:

  • get-storage-volumes-.adoc
  • get-storage-volumes.adoc
  • storage_volumes_endpoint_overview.adoc

Requested documentation changes

  1. In get-storage-volumes-.adoc, clarify the {uuid} path parameter means the volume instance-uuid from CLI/ONTAPI.
  2. In get-storage-volumes-.adoc, clarify the returned uuid field is the identifier used in /storage/volumes/{uuid} and corresponds to CLI/ONTAPI instance-uuid.
  3. In get-storage-volumes.adoc, change the query filter description from Filter by uuid to Filter by volume instance-uuid (CLI/ONTAPI).
  4. In storage_volumes_endpoint_overview.adoc, add a short note that the {uuid} in the endpoint refers to the volume instance-uuid.

Requested documentation wording changes

  1. get-storage-volumes-.adoc

    • Path parameter uuid:
      • Unique identifier of the volume.
      • change to: Unique identifier of the volume. This is the volume instance-uuid exposed in the CLI and ONTAPI.
  2. get-storage-volumes.adoc

    • Query filter uuid:
      • Filter by uuid
      • change to: Filter by volume instance-uuid (CLI/ONTAPI)
  3. get-storage-volumes.adoc

    • Volume field uuid:
      • Unique identifier for the volume. This corresponds to the instance-uuid that is exposed in the CLI and ONTAPI. It does not change due to a volume move.
      • change to: Unique identifier for the volume. This corresponds to the instance-uuid that is exposed in the CLI and ONTAPI. It does not change due to a volume move. Use this value for /storage/volumes/{uuid} lookups.
  4. storage_volumes_endpoint_overview.adoc

    • Add a note near the Volume APIs list:
      • For /api/storage/volumes/{uuid}, uuid means the volume instance-uuid exposed in the CLI and ONTAPI.

Why this matters

The current wording is easy to misread because the docs use {uuid} in the path while CLI output also shows a separate uuid field. The mismatch makes it easy to call the endpoint with the wrong identifier and get a 404.

Public issues must not contain sensitive information
  • This issue contains no sensitive information.
主要语言
HTML
星标
0
派生
0
平均合并
9 小时 27 分钟
30 天内合并 PR
2

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

NetAppDocs/ontap-restapi 的其他 Issue

查看 NetAppDocs/ontap-restapi 的全部 Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。