Autional Autional
API Reference GitHub autional.com →

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

NameInTypeRequiredDefaultExampleConstraintsDescription
user_id path string Yes User ID

Responses

StatusDescriptionSchema
201Version snapshot created successfullydto.VersionDetailResponse
400Invalid request parametersdto.SimpleResponse
401Unauthorizeddto.SimpleResponse
404Profile not founddto.SimpleResponse
500Internal server errordto.SimpleResponse

Referenced Schemas

dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No

dto.VersionDetailResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.VersionResponse No
message string No
timestamp string No

dto.VersionResponse

FieldTypeRequiredExampleConstraintsDescription
change_type string No
changed_at string No
changed_by string No
snapshot object No
version integer No