Finds and returns assets that match the provided name search criteria.
curl --request POST \
--url https://production-storytell-ai-platfor-cds2.encr.app/v1/assets/search \
--header 'Content-Type: application/json' \
--data '{
"filterByCollections": [
[
127
]
],
"filterByContentType": [
"<string>"
],
"lifecycleStates": [
"<string>"
],
"matchName": "<string>",
"pagination": {
"Limit": 1,
"Offset": 1,
"Sort": [
"<string>"
]
}
}'
{
"code": "<string>",
"data": {
"pagination": {
"count": 1,
"currentPage": 1,
"firstRecordOnPage": "<string>",
"hasNextPage": true,
"hasPreviousPage": true,
"lastRecordOnPage": "<string>",
"limit": 1,
"offset": 1,
"totalPages": 1
},
"result": {
"collections": {},
"entities": [
{
"actions": [
"<string>"
],
"collectionIds": [
[
127
]
],
"data": {
"contentType": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"displayName": "<string>",
"etag": "<string>",
"filesize": 123,
"id": "<string>",
"lifecycleState": "<string>",
"modifiedAt": "2023-11-07T05:31:56Z",
"organizationId": "<string>",
"originalFilename": "<string>",
"processingFailureReason": "<string>",
"processingStatusText": "<string>",
"signedSourceURL": "<string>",
"summary": "<string>",
"tenantId": "<string>",
"textTokens": 123,
"userDisplayName": "<string>",
"userId": "<string>",
"version": -1
},
"flags": [
[
"<string>"
]
]
}
]
}
},
"details": {
"consumption": {
"units": 123
},
"operation": {
"duration": 123,
"operationId": "<string>"
}
},
"done": true,
"eventKey": "<string>",
"message": "<string>"
}
Success response
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://production-storytell-ai-platfor-cds2.encr.app/v1/assets/search \
--header 'Content-Type: application/json' \
--data '{
"filterByCollections": [
[
127
]
],
"filterByContentType": [
"<string>"
],
"lifecycleStates": [
"<string>"
],
"matchName": "<string>",
"pagination": {
"Limit": 1,
"Offset": 1,
"Sort": [
"<string>"
]
}
}'
{
"code": "<string>",
"data": {
"pagination": {
"count": 1,
"currentPage": 1,
"firstRecordOnPage": "<string>",
"hasNextPage": true,
"hasPreviousPage": true,
"lastRecordOnPage": "<string>",
"limit": 1,
"offset": 1,
"totalPages": 1
},
"result": {
"collections": {},
"entities": [
{
"actions": [
"<string>"
],
"collectionIds": [
[
127
]
],
"data": {
"contentType": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"displayName": "<string>",
"etag": "<string>",
"filesize": 123,
"id": "<string>",
"lifecycleState": "<string>",
"modifiedAt": "2023-11-07T05:31:56Z",
"organizationId": "<string>",
"originalFilename": "<string>",
"processingFailureReason": "<string>",
"processingStatusText": "<string>",
"signedSourceURL": "<string>",
"summary": "<string>",
"tenantId": "<string>",
"textTokens": 123,
"userDisplayName": "<string>",
"userId": "<string>",
"version": -1
},
"flags": [
[
"<string>"
]
]
}
]
}
},
"details": {
"consumption": {
"units": 123
},
"operation": {
"duration": 123,
"operationId": "<string>"
}
},
"done": true,
"eventKey": "<string>",
"message": "<string>"
}