IHubResource

Interface

DEPRECATED: Use IHubEntityBase instead. Properties that are common to Hub content, community, members, etc

Properties

Property Type Notes
createdDate Date

Date the item was created

hubType HubType

Type of Hub resource

name string

Generic term for the primary label (title, fullname, username, etc.)

updatedDate Date

Date the item was last updated

boundary Optional IHubGeography

boundary will default to the item extent but can be overwritten by enrichments from the Hub API (inline) or fetched from a location such as /resources/boundary.json

createdDateSource Optional string

description of what was used for this attribute the item key, e.g. item.created or item.metadata.created_date

metadata Optional any

Additional metadata from a metadata document using a formal or custom schema. For example, item metadata in ArcGIS Online Metadata stored in XML format is parsed into JSON.

portalApiUrl Optional string

URL of the Portal API endpoint for the resource

portalHomeUrl Optional string

URL of the resource"s page in the Portal Home application

summary Optional string

Content snippet or other summary

thumbnailUrl Optional string

Fully qualified URL for the item"s thumbnail, including current user"s token if authenticated and required

updatedDateSource Optional string

description of what was used for this attribute the item key, e.g. item.modified or item.metadata.modified_date


Interface defined in common/src/types.ts:246