All Products
Search
Document Center

Simple Log Service:GetStoreView

Last Updated:Nov 28, 2024

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

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

GET /storeviews/{name} HTTP/1.1

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.