使用 StorageGRID Grid Management API
您可以使用 Grid Management REST API 而非 Grid Manager 使用者介面來執行系統管理工作。例如,您可能想要使用 API 來自動化作業,或更快速地建立多個實體(例如使用者)。
頂層資源
網格管理 API 提供下列頂層資源:
-
/grid: 存取僅限於 Grid Manager 使用者,並根據設定的群組權限而定。 -
/org:存取權限僅限於屬於租戶帳戶的本機或聯合 LDAP 群組的使用者。如需詳細資訊,請參閱 "使用租戶帳戶"。 -
/private:存取權限僅限於 Grid Manager 使用者,並以設定的群組權限為基礎。私有 API 可能隨時變更,恕不另行通知。StorageGRID 私有端點也會忽略請求中的 API 版本。
發出 API 請求
Grid Management API 使用 Swagger 開放原始碼 API 平台。Swagger 提供直覺式使用者介面,讓開發人員和非開發人員都能使用該 API 在 StorageGRID 中執行即時操作。
Swagger 使用者介面為每個 API 操作提供完整的詳細資訊和文件。
-
您已使用 "支援的網頁瀏覽器" 登入 Grid Manager。
-
您有"特定存取權限"。
|
|
您透過 API 文件網頁執行的任何 API 操作都是即時操作。請務必小心,避免誤建立、更新或刪除組態資料或其他資料。 |
-
從 Grid Manager 標題列中,選擇說明圖示,然後選擇 API documentation。
neoplasms_and_cancer_types_1000_1000.jpg (1000×1000)
Neoplasms and cancer types are broad categories of abnormal cell growth. Neoplasms, commonly known as tumors, can be benign (non-cancerous) or malignant (cancerous). Cancer, on the other hand, refers specifically to malignant neoplasms that have the potential to invade or spread to other parts of the body.
There are over 100 different types of cancer, which are typically classified by the type of cell or organ in which they originate. Some of the most common types of cancer include:
-
Carcinoma: This is the most common type of cancer, originating in the epithelial cells that line the inside and outside of organs. Examples include breast, lung, prostate, and colon cancers.
-
Sarcoma: This type of cancer originates in supportive and connective tissues, such as bones, tendons, cartilage, muscle, and fat.
-
Leukemia: This is a cancer of the blood-forming tissues, including the bone marrow and lymphatic system. It leads to the overproduction of abnormal white blood cells.
-
Lymphoma: This cancer originates in the lymphatic system, which is part of the body's immune system. It affects lymphocytes, a type of white blood cell.
-
Myeloma: This cancer starts in the plasma cells of the bone marrow, which are responsible for producing antibodies.
-
Central Nervous System Cancers: These cancers originate in the brain and spinal cord.
Understanding the different types of neoplasms and cancers is crucial for accurate diagnosis, treatment planning, and prognosis. Treatment options vary widely depending on the type and stage of the cancer, and may include surgery, chemotherapy, radiation therapy, immunotherapy, and targeted therapy.
-
若要使用私有 API 執行操作,請在 StorageGRID 管理 API 頁面上選擇 前往私有 API 文件。
私有 API 如有變更,恕不另行通知。StorageGRID 私有端點也會忽略要求的 API 版本。
-
選擇所需操作。
擴充 API 操作後,可以看到可用的 HTTP 操作,例如 GET、PUT、UPDATE 和 DELETE。
-
選擇 HTTP 行動以查看請求詳細資訊,包括端點 URL、任何必要或選用參數的清單、請求本文範例(如有需要)以及可能的回應。

-
確定請求是否需要其他參數,例如群組 ID 或使用者 ID。然後,取得這些值。您可能需要先發出另一個 API 請求,才能獲得所需資訊。
-
確定是否需要修改範例要求本文。如果需要,您可以選取 Model 來瞭解每個欄位的需求。
-
選擇 Try it out。
-
請提供任何必要的參數,或視需要修改要求本文。
-
選擇 Execute。
-
查看回應代碼以確定請求是否成功。