vw_apis
Creates, updates, deletes, gets or lists a vw_apis
resource.
Overview
Name | vw_apis |
Type | View |
Id | azure.api_center.vw_apis |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
JSON_EXTRACT(properties, '$.title') as "title",
JSON_EXTRACT(properties, '$.kind') as "kind",
JSON_EXTRACT(properties, '$.description') as "description",
JSON_EXTRACT(properties, '$.summary') as "summary",
JSON_EXTRACT(properties, '$.lifecycleStage') as "lifecycle_stage",
JSON_EXTRACT(properties, '$.termsOfService') as "terms_of_service",
JSON_EXTRACT(properties, '$.externalDocumentation') as "external_documentation",
JSON_EXTRACT(properties, '$.contacts') as "contacts",
JSON_EXTRACT(properties, '$.license') as "license",
JSON_EXTRACT(properties, '$.customProperties') as "custom_properties",
subscriptionId,
resourceGroupName,
serviceName,
workspaceName,
apiName
FROM azure.api_center.apis
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND serviceName = 'replace-me' AND workspaceName = 'replace-me';
SELECT
json_extract_path_text(properties, '$.title') as "title",
json_extract_path_text(properties, '$.kind') as "kind",
json_extract_path_text(properties, '$.description') as "description",
json_extract_path_text(properties, '$.summary') as "summary",
json_extract_path_text(properties, '$.lifecycleStage') as "lifecycle_stage",
json_extract_path_text(properties, '$.termsOfService') as "terms_of_service",
json_extract_path_text(properties, '$.externalDocumentation') as "external_documentation",
json_extract_path_text(properties, '$.contacts') as "contacts",
json_extract_path_text(properties, '$.license') as "license",
json_extract_path_text(properties, '$.customProperties') as "custom_properties",
subscriptionId,
resourceGroupName,
serviceName,
workspaceName,
apiName
FROM azure.api_center.apis
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND serviceName = 'replace-me' AND workspaceName = 'replace-me';