Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.swagger-codegen
api
docs
.swagger-codegen-ignore
.travis.yml
README.md
account_api.go
account_api_test.go
account_info_resp.go
account_list_resp_items.go
account_metadata_resp.go
account_roles_resp_items.go
activity_log_api.go
activity_log_api_test.go
api_client.go
api_response.go
auth_api.go
auth_api_test.go
automation_api.go
automation_api_test.go
automation_create_req.go
automation_delete_resp.go
automation_edit_req.go
automation_options.go
automation_resp.go
billing_api.go
billing_api_test.go
billing_upgrade_req.go
billing_upgrade_resp.go
configuration.go
configuration_test.go
contact_api.go
contact_api_test.go
contact_create_req.go
contact_delete_resp_items.go
contact_edit_resp.go
contact_group_resp_items.go
contact_resp.go
copy_move_files_req.go
error_model.go
file_add_tag_req.go
file_api.go
file_api_test.go
file_csv_resp.go
file_diff_resp.go
file_diff_resp_data.go
file_info_resp.go
file_metadata_get_resp.go
file_metadata_post_req.go
file_metadata_post_resp.go
file_modify_req.go
file_modify_resp.go
file_preview_resp.go
file_rename_req.go
file_rename_resp.go
file_resp.go
file_size_resp.go
file_tag_resp.go
files_return_makedir_req.go
files_return_makedir_resps.go
files_return_metadata_resp.go
files_return_send_req.go
files_return_send_resp.go
files_return_upload_link_req.go
files_return_upload_link_resp.go
git_push.sh
group.go
group_api.go
group_api_test.go
group_metadata.go
group_resp.go
id_name.go
id_resp.go
ids_req.go
ids_resp.go
inbox_api.go
inbox_api_test.go
inbox_resp_items.go
job_resp.go
key_request_metadata_resp.go
key_request_respond_req.go
language_api.go
language_api_test.go
languages_default_resp.go
languages_resp_items.go
main_test.go
make_dir_req.go
mfa_api.go
mfa_api_test.go
password_reset_api.go
password_reset_api_test.go
pf_create_resp.go
pf_delete_users_resp_items.go
pf_metadata_resp.go
pf_set_users_req.go
pf_set_users_resp_items.go
pf_users_list_req.go
pf_users_list_resp_items.go
pfadd_users_req.go
pfcreate_req.go
pfdelete_users_req.go
pfedit_users_req.go
pgp_api.go
pgp_api_test.go
pgp_create_req.go
pgp_edit_req.go
pgp_key_recipients_resp_items.go
pgp_key_resp.go
preview_api.go
preview_api_test.go
profile_api.go
profile_api_test.go
profile_info_resp.go
profile_remove_mfa_req.go
profile_remove_mfa_resp.go
profile_resp.go
profile_resp_share_types.go
profile_set_mfa_req.go
profile_set_mfa_resp.go
profile_set_password_req.go
profile_set_password_resp.go
profile_set_req.go
profile_set_resp.go
project_folder_api.go
project_folder_api_test.go
project_folders_list_resp_item.go
project_owner.go
projectfolderdeleteusers_users.go
projectfoldersetusers_params.go
projectfoldersetusers_users.go
quatrix_test.go
quicklink_create_req.go
quicklink_create_resp.go
quicklink_login_pin_req.go
reset_password_metadata_resp.go
reset_password_request_req.go
reset_password_request_resp.go
reset_password_reset_req.go
search_query.go
search_req.go
search_tag.go
service_api.go
service_api_test.go
service_resp.go
service_resp_users.go
session_login_post_resp.go
session_login_resp.go
session_unblock_captcha_resp.go
settings_auth_methods_resp_items.go
settings_resp.go
settings_set_req.go
settings_upload_logo_link_resp.go
settingsset_share_types.go
share_api.go
share_api_test.go
share_create_req.go
share_create_resp.go
share_download_info_resp.go
share_download_link_req.go
share_files_resp_items.go
share_login_pin_req.go
share_recipients_resp.go
share_request_req.go
share_request_resp.go
share_send_request_req.go
short_user_service.go
site_settings_api.go
site_settings_api_test.go
ssh_key_api.go
ssh_key_api_test.go
ssh_key_create_req.go
ssh_key_delete_req.go
ssh_key_edit_req.go
ssh_key_resp.go
string_search_query_element.go
tag_search_query_element.go
timestamp_search_query_element.go
tracking_activity_resp_items.go
tracking_csv_resp_items.go
tracking_downloads_resp_items.go
tracking_files_resp_items.go
tracking_id_resp_items.go
tracking_resp_items.go
unblock_captcha_req.go
upload_api.go
upload_api_test.go
upload_finalize_resp.go
upload_link_req.go
user_api.go
user_api_test.go
user_create_req.go
user_delete_req.go
user_edit_req.go
user_permission_req.go
user_permission_resp.go
user_remove_mfa_req.go
user_reset_mfa_req.go
user_resp.go
user_set_mfa_req.go
user_signup_req.go
validation.go
widget_api.go
widget_api_test.go
widget_finalize_upload_resp.go
widget_upload_link_req.go
widget_upload_link_resp.go

