getAttachmentVersionDetails method
Retrieves version details for the specified attachment and version number.
Permissions required: Permission to view the attachment.
Implementation
Future<DetailedVersion> getAttachmentVersionDetails(
{required String attachmentId, required int versionNumber}) async {
return DetailedVersion.fromJson(await _client.send(
'get',
'attachments/{attachment-id}/versions/{version-number}',
pathParameters: {
'attachment-id': attachmentId,
'version-number': '$versionNumber',
},
));
}