15 #ifndef QGSARCGISPORTALUTILS_H
16 #define QGSARCGISPORTALUTILS_H
18 #include "qgis_core.h"
21 #include <QVariantMap>
64 static QVariantMap retrieveUserInfo(
const QString &communityUrl,
const QString &user,
const QString &authcfg, QString &errorTitle
SIP_OUT, QString &errorText
SIP_OUT,
const QMap< QString, QString > &requestHeaders = QMap< QString, QString >(),
QgsFeedback *feedback =
nullptr );
81 static QVariantList retrieveUserGroups(
const QString &communityUrl,
const QString &user,
const QString &authcfg, QString &errorTitle
SIP_OUT, QString &errorText
SIP_OUT,
const QMap< QString, QString > &requestHeaders = QMap< QString, QString >(),
QgsFeedback *feedback =
nullptr );
97 static QVariantList retrieveGroupContent(
const QString &contentUrl,
const QString &groupId,
const QString &authcfg, QString &errorTitle
SIP_OUT, QString &errorText
SIP_OUT,
const QMap< QString, QString > &requestHeaders = QMap< QString, QString >(),
QgsFeedback *feedback =
nullptr,
int pageSize = 100 );
114 static QVariantList retrieveGroupItemsOfType(
const QString &contentUrl,
const QString &groupId,
const QString &authcfg,
115 const QList< int > &itemTypes,
116 QString &errorTitle
SIP_OUT, QString &errorText
SIP_OUT,
const QMap< QString, QString > &requestHeaders = QMap< QString, QString >(),
QgsFeedback *feedback =
nullptr,
int pageSize = 100 );
121 static QString typeToString( ItemType type );
Utility functions for working with ArcGIS REST services.
ItemType
Portal item types (not complete)
@ MapService
ArcGIS Server map service.
@ FeatureService
ArcGIS Server feature service.
@ ImageService
ArcGIS Server image service.
Base class for feedback objects to be used for cancellation of something running in a worker thread.