subscriptions
Create a subscription
post/gdc/projects/{project_id}/users/{profile_id}/subscriptions
Request
- Base URLhttps://secure.gooddata.com
- Authnone declared
Path parameters
project_idstring required
The ID of the project where you want to create a subscription.
profile_idstring required
The ID of the user you want to create or get subscriptions for.
Request body
Example request
{
"subscription": {
"triggers": [
{
"timerEvent": {
"cronExpression": "0 0 9 * * *",
"timezone": "America/Los_Angeles"
}
}
],
"condition": {
"condition": {
"expression": "true"
}
},
"meta": {
"title": "Some title",
"category": "metadataType",
"tags": "tag1 tag2",
"author": "/gdc/account/profile/p123",
"created": "2020-01-08 15:44:23",
"contributor": "/gdc/account/profile/p123",
"updated": "2020-01-08 15:44:23",
"identifier": "identifier123",
"summary": "Object summary",
"uri": "/gdc/uri/self"
}
}
}Response
_
Example response
{
"subscription": {
"triggers": [
{
"timerEvent": {
"cronExpression": "0 0 9 * * *",
"timezone": "America/Los_Angeles"
}
}
],
"condition": {
"condition": {
"expression": "true"
}
},
"meta": {
"title": "Some title",
"category": "metadataType",
"tags": "tag1 tag2",
"author": "/gdc/account/profile/p123",
"created": "2020-01-08 15:44:23",
"contributor": "/gdc/account/profile/p123",
"updated": "2020-01-08 15:44:23",
"identifier": "identifier123",
"summary": "Object summary"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.