Skip to content

Commit 994f536

Browse files
authored
Merge pull request #466 from mailchimp/ad_hoc_deploy_6_5_26
ad hoc deploy for pixel
2 parents 831db09 + 0aed1f8 commit 994f536

1 file changed

Lines changed: 154 additions & 2 deletions

File tree

spec/marketing.json

Lines changed: 154 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51218,8 +51218,160 @@
5121851218
}
5121951219
}
5122051220
},
51221-
"/connected-sites/{connected_site_id}/actions/enable-pixel": {},
51222-
"/connected-sites/{connected_site_id}/actions/disable-pixel": {},
51221+
"/connected-sites/{connected_site_id}/actions/enable-pixel": {
51222+
"post": {
51223+
"summary": "Enable pixel for connected site",
51224+
"description": "Enable the Mailchimp tracking pixel for a connected site.",
51225+
"operationId": "postConnectedSitesIdActionsEnablePixel",
51226+
"parameters": [
51227+
{
51228+
"in": "path",
51229+
"name": "connected_site_id",
51230+
"x-title": "Connected Site Foreign ID",
51231+
"type": "string",
51232+
"required": true,
51233+
"description": "The unique identifier for the site."
51234+
}
51235+
],
51236+
"responses": {
51237+
"204": {
51238+
"description": "Empty Response"
51239+
},
51240+
"default": {
51241+
"description": "An error generated by the Mailchimp API.",
51242+
"schema": {
51243+
"type": "object",
51244+
"title": "Problem Detail Document",
51245+
"description": "An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'.",
51246+
"required": [
51247+
"type",
51248+
"title",
51249+
"status",
51250+
"detail",
51251+
"instance"
51252+
],
51253+
"properties": {
51254+
"type": {
51255+
"type": "string",
51256+
"title": "Problem Type",
51257+
"description": "An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type.",
51258+
"example": "https://mailchimp.com/developer/marketing/docs/errors/"
51259+
},
51260+
"title": {
51261+
"type": "string",
51262+
"title": "Error Title",
51263+
"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.",
51264+
"example": "Resource Not Found"
51265+
},
51266+
"status": {
51267+
"type": "integer",
51268+
"title": "HTTP Status Code",
51269+
"description": "The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem.",
51270+
"example": 404
51271+
},
51272+
"detail": {
51273+
"type": "string",
51274+
"title": "Error Message",
51275+
"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).",
51276+
"example": "The requested resource could not be found."
51277+
},
51278+
"instance": {
51279+
"type": "string",
51280+
"title": "Instance ID",
51281+
"description": "A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support.",
51282+
"example": "995c5cb0-3280-4a6e-808b-3b096d0bb219"
51283+
}
51284+
}
51285+
}
51286+
}
51287+
},
51288+
"deprecated": false,
51289+
"tags": [
51290+
"connectedSites"
51291+
],
51292+
"x-custom-config": {
51293+
"methodNameSnake": "enable_pixel",
51294+
"methodNameCamel": "enablePixel"
51295+
}
51296+
}
51297+
},
51298+
"/connected-sites/{connected_site_id}/actions/disable-pixel": {
51299+
"post": {
51300+
"summary": "Disable pixel for connected site",
51301+
"description": "Disable the Mailchimp tracking pixel for a connected site.",
51302+
"operationId": "postConnectedSitesIdActionsDisablePixel",
51303+
"parameters": [
51304+
{
51305+
"in": "path",
51306+
"name": "connected_site_id",
51307+
"x-title": "Connected Site Foreign ID",
51308+
"type": "string",
51309+
"required": true,
51310+
"description": "The unique identifier for the site."
51311+
}
51312+
],
51313+
"responses": {
51314+
"204": {
51315+
"description": "Empty Response"
51316+
},
51317+
"default": {
51318+
"description": "An error generated by the Mailchimp API.",
51319+
"schema": {
51320+
"type": "object",
51321+
"title": "Problem Detail Document",
51322+
"description": "An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'.",
51323+
"required": [
51324+
"type",
51325+
"title",
51326+
"status",
51327+
"detail",
51328+
"instance"
51329+
],
51330+
"properties": {
51331+
"type": {
51332+
"type": "string",
51333+
"title": "Problem Type",
51334+
"description": "An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type.",
51335+
"example": "https://mailchimp.com/developer/marketing/docs/errors/"
51336+
},
51337+
"title": {
51338+
"type": "string",
51339+
"title": "Error Title",
51340+
"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.",
51341+
"example": "Resource Not Found"
51342+
},
51343+
"status": {
51344+
"type": "integer",
51345+
"title": "HTTP Status Code",
51346+
"description": "The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem.",
51347+
"example": 404
51348+
},
51349+
"detail": {
51350+
"type": "string",
51351+
"title": "Error Message",
51352+
"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).",
51353+
"example": "The requested resource could not be found."
51354+
},
51355+
"instance": {
51356+
"type": "string",
51357+
"title": "Instance ID",
51358+
"description": "A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support.",
51359+
"example": "995c5cb0-3280-4a6e-808b-3b096d0bb219"
51360+
}
51361+
}
51362+
}
51363+
}
51364+
},
51365+
"deprecated": false,
51366+
"tags": [
51367+
"connectedSites"
51368+
],
51369+
"x-custom-config": {
51370+
"methodNameSnake": "disable_pixel",
51371+
"methodNameCamel": "disablePixel"
51372+
}
51373+
}
51374+
},
5122351375
"/conversations": {
5122451376
"get": {
5122551377
"summary": "List conversations",

0 commit comments

Comments
 (0)