Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update API Changelog for trash #42480

Closed
wants to merge 1 commit into from

Conversation

johnswanson
Copy link
Contributor

Adding the following to the Changelog:

Breaking changes to the API interface

Metabase 0.50.0

  • 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.

Metabase 0.50.0

  • GET /api/collection/:id/items

    An additional boolean column, archived, has been added to results.

@metabase-bot metabase-bot bot added the .Team/AdminWebapp Admin and Webapp team label May 9, 2024
@sloansparger sloansparger force-pushed the make-trash-usable-feature-branch branch from e701e78 to 7b0808c Compare May 9, 2024 21:22
@johnswanson johnswanson force-pushed the update-api-changelog-for-trash branch from 4bc626a to c3d95e6 Compare May 10, 2024 19:00
@johnswanson johnswanson force-pushed the make-trash-usable-feature-branch branch 2 times, most recently from 0b15fa0 to f08a457 Compare May 14, 2024 12:17
@johnswanson johnswanson force-pushed the update-api-changelog-for-trash branch from c3d95e6 to cf3b0dc Compare May 16, 2024 19:09
@sloansparger sloansparger force-pushed the make-trash-usable-feature-branch branch from 85065a8 to c2a1917 Compare May 16, 2024 21:22
Base automatically changed from make-trash-usable-feature-branch to master May 17, 2024 10:01
@johnswanson johnswanson force-pushed the update-api-changelog-for-trash branch from cf3b0dc to 37b5eaa Compare May 17, 2024 11:56
@johnswanson johnswanson added the no-backport Do not backport this PR to any branch label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-backport Do not backport this PR to any branch .Team/AdminWebapp Admin and Webapp team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant