docs: add links to rpc and rest documentation in repo-metadata.json #9913
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As part of updating overviews in Cloud RAD, we would like to link to the language-agnostic RPC / REST documentation for each module if it exists.
That documentation is generated via a totally separate process from client library generation, so coverage is spotty and there are lots of inconsistencies in directory naming. Therefore, it isn't pruduct to assume all modules have RPC/REST documentation.
This is an initial population of URIs for REST / RPC reference that exist. Ongoing maintenance / population of these URIs to be discussed in future discussion about repo-metadata.json maintenance.
Sample script that parses each
repo-metadata.json
file for aproduct_documentation
URI, creates a generic RPC/REST variation, curls it to see if it exists, and then writes it back if it does:Out of 162 repo-metadata.json files, 124 had valid
product_documentation
links (e.g. return http status = 200).Out of those, these are the repos containing either (or both) an invalid rpc/rest documentation link based on the generic URI variation: https://paste.googleplex.com/5546150802227200