Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Paste code macro
languagehttp
themeSunburst
GET https://api.machlake.com/v1/lakes/${lake_id}
Content-Type: application/json; charset=utf8
x-api-key: {API Key}

...

Paste code macro
languagehttp
themeSunburst
GET https://api.machlake.com/v1/lakes/xbacd1234/lake01

Response Example

Paste code macro
languagejson
themeSunburst
Status 200

{
    "status"success": true,
    "reason": "get lake info success",
    "data" : {
        "lake_id" : "lake01",
        "lake_info"   : {
            "lake_name"    : "My Lake",
            "lake_plan"    : "basic",
            "lake_type"    : "N",
            "region"       : "aws1.kor",
            "timezone"     : "America/Los_Angeles",
            "create_time"  : "2021-09-30 10:30:05",
            "update_time"  : "2021-10-01 14:59:12"
        },
        "lake_status" : {
            "count_of_tag"   : 128,
            "count_of_value" : 123456,
            "query_call"     : 015,
            "traffic": 4743829,       : 0.006,
            "storage"        : 30328709120.056,
            "state"          : "running" 
        },
        "plan_limit": {
            "max_tag"           : 1000,
            "max_query"         : 10000,
            "max_disk"storage"       : 3221225472010,
            "max_concurrent"    : 100000,
            "limit_select_tag"  : 1000,
            "limit_select_value": 100,
            "limit_append_value": 100,
            "limit_append_tag"  : 1000,
            "default_tag_count" : 10000
        },
        "tag_schema" : [
            {
                "col_name"   : "name",
                "col_type"   : "varchar",
                "col_length" : 40
            }
        ],
        "value_schema" : [
            {
                "col_name"   : "time",
                "col_type"   : "datetime"
            },
            {
                "col_name"   : "value",
                "col_type"   : "double"
            }
        ]
    }
}

...