๐๏ธ Publish a report
Takes a snapshot of the current draft, stores it as a new version, and marks it as the published version.
๐๏ธ List published reports
Returns every report currently published and visible to you. Omits the heavy `schema`, `ui_schema`, and `queries` fields.
๐๏ธ List report versions
Returns the published version history for a report, without the heavy `schema`, `ui_schema`, and `queries` fields.
๐๏ธ Get the published version
Returns the report's currently published version, with all fields.
๐๏ธ Roll back to a version
Makes an earlier version the published one. Does not modify the draft.
๐๏ธ Restore a version into the draft
Copies a version's content into the draft. Does not change the published version.
๐๏ธ Change published visibility
Publishes a new version using the current published content with the new visibility, and updates the draft to match. Returns `204` if the visibility is unchanged, and `400` if the report has no published version.
๐๏ธ Unpublish a report
Removes the published version reference so the report no longer appears in the published list. Version history is kept.