{ "opencollection": "1.0.0", "info": { "name": "Microsoft Graph Admin Admin.admin Sites.site API", "version": "1.0.0" }, "items": [ { "info": { "name": "Sites.site", "type": "folder" }, "items": [ { "info": { "name": "Microsoft Graph List sites", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/sites", "params": [ { "name": "$top", "value": "50", "type": "query", "description": "Show only the first n items" }, { "name": "$skip", "value": "", "type": "query", "description": "Skip the first n items" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" }, { "name": "$count", "value": "", "type": "query", "description": "Include count of items" }, { "name": "$orderby", "value": "", "type": "query", "description": "Order items by property values" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.\r\nIf you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale." }, { "info": { "name": "Microsoft Graph Get a site resource", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/sites/:site-id", "params": [ { "name": "site-id", "value": "", "type": "path", "description": "The unique identifier of site" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Retrieve properties and relationships for a site resource.\r\nA site resource represents a team site in SharePoint." }, { "info": { "name": "Microsoft Graph Update entity in sites", "type": "http" }, "http": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/sites/:site-id", "params": [ { "name": "site-id", "value": "", "type": "path", "description": "The unique identifier of site" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Microsoft Graph Update entity in sites" }, { "info": { "name": "Microsoft Graph Get sites from sites", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/sites/:site-id/getByPath(path=':path')/sites", "params": [ { "name": "site-id", "value": "", "type": "path", "description": "The unique identifier of site" }, { "name": "path", "value": "", "type": "path", "description": "Usage: path='{path}'" }, { "name": "$top", "value": "50", "type": "query", "description": "Show only the first n items" }, { "name": "$skip", "value": "", "type": "query", "description": "Skip the first n items" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" }, { "name": "$count", "value": "", "type": "query", "description": "Include count of items" }, { "name": "$orderby", "value": "", "type": "query", "description": "Order items by property values" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "The collection of the sub-sites under this site." }, { "info": { "name": "Microsoft Graph List subsites for a site", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/sites/:site-id/sites", "params": [ { "name": "site-id", "value": "", "type": "path", "description": "The unique identifier of site" }, { "name": "$top", "value": "50", "type": "query", "description": "Show only the first n items" }, { "name": "$skip", "value": "", "type": "query", "description": "Skip the first n items" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" }, { "name": "$count", "value": "", "type": "query", "description": "Include count of items" }, { "name": "$orderby", "value": "", "type": "query", "description": "Order items by property values" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Get a collection of subsites defined for a site." }, { "info": { "name": "Microsoft Graph Get sites from sites", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/sites/:site-id/sites/:site-id1", "params": [ { "name": "site-id", "value": "", "type": "path", "description": "The unique identifier of site" }, { "name": "site-id1", "value": "", "type": "path", "description": "The unique identifier of site" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "The collection of the sub-sites under this site." }, { "info": { "name": "Microsoft Graph Get the number of the resource", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/sites/:site-id/sites/$count", "params": [ { "name": "site-id", "value": "", "type": "path", "description": "The unique identifier of site" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" } ] }, "docs": "Microsoft Graph Get the number of the resource" }, { "info": { "name": "Microsoft Graph Get the number of the resource", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/sites/$count", "params": [ { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" } ] }, "docs": "Microsoft Graph Get the number of the resource" } ] } ], "bundled": true }