GetMaterializedView

Updated at:
Copy as MD

Retrieves a materialized view.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

GET /materializedviews/{name} HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

name

string

No

Request parameters

Parameter

Type

Required

Description

Example

project

string

No

Content-Type

string

No

returnStatus

boolean

No

Response elements

Element

Type

Description

Example

object

name

string

logstore

string

originalSql

string

aggIntervalMins

integer

startTime

integer

ttl

integer

enabled

boolean

status

object

lastRunTime

integer

maxCursorTime

integer

lastRunError

string

Examples

Success response

JSON format

{
  "name": "",
  "logstore": "",
  "originalSql": "",
  "aggIntervalMins": 0,
  "startTime": 0,
  "ttl": 0,
  "enabled": false,
  "status": {
    "lastRunTime": 0,
    "maxCursorTime": 0,
    "lastRunError": ""
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.