Developer Knowledge API
The Developer Knowledge API provides access to Google's developer knowledge.
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
The Developer Knowledge API provides access to Google's developer knowledge.
Endpoints 4
documents
- GETRetrieves multiple documents, each with its full Markdown content.
/v1/documents:batchGet?names=string&view=DOCUMENT_VIEW_UNSPECIFIEDRetrieves multiple documents, each with its full Markdown content. - GETRetrieves a single document with its full Markdown content.
/v1/:name?view=DOCUMENT_VIEW_UNSPECIFIEDRetrieves a single document with its full Markdown content. - GETSearches for developer knowledge across Google's developer documentation
/v1/documents:searchDocumentChunks?filter=string&pageSize=0&pageToken=string&query=stringSearches for developer knowledge across Google's developer documentation. Returns DocumentChunks based on the user's query. There may be many chunks from the…
v1
- POSTAnswers a query using grounded generation.
/v1:answerQueryAnswers a query using grounded generation.
API details
- Base URL
https://developerknowledge.googleapis.com- Authentication
- OAuth 2.0 (authorization code flow) with 1 scope
An API key in the key query parameter - Operations
- 4 operations on 4 pathsGET 3POST 1
- Main resources
- documents 3v1 1
- Response formats
application/json- Description format
- Google API Discovery, API version
v1 - Links
- Documentation · OpenAPI document
- Listed from
- Google API Discovery document (googleapis/discovery-artifact-manager) (Apache-2.0)
How to test the Developer Knowledge API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Developer Knowledge API collection, without the publisher's secrets.
- Add your credentialsThis API uses OAuth 2.0 (authorization code flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Retrieves multiple documents, each with its full Markdown content.” (GET /v1/documents:batchGet?names=string&view=DOCUMENT_VIEW_UNSPECIFIED), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Developer Knowledge API?
The Developer Knowledge API provides access to Google's developer knowledge. It is listed under Developer tools and has 4 endpoints.
Who publishes the Developer Knowledge API?
It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Developer Knowledge API?
Requests go to https://developerknowledge.googleapis.com. Endpoint paths are added to this base URL.
How do I authenticate with the Developer Knowledge API?
It accepts 2 methods: OAuth 2.0 (authorization code flow) with 1 scope; an API key in the key query parameter.
How many endpoints does the Developer Knowledge API have?
4 operations on 4 paths (3 GET, 1 POST). The largest groups are documents, v1.
Is forking the Developer Knowledge API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.