Docs sites
Manage your published docs sites.
The Docs Sites API lets you programmatically manage published documentation sites within your organization. You can list and update all sites created under a specific organization, making it easy to audit or interact with site metadata at scale.
Unique identifier of the site
The type of the site
The currently applied type of the site. For example, frozen sites will have this set to Basic.
Title of the site
Custom hostname for the site, for e.g. docs.mycompany.com
^([a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?[.]){2,}[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$Basename for the site. For e.g. api
The visibility setting of the site determines the audience of the site.
public: Anyone can access the site, and the site is indexed by search engines.unlisted: Anyone can access the site, and the site is not indexed by search enginesshare-link: Anyone with a secret token in the url can access the site.visitor-auth: Anyone authenticated through a JWT token can access the site.
Whether the site is live or not. If true, the site is accessible to the audience defined by the visibility setting.
Defines if the site will be included in the agent's context.
excludedmeans that the agent will not be able to access the site.includedmeans that the agent will be able to access the site.
The Site object
The unique id of the organization
Identifier of the page results to fetch.
The number of results per page
Identifier of the space to filter the sites by
Filter sites by their title
Filter sites by their published status
OK
OK
The unique id of the organization
The type of the site, defaults to Basic
Title of the site
The visibility setting of the site determines the audience of the site.
public: Anyone can access the site, and the site is indexed by search engines.unlisted: Anyone can access the site, and the site is not indexed by search enginesshare-link: Anyone with a secret token in the url can access the site.visitor-auth: Anyone authenticated through a JWT token can access the site.
ID of spaces to be added to the site
Site created
Site created
The unique id of the organization
The unique id of the site
OK
No matching site found
The unique id of the organization
The unique id of the site
Site did not exist
Site has been deleted
No content
The unique id of the organization
The unique id of the site
Title of the site
The visibility setting of the site determines the audience of the site.
public: Anyone can access the site, and the site is indexed by search engines.unlisted: Anyone can access the site, and the site is not indexed by search enginesshare-link: Anyone with a secret token in the url can access the site.visitor-auth: Anyone authenticated through a JWT token can access the site.
Basename for the site. For e.g. api
Defines if the site will be included in the agent's context.
excludedmeans that the agent will not be able to access the site.includedmeans that the agent will be able to access the site.
ID of the site-space to be used as the default at the root level. If site has sections, this will mark the default site space in the site's default section.
ID of the site-section to be used as the default.
Configure a proxy URL for a site. For example, you can use it to host the site on a subdirectory of your domain like https://company.com/docs.
Use null to remove the proxy.
Proxy URL for the site, for e.g. company.com/docs or www.company.com/developer/docs etc.
^([\w-]+\.)*[\w-]+\.[a-zA-Z]{2,}(\/[\w-]+)+$OK
OK
The unique id of the organization
The unique id of the site
The JSON schema that defines the attributes expected from a visitor of the Adaptive content site.
No visitor attributes schema found for the site.
Unexpected Error
The unique id of the organization
The unique id of the site
The site adaptive schema has been updated.
Bad Request
Unexpected Error
List templates of conditions generated based on the site visitor schema that can be used in adaptive content expressions.
The unique id of the organization
The unique id of the site
List of template conditions generated based on the site visitor schema.
List of template conditions generated based on the site visitor schema.
Get the complete profile of a site in an organization to provide the published experience. It includes site, customization, structure, integration scripts etc.
The unique id of the organization
The unique id of the site
For sites published via share-links, the share key is useful to resolve published URLs.
OK
No matching site found
The unique id of the organization
The unique id of the site
Site published successfully
Site published successfully
The unique id of the organization
The unique id of the site
Site unpublished successfully
Site unpublished successfully
The unique id of the organization
The unique id of the site
Item successfully moved
Invalid move position provided
No matching item found
Unexpected Error
The unique id of the organization
The unique id of the site
Identifier of the page results to fetch.
The number of results per page
OK
OK
Last updated
Was this helpful?