The API Explorer extension can be manually installed and run with a Looker instance using the following steps:
- create a new LookML project called
apix - create a new model. In
apix.model, put:connection: "<any valid connection name>"
- in
manifest.lkmlput:theproject_name: "api-explorer" application: api-explorer { label: "API Explorer" # file: "bundle.js" url: "https://localhost:8080/dist/bundle.js" entitlements: { local_storage: yes navigation: no new_window: yes new_window_external_urls: ["https://looker.com/*"] raw_api_request: yes use_form_submit: yes use_embeds: yes use_clipboard: yes core_api_methods: ["versions", "api_spec"] external_api_urls: ["https://raw.githubusercontent.com", "http://localhost:30000"] oauth2_urls: [] } }
http://localhost:30000is for when you want to use the API Explorer file server - save all changes and deploy to production
- in the root of
sdk-codegen:yarn && yarn build - in
packages/extension-api-explorer:yarn develop
- on the Looker web page, click
Browse|API Explorerto view the API Explorer