Skip to content

Commit

Permalink
[MINOR] docs: fix error URL of list catalog info (#2708)
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?

change `detail` to `details`

### Why are the changes needed?

URL error

### Does this PR introduce _any_ user-facing change?

no

### How was this patch tested?

no need
  • Loading branch information
mchades authored Mar 28, 2024
1 parent 4dbefdf commit 5e2237b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/manage-metadata-using-gravitino.md
Original file line number Diff line number Diff line change
Expand Up @@ -394,15 +394,15 @@ NameIdentifier[] catalogsIdents = gravitinoMetaLake.listCatalogs(Namespace.ofCat

### List all catalogs' information in a metalake

You can list all catalogs' information under a metalake by sending a `GET` request to the `/api/metalakes/{metalake_name}/catalogs?detail=true` endpoint or just use the Gravitino Java client. The following is an example of listing all catalogs' information in a metalake:
You can list all catalogs' information under a metalake by sending a `GET` request to the `/api/metalakes/{metalake_name}/catalogs?details=true` endpoint or just use the Gravitino Java client. The following is an example of listing all catalogs' information in a metalake:

<Tabs>
<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/metalake/catalogs?detail=true
http://localhost:8090/api/metalakes/metalake/catalogs?details=true
```

</TabItem>
Expand Down

0 comments on commit 5e2237b

Please sign in to comment.