Skip to main content
GET
/
connections
/
{connection_id}
/
qwc
Get QWC file for a connection
curl --request GET \
  --url https://qubesync.com/api/v1/connections/{connection_id}/qwc \
  --header 'Authorization: Basic <encoded-value>'
{
  "qwc": "<?xml version=\"1.0\"?>\n<QBWCXML>\n  <AppName>My App</AppName>\n  <AppID></AppID>\n  <AppURL>https://myapp.com/qbwc</AppURL>\n  <AppDescription>My App Description</AppDescription>\n  <AppSupport>https://myapp.com/support</AppSupport>\n  <UserName>550e8400-e29b-41d4-a716-446655440001</UserName>\n  <OwnerID>{550e8400-e29b-41d4-a716-446655440000}</OwnerID>\n  <FileID>{123e4567-e89b-12d3-a456-426614174000}</FileID>\n  <QBType>QBFS</QBType>\n  <Scheduler>\n    <RunEveryNMinutes>5</RunEveryNMinutes>\n  </Scheduler>\n</QBWCXML>"
}

Authorizations

Authorization
string
header
required

Use your app's API_KEY as the username, and leave the password blank

Path Parameters

connection_id
string<uuid>
required

ID of the connection

Response

QWC file generated successfully

qwc
string

The contents of the QWC file

Example:

"<?xml version=\"1.0\"?>\n<QBWCXML>\n <AppName>My App</AppName>\n <AppID></AppID>\n <AppURL>https://myapp.com/qbwc</AppURL>\n <AppDescription>My App Description</AppDescription>\n <AppSupport>https://myapp.com/support</AppSupport>\n <UserName>550e8400-e29b-41d4-a716-446655440001</UserName>\n <OwnerID>{550e8400-e29b-41d4-a716-446655440000}</OwnerID>\n <FileID>{123e4567-e89b-12d3-a456-426614174000}</FileID>\n <QBType>QBFS</QBType>\n <Scheduler>\n <RunEveryNMinutes>5</RunEveryNMinutes>\n </Scheduler>\n</QBWCXML>"