POST /profiles/{user_id}/versions
Manually create a profile version snapshot for the specified user, saving the current profile state to version history
Profile Service `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
user_id |
path |
string |
Yes |
|
|
|
User ID |
Referenced Schemas
dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.VersionDetailResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.VersionResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.VersionResponse
| Field | Type | Required | Example | Constraints | Description |
change_type |
string |
No |
|
|
|
changed_at |
string |
No |
|
|
|
changed_by |
string |
No |
|
|
|
snapshot |
object |
No |
|
|
|
version |
integer |
No |
|
|
|