Structures
- CommaSeparatedCapabilityCoder
- ContentItem
-
An item (a unit of content) in the portal. Each item has a unique identifier and a well known URL that is independent of the user owning the item.
- FeatureLayer
- FeatureLayerInfo
- DrawingInfo
- DrawingInfo.Renderer
- DrawingInfo.Renderer.UniqueValueInfo
- DrawingInfo.Renderer.UniqueValueInfo.Symbol
- DrawingInfo.Renderer.UniqueValueInfo.Symbol.Outline
- DrawingInfo.Renderer.AuthoringInfo
- DrawingInfo.Renderer.AuthoringInfo.ColorRamp
- DrawingInfo.Renderer.AuthoringInfo.ColorRamp.ColorRamp
- LayerQuery
- EditResponse
- EditResult
- FeatureService
-
A feature service can contain datasets (for example, tables and views) with or without a spatial column. Datasets with a spatial column are considered layers; those without a spatial column are considered tables. A feature service allows clients to query and edit feature geometry and attributes.
- AdvancedEditingCapabilities
- SpatialReference
- Layer
- Table
- Relationship
- ControllerDatasetLayer
- HeightModelInfo
- DatumTransformation
- GeoTransform
- Extent
- ValidationSystemLayer
- ExtractChangesCapability
- SyncCapability
- EditorTrackingInfo
- QueryResponse
- GeometryProperties
- CodedValue
- TableDomain
- TableField
- AGKAttachment
- AGKGeometry
- Paginated
- Folder
- AttachmentGroup
- ExifInfo
- ExifInfoTags
- Membership
Enumerations
- AuthenticationType
-
The methods to use to authenticate.
- Access
- ItemControl
- ContentType
-
The type of content owned by you or a
Group
you are in. - Either
- AGKError
- AGKAuthError
- AGKDataError
- AGKRequestError
-
Errors encountered when making API requests.
- ESRIFieldType
-
Field Types.
- SQLFormat
- Capability
- TableDomain.DomainType
- SortOrder
-
The order results are sorted by.
- Provider
-
Indicates the level of access of the user:
private
,org
,public
, oraccount
. Ifprivate
, the user descriptive information will not be available to others nor will the username be searchable. - Role
Functions
- fetchAttachments(gis:)
-
Fetch all the
Attachment
s contained in thisFeature
. - addAttachment(data:name:gis:mimeType:)
-
Add an
Attachment
to thisFeature
. - deleteAttachments(ids:gis:)
-
Deletes all the
Attachment
s whose ID is contained withinids
. - append()
- info(layerID:)
- query(layerQueries:returnGeometry:returnObjectIDs:returnCount:returnZ:returnM:geometryPrecision:returnTrueCurves:sqlFormat:gdbVersion:)
-
Query the
FeatureServer
. - delete(_:from:gdbVersion:)
-
Deletes
features
from theFeatureLayer
with the id ofid
. - add(_:to:gdbVersion:)
-
Adds
features
to theFeatureLayer
with the id ofid
. - update(_:in:gdbVersion:)
-
Updates
features
in theFeatureLayer
with the id ofid
. - fetchToken()
-
Requests a token and saves it in
self.currentToken
. - generateURL(clientID:baseURL:site:redirectURI:)
-
Generates a
URL
that users of your app should go to to authenticate. Once they authenticate, they should copy and paste the authentication code back into your app; that code can then be passed toGIS.init
. - advance(limit:)
-
Retrieves the values from
self.nextStart
tolimit
. - fetchContent(from:)
-
Retrieves the content owned by this
Group
. - fetchContent(from:)
-
Retrieves the content owned by this
User
. - update(clearEmptyFields:gis:)
-
Updates the information for this
User
on ArcGIS Online or Enterprise. - moveItem(to:)
- createFolder(name:gis:)
-
Creates a folder in which items can be placed. Folders are only visible to a user and solely used for organizing content within that user's content space.
- addFile(name:data:folder:type:tags:gis:)
Variables
- geometry
- attributes
- attachments
-
The
Attachment
s contained in thisFeature
. - url
- url
-
The URL used to access the
User
's ArcGIS Online organization, ArcGIS Enterprise installation, et cetera. - username
-
The username of the current
User
, if logged in. - password
-
The password of the current
User
, if logged in. - authType
- isAnonymous
- currentToken
-
The token for the logged in
User
. - refreshToken
-
The token that is used to refresh
self.currentToken
. - tokenExpirationDate
-
The
Date
whenself.currentToken
will expire. - tokenExpired
-
If
self.currentToken
expired. - current
- id
-
The given group ID.
- title
-
The title of the group. This is the name that is displayed to users and by which they refer to the group. Every group must have a title, and it must be unique for a user.
- isInvitationOnly
-
If this is set to true, users will not be able to apply to join the group.
- owner
-
The owner user name of the group.
- description
-
The group description.
- typeKeywords
-
An array of keywords that further describes a group.
- snippet
-
The group summary.
- tags
-
User-defined tags that describe the group.
- phone
-
The contact information for the group.
- sortField
-
The sorted field.
- sortOrder
-
The sort order, either descending or ascending.
- isViewOnly
-
Boolean value indicating whether the results are only for viewing.
- isFav
-
Boolean value indicating whether marked in favorites.
- thumbnail
-
The URL to the thumbnail used for the group. All group thumbnails are relative to the URL:
https://[<community-url>](https://developers.arcgis.com/rest/users-groups-and-items/community-root.htm)/groups/<groupId>/info
. - created
-
THe date the group was created.
- modified
-
The date the group was last modified.
- access
-
The access privileges of the group that determine who can see and access the group. This can be set to private, org, or public.
- userMembership
-
If the request is made by an authenticated user, a
UserMembership
object is returned containing information about the user's access to the group. This includes theusername
of the calling user; thememberType
, which specifies the type of membership the user has in the group (owner, member, admin, none); and theapplications
(number of requests to join the group) count available to administrators and owners. - protected
-
Indicates if the group is protected from deletion. The default value is
false
. - autoJoin
-
Only applies to org accounts. Indicates if the group allows joining without requesting membership approval. The default value is
false
. - hasCategorySchema
-
If
true
, the group has content category set. - isOpenData
-
If
true
, the group is designated as available for use in Open Data sites. - id
-
The ID of the user.
- firstName
-
The user's first name.
- lastName
-
The user's last name.
- fullName
-
The user's full name.
- username
-
The username of the given user.
- idpUsername
-
The original username if using enterprise logins.
-
The user's e-mail address.
- description
-
A description of the user.
- tags
-
User-defined tags that describe the user.
- availableCredits
-
The number of credits available to the user.
- assignedCredits
-
The number of credits allocated to the user.
- preferredView
-
The user's preferred view for content, either web or GIS.
- access
-
Indicates the level of access of the user: private, org, or public. If
private
, the user descriptive information will not be available to others nor will the username be searchable. - mfaEnabled
-
Indicates if the user's account has multifactor authentication set up.
- favGroupId
-
The user's favorites group and is created automatically for each user.
- lastLogin
-
The last login date of the user.
- storageUsage
-
The total storage used by the user's organization or subscription in Byte.
- storageQuota
-
The total storage amount allowed for the user's organization or subscription in Byte. Usually 2TB for organization, 2GB for non-organization.
- orgId
-
The ID of the organization the user belongs to.
- role
-
Defines the user's role in the organization.
- privileges
-
An array of
Privilege
s for thisUser
. For a complete listing, see Privileges. - roleId
-
(Optional) The ID of the user's role if it is a custom one.
- userLicenseTypeId
-
The user's user license type ID.
- disabled
-
Disables access to the organization by the user.
- units
-
User-defined units for measurement.
- culture
-
The user locale information (language and country).
- cultureFormat
-
The user preferred number and date format defined in CLDR (only applicable for English and Spanish, i.e. when culture is en or es). See Languages for supported formats. It will inherit from organization
cultureFormat
if undefined. - region
-
The user preferred region, used to set the featured maps on the home page, content in the gallery, and the default extent of new maps in the Viewer.
- thumbnail
-
The file name of the thumbnail used for the user.
- created
-
The date the user was created.
- modified
-
The date the user was last modified.
- groups
-
An array of groups the user belongs to. See Group for properties of a group.
- provider
-
The identity provider for the organization.