/admin/compliance/privacy-impact/{privacy_impact_id}
更新隐私影响评估的内容或状态
请求参数
| 名称 | 位置 | 类型 | 必填 | 默认值 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|---|---|
privacy_impact_id |
path |
string |
是 | PIA ID |
请求体
Schema: service-compliance/internal/handler/dto.UpdatePIARequest
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|
data |
string |
否 | {"processing_activity":"updated"} |
||
description |
string |
否 | Updated assessment of privacy risks |
||
status |
string |
否 | completed |
||
title |
string |
否 | Updated Privacy Impact Assessment |
响应
| 状态 | 描述 | Schema |
|---|---|---|
| 200 | success | service-compliance/internal/handler/dto.PIAItemResponse |
| 400 | bad request | service-compliance/internal/handler/dto.ErrorResponse |
引用的 Schema
service-compliance/internal/handler/dto.ErrorResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|
code |
integer |
否 | 400 |
||
message |
string |
否 | invalid request |
service-compliance/internal/handler/dto.PIAItemResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|
code |
integer |
否 | |||
data |
service-compliance/internal/handler/dto.PIAResponse |
否 | |||
message |
string |
否 | |||
timestamp |
string |
否 |
service-compliance/internal/handler/dto.PIAResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|
created_at |
string |
否 | 2026-05-01T10:00:00Z |
||
description |
string |
否 | Privacy impact assessment for user profiling feature |
||
id |
string |
否 | 01JQ... |
||
status |
string |
否 | completed |
||
title |
string |
否 | New User Profiling PIA |