Docs: rest-api-go uses an SaaS service API which is now deleted.

Created on 13 Dec 2019  路  5Comments  路  Source: knative/docs


Expected Behavior

A sample application in the documentation should work as expected.

https://github.com/knative/docs/blob/06881add07600c2e8252e77a45aa489714710c1a/docs/serving/samples/rest-api-go/stock.go#L66

A price is returned

Actual Behavior

The docs reference in a sample a SaaS service by iextrading.com which is no longer publicly available.

Fetching "https://api.iextrading.com/1.0/stock/ibm/price" outside of the docs api shows this API no longer works.

"forbidden"

Steps to Reproduce the Problem

  1. Make an api request to the sample rest-api-go example
  2. recieve an "forbidden"
  3. See: https://iextrading.com/developers/
    Phase I (Removed June 1, 2019) removed "Price"
kinapi kinbug kinenhancement kinsample lifecyclfrozen

All 5 comments

Issues go stale after 90 days of inactivity.
Mark the issue as fresh by adding the comment /remove-lifecycle stale.
Stale issues rot after an additional 30 days of inactivity and eventually close.
If this issue is safe to close now please do so by adding the comment /close.

Send feedback to Knative Productivity Slack channel or file an issue in knative/test-infra.

/lifecycle stale

/remove-lifecycle stale

@markusthoemmes @mattmoor is there someone who can provided updates for these docs? Otherwise if the sample is outdated we should remove it.

(closed by accident, apologies!)

We should probably just remove this sample.

Was this page helpful?
0 / 5 - 0 ratings