Search Index, REST: SearchIndexFile.Get
Retrieves details of a specific file that has been indexed within a search index.
HTTP request
GET https://rest-assistant.api.cloud.yandex.net/assistants/v1/searchIndexFile/{searchIndexId}/{fileId}
Path parameters
Request message for retrieving a file from a search index.
Field |
Description |
fileId |
string Required field. ID of the file to retrieve. |
searchIndexId |
string Required field. ID of the search index that contains the file. |
Response
HTTP Code: 200 - OK
{
"id": "string",
"searchIndexId": "string",
"createdBy": "string",
"createdAt": "string"
}
Represents a file that has been indexed within a search index.
Field |
Description |
id |
string Unique identifier of the file that was used for indexing. |
searchIndexId |
string ID of the search index that contains this file. |
createdBy |
string Identifier of the subject who created the file in the search index. |
createdAt |
string (date-time) Timestamp representing when the file was created. String in RFC3339 To work with values in this field, use the APIs described in the |