GET /v1/publications/{publicationsId}:checkProgramAccess
Changed onChecks if a reader has active program access.
Request
- Base URLhttps://webcontentpublisher.googleapis.com
- AuthOAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/webcontentpublisher.publications.entitlements.readonly.systemAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/webcontentpublisher.publications.entitlements.readonly.system
Path parameters
Query parameters
V1 error format.
OAuth access token.
Data format for response.
JSONP
Selector specifying which fields to include in a partial response.
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
OAuth 2.0 token for the current user.
Returns response with indentations and line breaks.
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
Legacy upload protocol for media (e.g. "media", "multipart").
Upload protocol for media (e.g. "raw", "multipart").
Required. The canonical https:// URL of the article being accessed, matching the `` element on the rendered page. When calling the REST GET endpoint directly without a client library, callers must percent-encode the canonicalUrl query parameter; the service URL-decodes it automatically.
Required. The specific product ID being accessed.
Required. The encrypted site token string received from the Chrome HTTP header.
Response
Successful response
Response message for CheckProgramAccess.
The entitlement access status.
Changes
- info
added the new optional
queryrequest parametercanonicalUrl
- info
- info
endpoint added
- info