client.reports.put_archive
A method of the Reports endpoint.
- put_archive(id: int, status: bool) Response
Update the archive status of this object
API URL:
PUT /reports/{id}/archiveimport civis client = civis.APIClient() response = client.reports.put_archive(...)
- Parameters:
- idint
The ID of the object.
- statusbool
The desired archived status of the object.
- Returns:
civis.Response- idint
The ID of this report.
- namestr
The name of the report.
- user
civis.Response - idint
The ID of this user.
- namestr
This user’s name.
- usernamestr
This user’s username.
- initialsstr
This user’s initials.
- onlinebool
Whether this user is online.
- user
- created_atstr (time)
The creation time for this report.
- updated_atstr (time)
The last updated at time for this report.
- typestr
The type of the report. One of: ReportTypes::HTML, ReportTypes::Tableau, ReportTypes::ShinyApp, ReportTypes::SQL, ReportTypes::QuickAnalysis, ReportTypes::QuickDashboard
- descriptionstr
The user-defined description of the report.
- my_permission_levelstr
Your permission level on the object. One of “read”, “write”, or “manage”.
- archivedbool
The archival status of the requested item(s).
- projectsList[
civis.Response] A list of projects containing the report.
- idint
The ID for the project.
- namestr
The name of the project.
- projectsList[
- statestr
The status of the report’s last run.
- finished_atstr (time)
The time that the report’s last run finished.
- viz_updated_atstr (time)
The time that the report’s visualization was last updated.
- script
civis.Response - idint
The ID for the script.
- namestr
The name of the script.
- sqlstr
The raw SQL query for the script, if applicable.
- script
- job_pathstr
The link to details of the job that backs this report.
tableau_id : int
- template_idint
The ID of the template used for this report.
- auth_thumbnail_urlstr
URL for a thumbnail of the report.
- last_run
civis.Response id : int
- statestr
The state of the run. One of queued, running, succeeded, failed or cancelled.
- created_atstr (time)
The time that the run was queued.
- started_atstr (time)
The time that the run started.
- finished_atstr (time)
The time that the run completed.
- errorstr
The error message for this run, if present.
- last_run
- hiddenbool
The hidden status of the item.
- auth_data_urlstr
DEPRECATED: For legacy reports
- auth_code_urlstr
Link to code to render in the report.
- configstr
Any configuration metadata for this report.
- valid_output_filebool
Whether the job (a script or a query) that backs the report currently has a valid output file.
- provide_api_keybool
Whether the report requests an API Key from the report viewer.
- api_keystr
A Civis API key that can be used by this report.
- api_key_idint
The ID of the API key. Can be used for auditing API use by this report.
- app_state
civis.Response Any application state blob for this report.
- app_state
- use_viewers_tableau_usernamebool
Apply user level filtering on Tableau reports.