Commit 1373da7c authored by mkearney@google.com's avatar mkearney@google.com

Updated GCM for Chrome docs

This is based on feedback from Adam Feldman and Jed Hartman.

Adam requested that Terms of Service be formatted as the norm for Google APIs. Jed gave lots of excellent feedback to make the docs look and read better.

I've actioned all the feedback with the exception of improvments Jed suggested to make to the generated API client reference.

Since this stuff is generated across all the docs, instead of making big css changes globally, I've added his review comments to the list of changes that we want to make to across the docs UI. The API reference is getting a clean-up, so seems like the right time to make these changes.

Review URL: https://codereview.chromium.org/12104003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180148 0039d316-1c4b-4281-b951-d872f2087c98
parent 7e98ed58
......@@ -26,7 +26,7 @@ to access Google Cloud Messaging for Chrome from your application.
We also offer Google API client libraries for a number
of popular programming languages that can be used to access the API.
For more information, see
<a href="https://developers.google.com/api-client-library">https://developers.google.com/api-client-library</a>.
<a href="https://developers.google.com/api-client-library">Google APIs Client Libraries</a>.
</p>
<h2 id="insert">Insert method</h2>
......@@ -64,7 +64,7 @@ The required set of query string parameters are:
<tr>
<td><code>client_id</code></td>
<td>Indicates the app or extension client that is making the request.
Obtained from the <a href="https://code.google.com/apis/console/">Google APIs console</a>;
Obtained from the <a href="https://code.google.com/apis/console/">Google APIs Console</a>;
the parameter value must exactly match the client ID shown
in the console.
</td>
......@@ -72,7 +72,7 @@ The required set of query string parameters are:
<tr>
<td><code>client_secret</code></td>
<td>The client secret obtained during registration in
<a href="https://code.google.com/apis/console/">Google APIs console</a>.</td>
<a href="https://code.google.com/apis/console/">Google APIs Console</a>.</td>
</tr>
<tr>
<td><code>refresh_token</code></td>
......@@ -86,7 +86,9 @@ The required set of query string parameters are:
<h3 id="response">Response</h3>
<p>
The authorization response includes:
</p>
<table>
<tr>
......@@ -111,11 +113,13 @@ The authorization response includes:
<h3 id="http">HTTP request</h3>
<p><code>Post https://www.googleapis.com/gcm_for_chrome/v1/messages</code></p>
<p><code>POST https://www.googleapis.com/gcm_for_chrome/v1/messages</code></p>
<h3 id="body">Request body</h3>
<p>
In the request body, supply:
</p>
<table>
<tr>
......
<h1>Google Cloud Messaging for Chrome API Terms of Service</h1>
<p><i>Last modified: January 31, 2013</i></p>
<p>
By using the Google Cloud Messaging for Chrome API,
you consent to be bound by the Google APIs Terms of Service (<code>"API ToS"</code>) at
<a href="http://developers.google.com/terms">http://developers.google.com/terms</a>.
You also agree that you and any API Client you create
</p>
<h4>Section 1: API Clients</h4>
<p>You also agree that you and any API Client you create
may only access the getChannelId functionality of this API
for your own development and personal uses.
</p>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment