Skip to content

New endpoint for the Google Cloud Storage JSON API #384

@ewsopp

Description

@ewsopp

This announcement was sent to all GCS users. What does it mean for WP-Stateless?

We are writing to let you know that starting June 20, 2019, Cloud Storage will allow JSON API requests to be sent to storage.googleapis.com in addition to www.googleapis.com (the current endpoint).

What do I need to know?
On June 20, 2019, we will begin updating the Cloud Client Libraries and gsutil to use the new endpoint; storage.googleapis.com. After the update, your JSON API requests will start using the new endpoint.

What do I need to do?
If your production or test code doesn't check for endpoint-specific details, no action is required on your part.

If your production or test code checks for endpoint-specific details, you will need to modify them before June 20, 2019 as follows:

  • If your code checks that the ‘baseUrl’ or ‘rootUrl’ fields in the JSON API Discovery document point to www.googleapis.com, you will need to modify those checks to allow either storage.googleapis.com or www.googleapis.com. Note that the oauth2 scopes fields in the Discovery document will not change and will continue to point to www.googleapis.com.

  • If your code checks that the ‘selfLink’ field in bucket or object metadata points to www.googleapis.com, you will need to modify that check to allow either storage.googleapis.com or www.googleapis.com.

  • If you access Cloud Storage through a firewall, you will need to ensure that requests to storage.googleapis.com are allowed by your firewall rules.

If you have any questions or require assistance, please reply to this email to contact Google Cloud Support.

image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions