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 like bulkEdit, create, delete, list, and replace to control their association with channels.
-
Site data is represented in JSON format with the fields
name
andurlOrAppId
, wherename
is read-only and system-generated. -
The
urlOrAppId
field is required when creating a site and must be UTF-8 encoded with a maximum length of 240 bytes.
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. |