15 #ifndef QGSARCGISPORTALUTILS_H
16 #define QGSARCGISPORTALUTILS_H
18 #include "qgis_core.h"
22 #include <QVariantMap>
84 Q_DECL_DEPRECATED
static QVariantMap retrieveUserInfo(
const QString &communityUrl,
const QString &user,
const QString &authcfg, QString &errorTitle
SIP_OUT, QString &errorText
SIP_OUT,
const QMap< QString, QVariant > &requestHeaders,
QgsFeedback *feedback =
nullptr )
SIP_DEPRECATED;
102 static QVariantList retrieveUserGroups( const QString &communityUrl, const QString &user, const QString &authcfg, QString &errorTitle
SIP_OUT, QString &errorText
SIP_OUT, const
QgsHttpHeaders &requestHeaders =
QgsHttpHeaders(),
QgsFeedback *feedback =
nullptr );
120 Q_DECL_DEPRECATED static QVariantList retrieveUserGroups( const QString &communityUrl, const QString &user, const QString &authcfg, QString &errorTitle
SIP_OUT, QString &errorText
SIP_OUT, const QMap< QString, QVariant > &requestHeaders,
QgsFeedback *feedback =
nullptr )
SIP_DEPRECATED;
137 static QVariantList retrieveGroupContent( const QString &contentUrl, const QString &groupId, const QString &authcfg, QString &errorTitle
SIP_OUT, QString &errorText
SIP_OUT, const
QgsHttpHeaders &requestHeaders =
QgsHttpHeaders(),
QgsFeedback *feedback =
nullptr,
int pageSize = 100 );
154 Q_DECL_DEPRECATED static QVariantList retrieveGroupContent( const QString &contentUrl, const QString &groupId, const QString &authcfg, QString &errorTitle
SIP_OUT, QString &errorText
SIP_OUT, const QMap< QString, QVariant > &requestHeaders,
QgsFeedback *feedback =
nullptr,
int pageSize = 100 )
SIP_DEPRECATED;
172 static QVariantList retrieveGroupItemsOfType( const QString &contentUrl, const QString &groupId, const QString &authcfg,
173 const QList<
int > &itemTypes,
192 Q_DECL_DEPRECATED static QVariantList retrieveGroupItemsOfType( const QString &contentUrl, const QString &groupId, const QString &authcfg,
193 const QList<
int > &itemTypes,
198 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.