Skip to content

Commit

Permalink
Document v1/catalogs API
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrebnov committed Jul 15, 2024
1 parent fd4929f commit b43bfd1
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions spiceaidocs/docs/api/http/catalogs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
title: 'GET /v1/catalogs'
sidebar_label: 'GET /v1/catalogs'
description: 'Fetch catalogs'
sidebar_position: 5
---

Returns the list of configured [catalogs](/components/catalogs)

Example:

```bash
curl --request GET \
--url http://localhost:3000/v1/catalogs
```

Response:

```json
[
{
"from": "spice.ai",
"name": "spiceai"
},
]
```
2 changes: 1 addition & 1 deletion spiceaidocs/docs/cli/reference/catalogs.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ spice catalogs
>>> spice catalogs

FROM NAME
spice.ai spice.ai
spice.ai spiceai
```

0 comments on commit b43bfd1

Please sign in to comment.