Get site version
Gets a version of a site.
GET
Gets a version of a site.
bearerheader
AuthorizationBearer <token>An access token, or an API key.
project*stringThe project's ID.
Match
^prj_[0-7][0-9a-hjkmnp-tv-z]{25}$site*stringThe site's ID.
Match
^sit_[0-7][0-9a-hjkmnp-tv-z]{25}$version*stringThe version's number.
Match
^[1-9][0-9]{0,8}$OK
application/json- response
agent*stringThe agent that published it, if one did, by its resource name.
createTime*stringWhen it was published.
Format
date-timecreator*stringWho published it, as a member such as agent:{agent_id}.
fileCount*integerHow many files the version has.
Format
int32name*stringResource name, projects/{project_id}/sites/{site_id}/versions/{version}, numbered from 1.
sizeBytes*integerThe size of its files, in bytes.
Format
int64curl -X GET 'https://api.kosem.ai/v1/projects/string/sites/string/versions/string'Example Response
{
"agent": "string",
"createTime": "2019-08-24T14:15:22Z",
"creator": "string",
"fileCount": 0,
"name": "string",
"sizeBytes": 0
}