All Products
Search
Document Center

Simple Log Service:GetStoreView

Last Updated:Sep 06, 2024

Queries the configurations of a dataset by using the name of the dataset.

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/{name}

Request parameters

ParameterTypeRequiredDescriptionExample
projectstringYes

The name of the project.

example-project
namestringYes

The name of the dataset.

my_storeview

Response parameters

ParameterTypeDescriptionExample
object

The configurations of the dataset.

storeTypestring

The type of the dataset.

Valid values:

  • metricstore

  • logstore

logstore
storesarray

The Logstores or Metricstores.

StoreViewStore

The Logstore or Metricstore.

Examples

Sample success responses

JSONformat

{
  "storeType": "logstore",
  "stores": [
    {
      "project": "ali-test-project",
      "storeName": "my-logstore",
      "query": ""
    }
  ]
}

Error codes

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