README.md

Go API client for quatrix

Download and upload files or folders, share them with predefined security options, manage your account and profile settings and a lot more functionalities can be easily integrated into your application using our Quatrix APIs. Learn more how to authenticate the Quatrix session, how to construct JSON formatted API calls and what responses to expect in our API Guide.

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.GoClientCodegen

Installation

Put the package under your project folder and add the following in import:

    "./quatrix"

Documentation for API Endpoints

All URIs are relative to https://api.quatrix.it/api/1.0

Class Method HTTP request Description
AccountApi AccountInfoGet Get /account/info Get account usage info
AccountApi AccountListGet Get /account/list List user accounts
AccountApi AccountLogoGet Get /account/logo Get account logo
AccountApi AccountMetadataGet Get /account/metadata Get account metadata
AccountApi AccountRolesGet Get /account/roles Call users of the account
ActivityLogApi TrackingActivityGet Get /tracking/activity Get activity log
ActivityLogApi TrackingCsvGet Get /tracking/csv Download CSV file with activity log
ActivityLogApi TrackingDownloadsIdGet Get /tracking/downloads/{id} Get shared file downloads
ActivityLogApi TrackingFilesIdGet Get /tracking/files/{id} Get share action files
AuthApi SessionKeepaliveGet Get /session/keepalive Refresh session expiration time
AuthApi SessionLoginGet Get /session/login Log in and get session ID details
AuthApi SessionLoginPost Post /session/login Log in to the account using MFA
AuthApi SessionLogoutGet Get /session/logout Close the user's session
AuthApi SessionUnblockCaptchaPost Post /session/unblock-captcha Unblock the session using CAPTCHA
AutomationApi AutomationCreatePost Post /automation/create Create a new automation
AutomationApi AutomationDeletePost Post /automation/delete Delete automations
AutomationApi AutomationEditPost Post /automation/edit/ Edit an existing automation
AutomationApi AutomationGet Get /automation List all automations
AutomationApi AutomationMetadataIdGet Get /automation/metadata/{id} Get automation metadata
BillingApi BillingUpgradePost Post /billing/upgrade Upgrade the user's account
ContactApi ContactCreatePost Post /contact/create Create a new contact
ContactApi ContactDeletePost Post /contact/delete Delete a contact
ContactApi ContactEditIdPost Post /contact/edit/{id} Edit contact metadata
ContactApi ContactGet Get /contact List user contacts
ContactApi ContactGroupGet Get /contact/group List available contact groups.
ContactApi ContactMetadataIdGet Get /contact/metadata/{id} Get contact metadata
ContactApi ContactPgpKeyIdGet Get /contact/pgp-key/{id} Get contact's PGP key
ContactApi ContactUpgradeIdGet Get /contact/upgrade/{id} Upgrade a contact
FileApi FileAddTagIdPost Post /file/add-tag/{id} Add a file tag
FileApi FileCopyPost Post /file/copy Copy files
FileApi FileCsvIdGet Get /file/csv/{id} Download CSV file with Folder Content
FileApi FileDeletePost Post /file/delete Delete files
FileApi FileDiffIdGet Get /file/diff/{id} Display changes of the file
FileApi FileDownloadIdGet Get /file/download/{id} Download file
FileApi FileDownloadLinkPost Post /file/download-link Get download link
FileApi FileInfoIdGet Get /file/info/{id} Get file info
FileApi FileMakedirPost Post /file/makedir Create a new folder
FileApi FileMetadataGet Get /file/metadata Get metadata of files
FileApi FileMetadataIdGet Get /file/metadata/{id} Get all file metadata
FileApi FileMetadataPost Post /file/metadata Modify file metadata
FileApi FileModifyPost Post /file/modify Get file modification link
FileApi FileMovePost Post /file/move Move files
FileApi FilePreviewIdGet Get /file/preview/{id} Get a file preview
FileApi FileRenameIdPost Post /file/rename/{id} Rename a file
FileApi FileSearchPost Post /file/search Search files
FileApi FileSizeIdGet Get /file/size/{id} Get file size
FileApi FileTagsIdGet Get /file/tags/{id} Get a list of file tags
GroupApi ContactGroupGet Get /contact/group List available contact groups.
GroupApi GroupGet Get /group List available user groups
GroupApi GroupMetadataIdGet Get /group/metadata/{id} Get group metadata
GroupApi UserGroupGet Get /user/group List all user groups
InboxApi InboxGet Get /inbox Get contact's share tracking
LanguageApi LanguagesDefaultGet Get /languages/default Get default language
LanguageApi LanguagesGet Get /languages List available languages
MFAApi ProfileRemoveMfaPost Post /profile/remove-mfa Disable MFA for the logged-in user
MFAApi ProfileSetMfaPost Post /profile/set-mfa Enable MFA for the logged-in user
MFAApi SessionLoginPost Post /session/login Log in to the account using MFA
MFAApi UserRemoveMfaPost Post /user/remove-mfa Disable MFA for users
MFAApi UserResetMfaPost Post /user/reset-mfa Update existing MFA settings for users
MFAApi UserSetMfaPost Post /user/set-mfa Enable MFA for users
PGPApi ContactPgpKeyIdGet Get /contact/pgp-key/{id} Get contact's PGP key
PGPApi KeyRequestMetadataIdGet Get /key-request/metadata/{id} Get PGP key request metadata
PGPApi KeyRequestRespondIdPost Post /key-request/respond/{id} Respond to PGP key request
PGPApi PgpKeyCreatePost Post /pgp-key/create Create PGP key
PGPApi PgpKeyDeleteIdGet Get /pgp-key/delete/{id} Delete PGP key
PGPApi PgpKeyEditIdPost Post /pgp-key/edit/{id} Edit PGP key
PGPApi PgpKeyMetadataIdGet Get /pgp-key/metadata/{id} Get PGP key metadata
PGPApi PgpKeyRecipientsPost Post /pgp-key/recipients Get recipients' PGP keys
PGPApi PgpKeyRequestIdsGet Get /pgp-key/request/{ids[]} Request PGP key
PGPApi UserPgpKeyIdGet Get /user/pgp-key/{id} Get user's PGP key
PasswordResetApi ResetPasswordMetadataIdGet Get /reset-password/metadata/{id} Get password reset request metadata
PasswordResetApi ResetPasswordRequestPost Post /reset-password/request Request password reset
PasswordResetApi ResetPasswordResetIdPost Post /reset-password/reset/{id} Reset password
PreviewApi FilePreviewIdGet Get /file/preview/{id} Get a file preview
PreviewApi PreviewIdGet Get /preview/{id} Get binary preview data
ProfileApi Profile2faGenerateGet Get /profile/2fa/generate Generate a new 2FA code
ProfileApi ProfileGet Get /profile Get profile metadata
ProfileApi ProfileInfoGet Get /profile/info Retrieve additional profile info
ProfileApi ProfileRemoveMfaPost Post /profile/remove-mfa Disable MFA for the logged-in user
ProfileApi ProfileSetMfaPost Post /profile/set-mfa Enable MFA for the logged-in user
ProfileApi ProfileSetPasswordPost Post /profile/set-password Change profile password
ProfileApi ProfileSetPost Post /profile/set Update profile metadata
ProjectFolderApi ProjectFolderAddUsersIdPost Post /project-folder/add-users/{id} Add users to the project folder
ProjectFolderApi ProjectFolderCreatePost Post /project-folder/create Create a project folder
ProjectFolderApi ProjectFolderDeleteIdGet Get /project-folder/delete/{id} Convert a project folder to a folder
ProjectFolderApi ProjectFolderDeleteUsersPost Post /project-folder/delete-users/ Remove project folder users
ProjectFolderApi ProjectFolderEditUsersIdPost Post /project-folder/edit-users/{id} Update users’ permissions of the project folder
ProjectFolderApi ProjectFolderGet Get /project-folder List available project folders for a logged-in user
ProjectFolderApi ProjectFolderMetadataIdGet Get /project-folder/metadata/{id} Get project folder metadata
ProjectFolderApi ProjectFolderProjectUsersPost Post /project-folder/project-users List all project folders for given users
ProjectFolderApi ProjectFolderSetUsersPost Post /project-folder/set-users Add users to project folders.
ProjectFolderApi ProjectFolderUsersIdGet Get /project-folder/users/{id} List users of the project folder
SSHKeyApi SshKeyCreatePost Post /ssh-key/create Create a new SSH key
SSHKeyApi SshKeyDeletePost Post /ssh-key/delete Delete SSH key
SSHKeyApi SshKeyEditPost Post /ssh-key/edit Edit SSH key metadata
SSHKeyApi SshKeyGet Get /ssh-key List available SSH keys
SSHKeyApi SshKeyMetadataIdGet Get /ssh-key/metadata/{id} Get SSH key metadata
ServiceApi ServiceGet Get /service List available services
ServiceApi ServiceMetadataIdGet Get /service/metadata/{id} Get service metadata
ShareApi FilesReturnMakedirIdPost Post /files-return/makedir/{id} Create a directory for returned files
ShareApi FilesReturnMetadataIdGet Get /files-return/metadata/{id} Get return files metadata
ShareApi FilesReturnSendPost Post /files-return/send Return files in the created share
ShareApi FilesReturnUploadLinkIdPost Post /files-return/upload-link/{id} Get return files upload link
ShareApi QuicklinkCreatePost Post /quicklink/create Create a quicklink
ShareApi QuicklinkLoginPinPost Post /quicklink/login-pin Log in with PIN to access a quicklink
ShareApi QuicklinkRevokeIdGet Get /quicklink/revoke/{id} Revoke a quicklink
ShareApi ShareCreatePost Post /share/create Create a file share
ShareApi ShareDownloadIdGet Get /share/download/{id} Download share files
ShareApi ShareDownloadInfoIdGet Get /share/download-info/{id} Get share download info
ShareApi ShareDownloadLinkIdGet Get /share/download-link/{id} Get download link for all files
ShareApi ShareDownloadLinkIdPost Post /share/download-link/{id} Get download link for specified files
ShareApi ShareFilesIdGet Get /share/files/{id} List shared files
ShareApi ShareLoginPinPost Post /share/login-pin Log in with PIN to access a share
ShareApi SharePreviewIdGet Get /share/preview/{id} Preview a shared file
ShareApi ShareRecipientsGet Get /share/recipients List all contacts for the share
ShareApi ShareRequestPost Post /share/request Send a request to share files
ShareApi ShareRevokeIdGet Get /share/revoke/{id} Revoke a share
ShareApi ShareSendRequestIdPost Post /share/send-request/{id} Request files. Use /share/request API call instead.
ShareApi TrackingGet Get /tracking/ List share actions metadata for all users
ShareApi TrackingIdGet Get /tracking/{id} List share actions metadata for a user
SiteSettingsApi SettingsAuthMethodsGet Get /settings/auth-methods Get available authentication methods
SiteSettingsApi SettingsGet Get /settings Get site settings
SiteSettingsApi SettingsSetPost Post /settings/set Set site settings
SiteSettingsApi SettingsUploadLogoLinkGet Get /settings/upload-logo-link Get a new logo upload link
UploadApi FileModifyPost Post /file/modify Get file modification link
UploadApi SettingsUploadLogoLinkGet Get /settings/upload-logo-link Get a new logo upload link
UploadApi UploadFinalizeIdGet Get /upload/finalize/{id} Finalize chunked file upload
UploadApi UploadLinkPost Post /upload/link Get file upload link
UserApi UserCreatePost Post /user/create Create a user
UserApi UserDeletePost Post /user/delete Delete users
UserApi UserEditPost Post /user/edit Update metadata of users
UserApi UserGet Get /user List users
UserApi UserGroupGet Get /user/group List all user groups
UserApi UserMetadataIdGet Get /user/metadata/{id} Get user metadata
UserApi UserPgpKeyIdGet Get /user/pgp-key/{id} Get user's PGP key
UserApi UserRemoveMfaPost Post /user/remove-mfa Disable MFA for users
UserApi UserResetMfaPost Post /user/reset-mfa Update existing MFA settings for users
UserApi UserSetMfaPost Post /user/set-mfa Enable MFA for users
UserApi UserSignupPost Post /user/signup Register a new user
WidgetApi WidgetFinalizeUploadIdGet Get /widget/finalize-upload/{id} Finalize chunked upload of the widget
WidgetApi WidgetMetadataIdGet Get /widget/metadata/{id} Get all widget metadata
WidgetApi WidgetUploadLinkIdPost Post /widget/upload-link/{id} Get widget upload link

Documentation For Models

Documentation For Authorization

api_key

  • Type: API key

Example

	auth := context.WithValue(context.Background(), sw.ContextAPIKey, sw.APIKey{
		Key: "APIKEY",
		Prefix: "Bearer", // Omit if not necessary.
	})
    r, err := client.Service.Operation(auth, args)

basicAuth

  • Type: HTTP basic authentication

Example

	auth := context.WithValue(context.Background(), sw.ContextBasicAuth, sw.BasicAuth{
		UserName: "username",
		Password: "password",
	})
    r, err := client.Service.Operation(auth, args)

Author

You can’t perform that action at this time.