Skip to content
Snippets Groups Projects
Unverified Commit 80d8e872 authored by John Swanson's avatar John Swanson Committed by GitHub
Browse files

Update API Changelog (#42864)

parent 9be96be9
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,20 @@ title: API changelog
## Metabase 0.50.0
- `GET /api/collection/tree` and `GET /api/collection/:id/items`
These API endpoints will always return official collections first, before other items in the collection.
- `PUT /api/dashboard/:id`, `PUT /api/card/:id`, and `PUT /api/collection/:id`
When setting `archived` to `true`, the Dashboard, Card, or Collection will be automatically moved to the Trash
collection, a special collection that holds all archived items.
When setting `archived` to `false`, you may optionally also provide a `collection_id` (for Dashboards or Cards) or a
`parent_id` (for Collections). In this case, the entity will be re-parented to the specified Collection when it is
moved from the Trash. If a new `collection_id` or `parent_id` is not provided, the entity will be moved back to its
original location if possible. If this is not possible (for example, the original location is also in the Trash) an
error will occur.
- `/api/metric`
The `/api/metric` endpoints has been renamed to `/api/legacy-metric` to reflect that fact it will not be used for the new version of metrics. The new version uses the `/api/card` endpoints.
......@@ -30,6 +44,12 @@ title: API changelog
# Additions to the API interface
## Metabase 0.50.0
- `GET /api/collection/:id/items`
An additional boolean column, `archived`, has been added to results.
## Metabase 0.49.5
NOTE: These endpoint changes were added in 0.49.3, and a bug in `GET /api/embed/card/:token/query/:export-format` was fixed in 0.49.5.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment