Site resource

Get site - Get site v1

OVERVIEW


The get site API returns the details for a site. Anyone with site access in Collaborate is permitted to use this API endpoint.

The fields returned for the site object are determined based on user permissions. If the user is a site admin user then they will get fields such as Admin Notes. 

The current implementation does not include a logo link. 

The response object contains the user ID of the site owner.

The API responds with an access denied message when “My site” details of another user are accessed. 

Blank values for individual fields are not returned in the XML response, absence of value in the returned XML means that either the value does not exist for that field or the user does not have access to that field.

Request

GET:   /sites/{siteid}

Parameters

 

Parameter Name

Value

Description

siteid

Int

The ID for the site in question

 

Response

The API returns a site object

In the case of an invalid site ID an error object is returned.

Please note that the site parameter is permission specific, and only site admins will be returned the size of a site. 

 

Comments


0 Comments

Last Updated: Jun 09,2023