Skip to content

Report.publish

Publish this report. Requires report:publish.

Server: POST /api/reports/{id}/publish.

Signature

publish() -> Report

HTTP parameters

Name In Type Required Default
report_id path string yes -

Return shape

HTTP 200 — OK

Schema: ReportDetailOut

Field Type Required
attachments array<ReportAttachmentOut> no
body_md string yes
created_at string yes
id string yes
latest_version integer no
owner_id string no
project_id string yes
project_title string no
published_at string no
published_by_id string no
references array<ReportReferenceOut> no
slug string no
slug_number integer no
status string yes
tags array<ReportTagOut> no
title string yes
updated_at string yes

Permission

Required permission: report:publish

HTTP

POST /api/reports/{id}/publish (publishReport)

Usage

report.publish()