post https://{account}.piwik.pro/api/apps/v2
It adds app
Log in to see full request history
time | status | user agent | |
---|---|---|---|
Retrieving recent requests… |
Loading…
Responses
It adds app
time | status | user agent | |
---|---|---|---|
Retrieving recent requests… |
xxxxxxxxxx
39curl --request POST \
--url https://example.piwik.pro/api/apps/v2 \
--header 'accept: application/vnd.api+json' \
--header 'content-type: application/vnd.api+json' \
--data '
{
"data": {
"attributes": {
"appType": "web",
"excludeUnknownUrls": false,
"keepUrlFragment": true,
"eCommerceTracking": true,
"siteSearchTracking": true,
"siteSearchQueryParams": [
"q",
"query",
"s",
"search",
"searchword",
"keyword"
],
"delay": 500,
"gdpr": true,
"gdprUserModeEnabled": false,
"privacyCookieDomainsEnabled": false,
"privacyCookieExpirationPeriod": 31536000,
"gdprLocationRecognition": false,
"gdprDataAnonymization": true,
"sharepointIntegration": false,
xxxxxxxxxx
64}
{
"data": {
"type": "ppms/app",
"id": "985ed9d7-b652-47b8-b9cf-c17d62735261",
"attributes": {
"organization": "default",
"appType": "web",
"addedAt": "2018-07-10T08:50:41+00:00",
"updatedAt": "2018-09-01T10:25:11+00:00",
"name": "AppName",
"urls": [
"https://example.com"
],
"timezone": "UTC",
"currency": "USD",
"excludeUnknownUrls": false,
"keepUrlFragment": true,
"eCommerceTracking": true,
"siteSearchQueryParams": [
"q",
"query",
"s",
"search",
"searchword",
"keyword"