-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1096 from PiwikPRO/TM-13283-update-tag-manager-ap…
…i-docs-release-18.7.0 TM-13283 Update Tag Manager API docs - Release 18.7.0
- Loading branch information
Showing
16 changed files
with
190 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
tag_manager/authorized_api/src/triggers/schema/create/request/capturing_click_schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"description": "Create trigger request", | ||
"type": "object", | ||
"properties": { | ||
"data": { | ||
"title": "JSON:API 1.0 request data", | ||
"type": "object", | ||
"properties": { | ||
"id": {"$ref": "../../trigger_types.json#/definitions/trigger_identifier"}, | ||
"type": {"$ref": "../../trigger_types.json#/definitions/trigger_resource_type"}, | ||
"attributes": { | ||
"type": "object", | ||
"description": "Trigger attributes", | ||
"properties": { | ||
"name": {"$ref": "../../trigger_attributes.json#/definitions/trigger_name_attribute"}, | ||
"trigger_type": {"$ref": "../../trigger_type_attributes.json#/definitions/capturing_click_trigger_type_attribute"}, | ||
"conditions": {"$ref": "../../trigger_attributes.json#/definitions/trigger_conditions_attribute_create_edit"} | ||
}, | ||
"required": ["name", "trigger_type", "conditions"], | ||
"additionalProperties": false | ||
}, | ||
"relationships": { | ||
"allOf": [ | ||
{ | ||
"$ref": "../../trigger_types.json#/definitions/relationships_description" | ||
}, | ||
{ | ||
"type": "object", | ||
"properties": { | ||
"tags": { | ||
"$ref": "../../trigger_types.json#/definitions/tag_relationship" | ||
} | ||
}, | ||
"additionalProperties": false | ||
} | ||
] | ||
} | ||
}, | ||
"required": ["type", "attributes"], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"required": ["data"], | ||
"additionalProperties": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
tag_manager/authorized_api/src/triggers/schema/edit/request/capturing_click_schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"description": "Edit trigger request", | ||
"type": "object", | ||
"properties": { | ||
"data": { | ||
"title": "JSON:API 1.0 request data", | ||
"type": "object", | ||
"properties": { | ||
"id": {"$ref": "../../trigger_types.json#/definitions/trigger_identifier"}, | ||
"type": {"$ref": "../../trigger_types.json#/definitions/trigger_resource_type"}, | ||
"attributes": { | ||
"type": "object", | ||
"description": "Trigger attributes", | ||
"properties": { | ||
"name": {"$ref": "../../trigger_attributes.json#/definitions/trigger_name_attribute"}, | ||
"trigger_type": {"$ref": "../../trigger_type_attributes.json#/definitions/capturing_click_trigger_type_attribute"}, | ||
"conditions": {"$ref": "../../trigger_attributes.json#/definitions/trigger_conditions_attribute_create_edit"} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
"relationships": { | ||
"allOf": [ | ||
{ | ||
"$ref": "../../trigger_types.json#/definitions/relationships_description" | ||
}, | ||
{ | ||
"type": "object", | ||
"properties": { | ||
"tags": { | ||
"$ref": "../../trigger_types.json#/definitions/tag_relationship" | ||
} | ||
}, | ||
"additionalProperties": false | ||
} | ||
] | ||
} | ||
}, | ||
"required": ["id", "type"], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"required": ["data"], | ||
"additionalProperties": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 71 additions & 0 deletions
71
tag_manager/authorized_api/src/triggers/schema/get/response/capturing_click_schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{ | ||
"type": "object", | ||
"properties": { | ||
"data": { | ||
"title": "JSON:API 1.0 response data", | ||
"type": "object", | ||
"properties": { | ||
"id": {"$ref": "../../trigger_types.json#/definitions/trigger_identifier"}, | ||
"type": {"$ref": "../../trigger_types.json#/definitions/trigger_resource_type"}, | ||
"meta": { | ||
"type": "object", | ||
"description": "Trigger meta data", | ||
"properties": { | ||
"has_abandoned_conditions": {"$ref": "../../trigger_attributes.json#/definitions/trigger_has_abandoned_conditions_meta"}, | ||
"has_conditions_with_abandoned_variable": {"$ref": "../../trigger_attributes.json#/definitions/trigger_has_conditions_with_abandoned_variable_meta"} | ||
}, | ||
"required": ["has_abandoned_conditions", "has_conditions_with_abandoned_variable"], | ||
"additionalProperties": false | ||
}, | ||
"attributes": { | ||
"type": "object", | ||
"description": "Trigger attributes", | ||
"properties": { | ||
"name": {"$ref": "../../trigger_attributes.json#/definitions/trigger_name_attribute"}, | ||
"trigger_type": {"$ref": "../../trigger_type_attributes.json#/definitions/capturing_click_trigger_type_attribute"}, | ||
"is_published": {"$ref": "../../trigger_attributes.json#/definitions/trigger_is_published_attribute"}, | ||
"conditions": {"$ref": "../../trigger_attributes.json#/definitions/trigger_conditions_attribute_get"}, | ||
"created_at": {"$ref": "../../../../common/schema/common_types.json#/definitions/datetime"}, | ||
"updated_at": {"$ref": "../../../../common/schema/common_types.json#/definitions/datetime"} | ||
}, | ||
"required": ["name", "trigger_type", "is_published", "conditions", "created_at", "updated_at"], | ||
"additionalProperties": false | ||
}, | ||
"relationships": { | ||
"type": "object", | ||
"description": "Trigger relationships", | ||
"properties": { | ||
"tags": { | ||
"type": "object", | ||
"description": "Related tags", | ||
"properties": { | ||
"data": { | ||
"title": "JSON:API 1.0 relationship data", | ||
"type": "array", | ||
"description": "Tag resource identifiers", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"id": {"$ref": "../../../../tags/schema/tag_types.json#/definitions/tag_identifier"}, | ||
"type": {"$ref": "../../../../tags/schema/tag_types.json#/definitions/tag_resource_type"} | ||
}, | ||
"required": ["id", "type"], | ||
"additionalProperties": false | ||
} | ||
} | ||
}, | ||
"required": ["data"], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"required": ["tags"], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"required": ["id", "type", "meta", "attributes", "relationships"], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"required": ["data"], | ||
"additionalProperties": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters