projects
POST /v4/projects/{projectsId}/subscribers/{subscribersId}/subscriptions
Creates a subscription for a specific user to a specific subscriber. This method requires the subscriber to have a SubscriptionCreatePolicy set to MANUAL for the given data types.
Request
- Base URLhttps://health.googleapis.com
- URLhttps://health.googleapis.com/v4/projects/{projectsId}/subscribers/{subscribersId}/subscriptions
- AuthOAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/cloud-platformAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/cloud-platform
Path parameters
projectsIdstring required
subscribersIdstring required
Query parameters
subscriptionIdstring
Optional. The {subscription_id} is user-settable (4-36 chars, matching /a-z/) or system-generated otherwise. If provided, the ID must be unique within the parent subscriber.
Request body
Response
Successful response
Changes
No recorded changes to this operation across all 6 revisions of this API.