Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
156 changes: 154 additions & 2 deletions spec/marketing.json
Original file line number Diff line number Diff line change
Expand Up @@ -51218,8 +51218,160 @@
}
}
},
"/connected-sites/{connected_site_id}/actions/enable-pixel": {},
"/connected-sites/{connected_site_id}/actions/disable-pixel": {},
"/connected-sites/{connected_site_id}/actions/enable-pixel": {
"post": {
"summary": "Enable pixel for connected site",
"description": "Enable the Mailchimp tracking pixel for a connected site.",
"operationId": "postConnectedSitesIdActionsEnablePixel",
"parameters": [
{
"in": "path",
"name": "connected_site_id",
"x-title": "Connected Site Foreign ID",
"type": "string",
"required": true,
"description": "The unique identifier for the site."
}
],
"responses": {
"204": {
"description": "Empty Response"
},
"default": {
"description": "An error generated by the Mailchimp API.",
"schema": {
"type": "object",
"title": "Problem Detail Document",
"description": "An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'.",
"required": [
"type",
"title",
"status",
"detail",
"instance"
],
"properties": {
"type": {
"type": "string",
"title": "Problem Type",
"description": "An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type.",
"example": "https://mailchimp.com/developer/marketing/docs/errors/"
},
"title": {
"type": "string",
"title": "Error Title",
"description": "A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization.",
"example": "Resource Not Found"
},
"status": {
"type": "integer",
"title": "HTTP Status Code",
"description": "The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem.",
"example": 404
},
"detail": {
"type": "string",
"title": "Error Message",
"description": "A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors).",
"example": "The requested resource could not be found."
},
"instance": {
"type": "string",
"title": "Instance ID",
"description": "A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support.",
"example": "995c5cb0-3280-4a6e-808b-3b096d0bb219"
}
}
}
}
},
"deprecated": false,
"tags": [
"connectedSites"
],
"x-custom-config": {
"methodNameSnake": "enable_pixel",
"methodNameCamel": "enablePixel"
}
}
},
"/connected-sites/{connected_site_id}/actions/disable-pixel": {
"post": {
"summary": "Disable pixel for connected site",
"description": "Disable the Mailchimp tracking pixel for a connected site.",
"operationId": "postConnectedSitesIdActionsDisablePixel",
"parameters": [
{
"in": "path",
"name": "connected_site_id",
"x-title": "Connected Site Foreign ID",
"type": "string",
"required": true,
"description": "The unique identifier for the site."
}
],
"responses": {
"204": {
"description": "Empty Response"
},
"default": {
"description": "An error generated by the Mailchimp API.",
"schema": {
"type": "object",
"title": "Problem Detail Document",
"description": "An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'.",
"required": [
"type",
"title",
"status",
"detail",
"instance"
],
"properties": {
"type": {
"type": "string",
"title": "Problem Type",
"description": "An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type.",
"example": "https://mailchimp.com/developer/marketing/docs/errors/"
},
"title": {
"type": "string",
"title": "Error Title",
"description": "A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization.",
"example": "Resource Not Found"
},
"status": {
"type": "integer",
"title": "HTTP Status Code",
"description": "The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem.",
"example": 404
},
"detail": {
"type": "string",
"title": "Error Message",
"description": "A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors).",
"example": "The requested resource could not be found."
},
"instance": {
"type": "string",
"title": "Instance ID",
"description": "A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support.",
"example": "995c5cb0-3280-4a6e-808b-3b096d0bb219"
}
}
}
}
},
"deprecated": false,
"tags": [
"connectedSites"
],
"x-custom-config": {
"methodNameSnake": "disable_pixel",
"methodNameCamel": "disablePixel"
}
}
},
"/conversations": {
"get": {
"summary": "List conversations",
Expand Down