File indexing completed on 2024-05-12 05:22:10
0001 /* 0002 * SPDX-FileCopyrightText: 2014 Daniel Vrátil <dvratil@redhat.com> 0003 * 0004 * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0005 */ 0006 0007 #pragma once 0008 0009 #include "kgapiblogger_export.h" 0010 #include "types.h" 0011 0012 #include <QUrl> 0013 0014 namespace KGAPI2 0015 { 0016 0017 namespace BloggerService 0018 { 0019 0020 KGAPIBLOGGER_EXPORT QUrl fetchBlogByBlogIdUrl(const QString &blogId); 0021 KGAPIBLOGGER_EXPORT QUrl fetchBlogByBlogUrlUrl(const QString &blogUrl); 0022 KGAPIBLOGGER_EXPORT QUrl fetchBlogsByUserIdUrl(const QString &userId); 0023 0024 KGAPIBLOGGER_EXPORT QUrl fetchCommentsUrl(const QString &blogId, const QString &postId = QString(), const QString &commentId = QString()); 0025 0026 KGAPIBLOGGER_EXPORT QUrl approveCommentUrl(const QString &blogId, const QString &postId, const QString &commentId); 0027 KGAPIBLOGGER_EXPORT QUrl markCommentAsSpamUrl(const QString &blogId, const QString &postId, const QString &commentId); 0028 KGAPIBLOGGER_EXPORT QUrl deleteCommentUrl(const QString &blogId, const QString &postId, const QString &commentId); 0029 KGAPIBLOGGER_EXPORT QUrl deleteCommentContentUrl(const QString &blogId, const QString &postId, const QString &commentId); 0030 0031 KGAPIBLOGGER_EXPORT QUrl fetchPageUrl(const QString &blogId, const QString &pageId); 0032 KGAPIBLOGGER_EXPORT QUrl deletePageUrl(const QString &blogId, const QString &pageId); 0033 KGAPIBLOGGER_EXPORT QUrl modifyPageUrl(const QString &blogId, const QString &pageId); 0034 KGAPIBLOGGER_EXPORT QUrl createPageUrl(const QString &blogId); 0035 0036 KGAPIBLOGGER_EXPORT QUrl fetchPostUrl(const QString &blogId, const QString &postId); 0037 KGAPIBLOGGER_EXPORT QUrl searchPostUrl(const QString &blogId); 0038 KGAPIBLOGGER_EXPORT QUrl createPostUrl(const QString &blogId); 0039 KGAPIBLOGGER_EXPORT QUrl deletePostUrl(const QString &blogId, const QString &postId); 0040 KGAPIBLOGGER_EXPORT QUrl modifyPostUrl(const QString &blogId, const QString &postId); 0041 KGAPIBLOGGER_EXPORT QUrl publishPostUrl(const QString &blogId, const QString &postId); 0042 KGAPIBLOGGER_EXPORT QUrl revertPostUrl(const QString &blogId, const QString &postId); 0043 0044 } // namespace BloggerService 0045 } // namespace KGAPI2