Get site
Gets a site.
Gets a site.
bearerAuthorizationBearer <token>An access token, or an API key.
project*stringThe project's ID.
^prj_[0-7][0-9a-hjkmnp-tv-z]{25}$site*stringThe site's ID.
^sit_[0-7][0-9a-hjkmnp-tv-z]{25}$OK
application/json- response
agent*stringThe agent that made the site, if one did, by its resource name.
createTime*stringWhen the site was made.
date-timecreator*stringWho made the site, as a member such as agent:{agent_id}.
displayName*stringWhat people call the site, at most 100 characters.
etag*stringChanges with each update. Send it back when updating the site; the update fails with aborted if the site changed in between.
liveVersion*stringThe version the site serves, by its resource name: publishing sets it, and an update makes an older version live again. Empty while none is live.
name*stringResource name, projects/{project_id}/sites/{site_id}.
restricted*booleanWhether the roles on the project reach the site only for those who also hold sites.sites.accessPrivate there, its owners and Sites Admins, as while the agent that made it is private: then people who may see that agent open it, with those its own IAM policy names. It follows the agent's visibility, and only kosem changes it.
updateTime*stringWhen the site, or the version it serves, last changed.
date-timeuri*stringThe site's address, https://{host}.{domain}/ under the sites' domain, whose host is the site's alone.
visibility*stringWho may open the site: PRIVATE, people who may see it, after signing in to kosem; PUBLIC, anyone with its link. Private when the site is made.
"PRIVATE""PUBLIC"curl -X GET 'https://api.kosem.ai/v1/projects/string/sites/string'{
"agent": "string",
"createTime": "2019-08-24T14:15:22Z",
"creator": "string",
"displayName": "string",
"etag": "string",
"liveVersion": "string",
"name": "string",
"restricted": true,
"updateTime": "2019-08-24T14:15:22Z",
"uri": "string",
"visibility": "PRIVATE"
}