This document is archived and information here might be outdated.  Recommended version.


IRESTResource Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IR > IRESTResource Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (System)  

IRESTResource Interface

REST resource metadata object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Name Description
Method AddOperation Adds child operation.
Method AddResource Adds child resource.
Method FindChildOperation Finds child operation, non-recursive.
Method FindChildResource Finds child resource, non-recursive.
Method GetOperations Returns enumerator for operations.
Method GetResources Returns enumerator for immediate child resources.
Read-only property IsCollection Specifies collection resource.
Write-only property IsCollection Specifies collection resource.
Read-only property IsDefaultCollection Specifies 'default' collection resource that can be accessed without explicitly using its name in the URL.
Write-only property IsDefaultCollection Specifies 'default' collection resource that can be accessed without explicitly using its name in the URL.
Read-only property IsStatic This flag marks resources that do not change over time.
Write-only property IsStatic This flag marks resources that do not change over time.
Read-only property Name Resource name. Used in IRESTRequestHandler's schema generation and url parsing.
Write-only property Name Resource name. Used in IRESTRequestHandler's schema generation and url parsing.
Write-only property RequiredCapability Required capability for the resource.
Read-only property RequiredCapability Required capability for the resource.
Write-only property SupportsETag This flag is only for a root level resource. If this flag is true, IRRH implementation supports ETag.
Read-only property SupportsETag This flag is only for a root level resource. If this flag is true, IRRH implementation supports ETag.
Method ToJSONObject Converts resource object to JSON representation.

CoClasses that implement IRESTResource

CoClasses and Classes Description
CoRESTResource IRESTResource coclass