You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Objects in (S3-like) object storage have a name column. Although object storage is unstructured, users often give their objects name similar to file path, e.g. /foo/baz.txt, /foo/bar/test.txt. One of the common operations is listing. For example, listing folder /foo/ should yield:
/bar/
/foo/baz.txt
Request
Table name
Name of the table to list objects from
Key prefix
Limits the response to keys that begin with the specified key prefix. keyColumn0 ... path column (exclusive) values.
This is a Ydb.TypedValue that contains key column values in PK order. Must have all columns from first until the "path" column (excluding it).
Path column prefix
Limits the response to keys that begin with the specified path prefix (e.g. /foo)
Path column delimiter
A delimiter is a character that you use to group keys. For example, if path is /foo/bar/baz.txt, then delimiter should be "/"
Start after key suffix
Key's suffix column values: path column (inclusive) ... columnN values.
StartAfterKeySuffix is where you want to start listing from. This API starts listing after this specified key. StartAfterKeySuffix can be any existing or non-existing key
This is a Ydb.TypedValue that contains list of column names, list of matching types (either EQUAL or NOT_EQUAL) and list of values for the columns.
Continuation token
ContinuationToken indicates that the list is being continued on with a token. ContinuationToken is obfuscated and is not a real key. You can use this ContinuationToken for pagination of the list results
Columns to return
Which columns of the row to return. Path column and filter columns are added automatically
Max keys
Sets the maximum number of keys returned in the response. By default, the action returns up to 1,000 key names. The response might contain fewer keys but will never contain more
Response
Status
YDB operation status code
Issues
YDB operation issue messages
Common prefixes
All the keys (up to 1_000) that share the same prefix are grouped together. When counting the total numbers of returns by this API operation, this group of keys is considered as one item.
A response can contain CommonPrefixes only if you specify a delimiter.
CommonPrefixes contains all (if there are any) keys between Prefix and the next occurrence of the string specified by a delimiter.
Contents
Returned rows with specified columns (path and filter columns are added automatically)
Next continuation token
NextContinuationToken is sent when isTruncated is true, which means there are more keys that can be listed. The next list requests can be continued with this NextContinuationToken. NextContinuationToken is obfuscated and is not a real key
Is truncated
Set to false if all of the results were returned. Set to true if more keys are available to return
⚪ 2024-05-10 07:34:48 UTC Pre-commit check for ae3004d has started.
⚪ 2024-05-10 07:34:50 UTC Build linux-x86_64-release-clang14 is running...
🔴 2024-05-10 07:51:11 UTC Build failed. see the build logs.
⚪ 2024-05-10 07:34:59 UTC Pre-commit check for ae3004d has started.
⚪ 2024-05-10 07:35:01 UTC Build linux-x86_64-relwithdebinfo is running...
🔴 2024-05-10 07:52:58 UTC Build failed. see the build logs.
🔴 2024-05-10 07:54:34 UTC Tests run skipped.
⚪ 2024-05-10 07:34:59 UTC Pre-commit check for ae3004d has started.
⚪ 2024-05-10 07:35:01 UTC Build linux-x86_64-release-asan is running...
🔴 2024-05-10 07:54:26 UTC Build failed. see the build logs.
🔴 2024-05-10 07:56:05 UTC Tests run skipped.
⚪ 2024-05-10 08:21:52 UTC Pre-commit check for 7094dea has started.
⚪ 2024-05-10 08:21:55 UTC Build linux-x86_64-release-clang14 is running...
🟢 2024-05-10 08:23:45 UTC Build successful.
⚪ 2024-05-10 08:22:09 UTC Pre-commit check for 7094dea has started.
⚪ 2024-05-10 08:22:12 UTC Build linux-x86_64-relwithdebinfo is running...
🟢 2024-05-10 08:24:14 UTC Build successful.
⚪ 2024-05-10 08:26:07 UTC Tests are running...
🔴 2024-05-10 10:22:48 UTC Some tests failed, follow the links below.
⚪ 2024-05-10 08:22:09 UTC Pre-commit check for 7094dea has started.
⚪ 2024-05-10 08:22:12 UTC Build linux-x86_64-release-asan is running...
🟢 2024-05-10 08:24:14 UTC Build successful.
⚪ 2024-05-10 08:26:08 UTC Tests are running...
🔴 2024-05-10 10:20:34 UTC Some tests failed, follow the links below.
⚪ 2024-05-10 12:31:19 UTC Pre-commit check for 1cd3eb8 has started.
⚪ 2024-05-10 12:31:22 UTC Build linux-x86_64-release-clang14 is running...
🟢 2024-05-10 12:46:41 UTC Build successful.
⚪ 2024-05-10 12:31:21 UTC Pre-commit check for 1cd3eb8 has started.
⚪ 2024-05-10 12:31:23 UTC Build linux-x86_64-release-asan is running...
🟢 2024-05-10 12:48:55 UTC Build successful.
⚪ 2024-05-10 12:50:43 UTC Tests are running...
🔴 2024-05-10 14:42:22 UTC Some tests failed, follow the links below.
⚪ 2024-05-10 12:32:02 UTC Pre-commit check for 1cd3eb8 has started.
⚪ 2024-05-10 12:32:04 UTC Build linux-x86_64-relwithdebinfo is running...
🟢 2024-05-10 12:47:55 UTC Build successful.
⚪ 2024-05-10 12:49:42 UTC Tests are running...
🔴 2024-05-10 14:43:47 UTC Some tests failed, follow the links below.
⚪ 2024-05-14 09:24:23 UTC Pre-commit check for f8ea568 has started.
⚪ 2024-05-14 09:24:26 UTC Build linux-x86_64-release-asan is running...
🟢 2024-05-14 09:41:58 UTC Build successful.
⚪ 2024-05-14 09:43:49 UTC Tests are running...
🔴 2024-05-14 11:29:25 UTC Some tests failed, follow the links below.
⚪ 2024-05-14 09:26:04 UTC Pre-commit check for f8ea568 has started.
⚪ 2024-05-14 09:26:06 UTC Build linux-x86_64-release-clang14 is running...
🟢 2024-05-14 09:42:30 UTC Build successful.
⚪ 2024-05-14 09:26:19 UTC Pre-commit check for f8ea568 has started.
⚪ 2024-05-14 09:26:22 UTC Build linux-x86_64-relwithdebinfo is running...
🟢 2024-05-14 09:45:57 UTC Build successful.
⚪ 2024-05-14 09:47:52 UTC Tests are running...
🔴 2024-05-14 11:47:42 UTC Some tests failed, follow the links below.
⚪ 2024-05-14 21:08:49 UTC Pre-commit check for 8395348 has started.
⚪ 2024-05-14 21:08:51 UTC Build linux-x86_64-release-clang14 is running...
🟢 2024-05-14 21:25:27 UTC Build successful.
⚪ 2024-05-14 21:08:49 UTC Pre-commit check for 8395348 has started.
⚪ 2024-05-14 21:08:51 UTC Build linux-x86_64-release-asan is running...
🟢 2024-05-14 21:28:20 UTC Build successful.
⚪ 2024-05-14 21:30:18 UTC Tests are running...
🔴 2024-05-14 23:20:38 UTC Some tests failed, follow the links below.
⚪ 2024-05-14 21:13:46 UTC Pre-commit check for 8395348 has started.
⚪ 2024-05-14 21:13:49 UTC Build linux-x86_64-relwithdebinfo is running...
🟢 2024-05-14 21:32:08 UTC Build successful.
⚪ 2024-05-14 21:34:03 UTC Tests are running...
🔴 2024-05-14 23:36:07 UTC Some tests failed, follow the links below.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog category
Proposed docs
Object Storage Listing API
Objects in (S3-like) object storage have a name column. Although object storage is unstructured, users often give their objects name similar to file path, e.g. /foo/baz.txt, /foo/bar/test.txt. One of the common operations is listing. For example, listing folder /foo/ should yield:
/bar/
/foo/baz.txt
Request
Table name
Name of the table to list objects from
Key prefix
Limits the response to keys that begin with the specified key prefix. keyColumn0 ... path column (exclusive) values.
Example in Go:
This is a Ydb.TypedValue that contains key column values in PK order. Must have all columns from first until the "path" column (excluding it).
Path column prefix
Limits the response to keys that begin with the specified path prefix (e.g. /foo)
Path column delimiter
A delimiter is a character that you use to group keys. For example, if path is /foo/bar/baz.txt, then delimiter should be "/"
Start after key suffix
Key's suffix column values: path column (inclusive) ... columnN values.
StartAfterKeySuffix is where you want to start listing from. This API starts listing after this specified key. StartAfterKeySuffix can be any existing or non-existing key
Example in Go:
This is a Ydb.TypedValue that contains key column values in PK order.
Matching filter
Column values to filter out rows
Here is a filter that filters out all rows with "deleted" column's value equal to true.
Example in Go:
This is a Ydb.TypedValue that contains list of column names, list of matching types (either EQUAL or NOT_EQUAL) and list of values for the columns.
Continuation token
ContinuationToken indicates that the list is being continued on with a token. ContinuationToken is obfuscated and is not a real key. You can use this ContinuationToken for pagination of the list results
Columns to return
Which columns of the row to return. Path column and filter columns are added automatically
Max keys
Sets the maximum number of keys returned in the response. By default, the action returns up to 1,000 key names. The response might contain fewer keys but will never contain more
Response
Status
YDB operation status code
Issues
YDB operation issue messages
Common prefixes
All the keys (up to 1_000) that share the same prefix are grouped together. When counting the total numbers of returns by this API operation, this group of keys is considered as one item.
A response can contain CommonPrefixes only if you specify a delimiter.
CommonPrefixes contains all (if there are any) keys between Prefix and the next occurrence of the string specified by a delimiter.
Contents
Returned rows with specified columns (path and filter columns are added automatically)
Next continuation token
NextContinuationToken is sent when isTruncated is true, which means there are more keys that can be listed. The next list requests can be continued with this NextContinuationToken. NextContinuationToken is obfuscated and is not a real key
Is truncated
Set to false if all of the results were returned. Set to true if more keys are available to return