Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## What are you changing in this pull request and why? I'm updating the docs of Discovery API because we have breaking changes to the API and we need to update the docs to better reflect the current state of our API, since the docs point to legacy endpoints we plan to deprecate soon. - [x] update use case queries to use bigints and new apis - [x] update other queries to use bigints and new apis - [x] docs parity with legacy vs new endpoints - [x] fix bug where schemas and types weren't retrieved properly - [x] update or remove screenshots (we're keeping it) - [ ] verify that Python code works (no bandwidth -- if it breaks it breaks, not the most urgent for getting docs out) Some common mistakes I found while going through each query and executing it to make sure it's valid. - Fields were `snake_case` when they should be `camelCase` - Typos in filters and fields - Nested nodes were not updated so `... on` syntaxes were invalid - Querying non-nested-allowed fields of a nested node, like `children`, `tests`, etc. <!--- Describe your changes and why you're making them. If linked to an open issue or a pull request on dbt Core, then link to them here! To learn more about the writing conventions used in the dbt Labs docs, see the [Content style guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md). --> ## Checklist <!-- Uncomment if you're publishing docs for a prerelease version of dbt (delete if not applicable): - [ ] Add versioning components, as described in [Versioning Docs](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#versioning-entire-pages) - [ ] Add a note to the prerelease version [Migration Guide](https://github.com/dbt-labs/docs.getdbt.com/tree/current/website/docs/guides/migration/versions) --> - [x] Review the [Content style guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md) and [About versioning](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#adding-a-new-version) so my content adheres to these guidelines. - [x] Add a checklist item for anything that needs to happen before this PR is merged, such as "needs technical review" or "change base branch." (Below might be a separate PR, but leaving it for now) Adding new pages (delete if not applicable): - [x] Add page to `website/sidebars.js` - [x] Provide a unique filename for the new page Removing or renaming existing pages (delete if not applicable): - [ ] Remove page from `website/sidebars.js` - [ ] Add an entry `website/static/_redirects` - [ ] [Ran link testing](https://github.com/dbt-labs/docs.getdbt.com#running-the-cypress-tests-locally) to update the links that point to the deleted page --------- Co-authored-by: Ly Nguyen <107218380+nghi-ly@users.noreply.github.com> Co-authored-by: Ly Nguyen <ly.nguyen@dbtlabs.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Leona B. Campbell <3880403+runleonarun@users.noreply.github.com>
- Loading branch information