AI-generated Key Takeaways
-
A Site represents an app or website belonging to a channel, identified by a name and a URL or App ID.
-
You can manage sites using methods to create, delete, list, bulk edit, or replace them within a channel.
-
Sites are defined by a JSON structure containing the site's name and its URL or App ID.
Resource: Site
A single site. Sites are apps or websites belonging to a channel.
JSON representation |
---|
{ "name": string, "urlOrAppId": string } |
Fields | |
---|---|
name |
Output only. The resource name of the site. |
urlOrAppId |
Required. The app ID or URL of the site. Must be UTF-8 encoded with a maximum length of 240 bytes. |
Methods |
|
---|---|
|
Bulk edits sites under a single channel. |
|
Creates a site in a channel. |
|
Deletes a site from a channel. |
|
Lists sites in a channel. |
|
Replaces all of the sites under a single channel. |