Kgapi

driveservice.h
1/*
2 * This file is part of LibKGAPI library
3 *
4 * SPDX-FileCopyrightText: 2013 Daniel Vrátil <dvratil@redhat.com>
5 *
6 * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
7 */
8
9#pragma once
10
11#include "kgapidrive_export.h"
12#include "types.h"
13
14#include <QUrl>
15
16namespace KGAPI2
17{
18
19namespace DriveService
20{
21
22/**
23 * @brief Returns URL for retrieving About data
24 *
25 * @param includeSubscribed
26 * @param maxChangeIdCount
27 * @param startChangeId
28 */
29KGAPIDRIVE_EXPORT QUrl fetchAboutUrl(bool includeSubscribed, qlonglong maxChangeIdCount, qlonglong startChangeId);
30
31KGAPIDRIVE_EXPORT QUrl fetchAppUrl(const QString &appId);
32
33KGAPIDRIVE_EXPORT QUrl fetchAppsUrl();
34
35KGAPIDRIVE_EXPORT QUrl fetchChildReference(const QString &folderId, const QString &referenceId);
36
37KGAPIDRIVE_EXPORT QUrl fetchChildReferences(const QString &folderId);
38
39KGAPIDRIVE_EXPORT QUrl createChildReference(const QString &folderId);
40
41KGAPIDRIVE_EXPORT QUrl deleteChildReference(const QString &folderId, const QString &referenceId);
42
43KGAPIDRIVE_EXPORT QUrl fetchChangeUrl(const QString &changeId);
44
45KGAPIDRIVE_EXPORT QUrl fetchChangesUrl();
46
47KGAPIDRIVE_EXPORT QUrl copyFileUrl(const QString &fileId);
48
49KGAPIDRIVE_EXPORT QUrl deleteFileUrl(const QString &fileId);
50
51KGAPIDRIVE_EXPORT QUrl fetchFileUrl(const QString &fileId);
52
53KGAPIDRIVE_EXPORT QUrl fetchFilesUrl();
54
55KGAPIDRIVE_EXPORT QUrl touchFileUrl(const QString &fileId);
56
57KGAPIDRIVE_EXPORT QUrl trashFileUrl(const QString &fileId);
58
59KGAPIDRIVE_EXPORT QUrl untrashFileUrl(const QString &fileId);
60
61KGAPIDRIVE_EXPORT QUrl uploadMetadataFileUrl(const QString &fileId = QString());
62
63KGAPIDRIVE_EXPORT QUrl uploadMediaFileUrl(const QString &fileId = QString());
64
65KGAPIDRIVE_EXPORT QUrl uploadMultipartFileUrl(const QString &fileId = QString());
66
67KGAPIDRIVE_EXPORT QUrl fetchParentReferenceUrl(const QString &fileId, const QString &referenceId);
68
69KGAPIDRIVE_EXPORT QUrl fetchParentReferencesUrl(const QString &fileId);
70
71KGAPIDRIVE_EXPORT QUrl createParentReferenceUrl(const QString &fileId);
72
73KGAPIDRIVE_EXPORT QUrl deleteParentReferenceUrl(const QString &fileId, const QString &referenceId);
74
75KGAPIDRIVE_EXPORT QUrl fetchPermissionsUrl(const QString &fileId);
76
77KGAPIDRIVE_EXPORT QUrl fetchPermissionUrl(const QString &fileId, const QString &permissionId);
78
79KGAPIDRIVE_EXPORT QUrl createPermissionUrl(const QString &fileId);
80
81KGAPIDRIVE_EXPORT QUrl deletePermissionUrl(const QString &fileId, const QString &permissionId);
82KGAPIDRIVE_EXPORT QUrl modifyPermissionUrl(const QString &fileId, const QString &permissionId);
83
84KGAPIDRIVE_EXPORT QUrl fetchRevisionUrl(const QString &fileId, const QString &revisionId);
85
86KGAPIDRIVE_EXPORT QUrl fetchRevisionsUrl(const QString &fileId);
87
88KGAPIDRIVE_EXPORT QUrl deleteRevisionUrl(const QString &fileId, const QString &revisionId);
89
90KGAPIDRIVE_EXPORT QUrl modifyRevisionUrl(const QString &fileId, const QString &revisionId);
91
92KGAPIDRIVE_EXPORT QUrl fetchDrivesUrl(const QString &drivesId);
93
94KGAPIDRIVE_EXPORT QUrl hideDrivesUrl(const QString &drivesId, bool hide);
95
96KGAPIDRIVE_EXPORT QUrl fetchDrivesUrl();
97
98KGAPIDRIVE_EXPORT QUrl fetchTeamdriveUrl(const QString &teamdriveId);
99
100KGAPIDRIVE_EXPORT QUrl fetchTeamdrivesUrl();
101
102} // namespace DriveService
103
104} // namespace KGAPI2
A job to fetch a single map tile described by a StaticMapUrl.
Definition blog.h:16
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:59:23 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.