Get Component Versions
GET /api/v1/workspaces/{workspace_id}/email_design_systems/{emailDesignSystemId}/components/{id}/versions
GET
/api/v1/workspaces/{workspace_id}/email_design_systems/{emailDesignSystemId}/components/{id}/versions
Retrieves the versions of a component.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” workspace_id
required
integer
Workspace ID
id
required
integer
Component ID
emailDesignSystemId
required
integer
Email Design System ID
Query Parameters
Section titled “Query Parameters ” per
integer
Number of records per page
page
integer
Page number
Responses
Section titled “ Responses ”Successful
object
results
required
Array<object>
object
version_id
required
string
component_data
required
object
name
required
string
Example
MyComponent label
required
string
Example
My Component template
required
string
Example
<div>My Component</div> field_definitions
required
Array
One of:
object
type
required
string
label
required
string
group
string
liquid_variable
required
string
visible_if
string
default_value
required
string
validations
object
min_length
integer
max_length
integer
must_not_be_blank
boolean
must_not_be_default
boolean
hint
string
hidden_in_editor
boolean
hidden_from_ai
boolean
feed_field_name
string
object
type
required
string
label
required
string
group
string
liquid_variable
required
string
visible_if
string
default_value
required
number
validations
object
min
number
max
number
hint
string
hidden_in_editor
boolean
hidden_from_ai
boolean
feed_field_name
string
object
type
required
string
label
required
string
group
string
liquid_variable
required
string
visible_if
string
default_value
required
string
validations
object
options
required
Array<object>
object
label
required
string
value
required
string
icon_url
string
hint
string
hidden_in_editor
boolean
hidden_from_ai
boolean
feed_field_name
string
object
type
required
string
label
required
string
group
string
liquid_variable
required
string
visible_if
string
default_value
required
boolean
validations
object
hint
string
hidden_in_editor
boolean
hidden_from_ai
boolean
feed_field_name
string
object
type
required
string
label
required
string
group
string
liquid_variable
required
string
visible_if
string
default_value
required
string
validations
object
must_not_be_blank
boolean
must_not_be_default
boolean
hint
string
hidden_in_editor
boolean
hidden_from_ai
boolean
feed_field_name
string
skip_link_tracking
required
boolean
object
type
required
string
label
required
string
group
string
liquid_variable
required
string
visible_if
string
default_value
required
string
validations
object
must_not_be_blank
boolean
must_not_be_default
boolean
hint
string
hidden_in_editor
boolean
hidden_from_ai
boolean
feed_field_name
string
object
type
required
string
label
required
string
group
string
liquid_variable
required
string
visible_if
string
default_value
required
string
validations
object
hint
string
hidden_in_editor
boolean
hidden_from_ai
boolean
feed_field_name
string
object
type
required
string
label
required
string
group
string
liquid_variable
required
string
visible_if
string
default_value
required
string
validations
object
max_content_length
integer
min_content_length
integer
must_not_be_blank
boolean
must_not_be_default
boolean
hint
string
hidden_in_editor
boolean
hidden_from_ai
boolean
feed_field_name
string
marks
required
object
bold
required
object
enabled
required
boolean
italic
required
object
enabled
required
boolean
link
required
object
enabled
required
boolean
bullet_list
required
object
enabled
required
boolean
numbered_list
required
object
enabled
required
boolean
Example
{ "bold": { "enabled": true }, "italic": { "enabled": true }, "link": { "enabled": true }, "bullet_list": { "enabled": true }, "numbered_list": { "enabled": true }} custom_styles_names
required
Array<string>
object
type
required
string
label
required
string
group
string
liquid_variable
required
string
visible_if
string
default_value
required
string
validations
object
must_not_be_blank
boolean
must_not_be_default
boolean
hint
string
hidden_in_editor
boolean
hidden_from_ai
boolean
feed_field_name
string
created_at
required
string format: date-time
Example
2023-08-23T10:30:00.000Z last_updated_by
required
object
id
required
integer
Example
12345 first_name
required
string
Example
John last_name
required
string
Example
Smith profile_image_url
required
string
Example
https://example.com/profile.jpg pagination
required
object
per
required
integer
Example
10 page
required
integer
Example
1 total
required
integer
Example
100Unauthorized
object
message
required
string
Example
Record not foundForbidden
object
message
required
string
Example
Record not foundNot Found
object
message
required
string
Example
Record not found