Skip to content

Latest commit

 

History

History
63 lines (50 loc) · 1.95 KB

File metadata and controls

63 lines (50 loc) · 1.95 KB
author spgraph-docs-team
ms.date 09/10/2017
title siteCollection resource type
ms.localizationpriority medium
ms.subservice sharepoint
description Provides more information about a site collection.
doc_type resourcePageType

siteCollection resource type

Namespace: microsoft.graph

Provides more information about a site collection.

If a site resource has a non-null siteCollection property, then the site is a root site for a site collection.

Properties

Property name Type Description
dataLocationCode string The geographic region code for where this site collection resides. Only present for multi-geo tenants. Read-only.
hostname string The hostname for the site collection. Read-only.
root root If present, indicates that this is a root site collection in SharePoint. Read-only.
archivalDetails siteArchivalDetails Represents whether the site collection is recently archived, fully archived, or reactivating. The possible values are: recentlyArchived, fullyArchived, reactivating, unknownFutureValue.

JSON representation

The following JSON representation shows the resource type.

{
  "hostname": "contoso.sharepoint.com",
  "dataLocationCode": "EUR",
  "root": { "@odata.type": "microsoft.graph.root" },
  "archivalDetails": {
    "@odata.type": "microsoft.graph.siteArchivalDetails",
    "archiveStatus": "fullyArchived"
  }
}