All Products
Search
Document Center

Simple Log Service:ListStoreViews

Last Updated:Sep 18, 2024

Queries datasets in a project.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

GET /storeviews

Request parameters

ParameterTypeRequiredDescriptionExample
projectstringYes

The name of the project.

example-project
sizeintegerNo

The number of datasets to return. Default value: 100.

100
offsetintegerNo

The offset of the datasets to return. Default value: 0.

0
namestringNo

The dataset name that is used for fuzzy match.

my_storeview
storeTypestringNo

The type of the datasets to return. By default, datasets are not filtered by type.

Valid values:

  • metricstore

  • logstore

logstore

Response parameters

ParameterTypeDescriptionExample
object

The datasets.

countinteger

The number of returned datasets.

100
totalinteger

The total number of datasets in the project.

100
storeviewsarray

The dataset names.

string

The dataset name.

my_storeview

Examples

Sample success responses

JSONformat

{
  "count": 100,
  "total": 100,
  "storeviews": [
    "my_storeview"
  ]
}

Error codes

For a list of error codes, visit the Service error codes.