jerryshao commented on code in PR #8329:
URL: https://github.com/apache/gravitino/pull/8329#discussion_r2308903727


##########
docs/manage-model-metadata-using-gravitino.md:
##########
@@ -631,6 +683,84 @@ model_version: ModelVersion = 
catalog.as_model_catalog().get_model_version_by_al
 </TabItem>
 </Tabs>
 
+### Get ModelVersion URI
+
+You can get the URI of a ModelVersion by sending a `GET` request to the 
`/api/metalakes/{metalake_name}
+/catalogs/{catalog_name}/schemas/{schema_name}/models/{model_name}/versions/{version_number}/uri?uriName={uriName}`
+endpoint or by using the Gravitino Java/Python client. The following is an 
example of getting
+the URI of a ModelVersion:
+
+<Tabs groupId="language" queryString>
+<TabItem value="shell" label="Shell">
+
+```shell
+curl -X GET -H "Accept: application/vnd.gravitino.v1+json" \
+-H "Content-Type: application/json" \
+http://localhost:8090/api/metalakes/example/catalogs/model_catalog/schemas/model_schema/models/example_model/versions/0/uri?uriName=s3

Review Comment:
   I remembered that `uriName` can be null, can you also give an example and 
explain the behavior?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to