{
  "opencollection": "1.0.0",
  "info": {
    "name": "Marketo Engage Rest Approve Content API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Content",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Marketo Rearrange Email Modules",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/email/:id/content/rearrange.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "Rearranges the modules in an email. Required Permissions: Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Update Email Content Section",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/email/:id/content/:htmlId.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              },
              {
                "name": "htmlId",
                "value": "",
                "type": "path",
                "description": "htmlId"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "Updates the content in the given section. Required Permissions: Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Add Email Module",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/email/:id/content/:moduleId/add.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              },
              {
                "name": "moduleId",
                "value": "",
                "type": "path",
                "description": "moduleId"
              },
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "Name of the module"
              },
              {
                "name": "index",
                "value": "",
                "type": "query",
                "description": "Index of the module. Determines the order of the module in the email."
              }
            ]
          },
          "docs": "Adds a new module to an email, with the given id. Required Permissions: Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Delete Module",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/email/:id/content/:moduleId/delete.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              },
              {
                "name": "moduleId",
                "value": "",
                "type": "path",
                "description": "moduleId"
              }
            ]
          },
          "docs": "Deletes the given module from the email. Required Permissions: Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Duplicate Email Module",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/email/:id/content/:moduleId/duplicate.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              },
              {
                "name": "moduleId",
                "value": "",
                "type": "path",
                "description": "moduleId"
              },
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "Name of the new module"
              }
            ]
          },
          "docs": "Creates a copy of the designated module in an email. Required Permissions: Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Rename Email Module",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/email/:id/content/:moduleId/rename.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              },
              {
                "name": "moduleId",
                "value": "",
                "type": "path",
                "description": "moduleId"
              },
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "New module name"
              }
            ]
          },
          "docs": "Renames a module. Required Permissions: Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Get Email Dynamic Content",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:8080/rest/asset/v1/email/:id/dynamicContent/:contentId.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Id of email"
              },
              {
                "name": "contentId",
                "value": "",
                "type": "path",
                "description": "Id of email dynamic content section"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Status filter for draft or approved versions"
              }
            ]
          },
          "docs": "Retrieves the dyanmic content record for the given section. Required Permissions: Read-Only Assets, Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Update Email Dynamic Content Section",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/email/:id/dynamicContent/:contentId.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Id of email"
              },
              {
                "name": "contentId",
                "value": "",
                "type": "path",
                "description": "Id of email dynamic content section"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "Updates dynamic content in the given section. Required Permissions: Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Get Email Template Content by Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:8080/rest/asset/v1/emailTemplate/:id/content",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Status filter for draft or approved versions"
              }
            ]
          },
          "docs": "Returns the content for a given email template. Required Permissions: Read-Only Assets, Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Update Landing Page Content Section",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/landingPage/:id/content/:contentId.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Id of landing page"
              },
              {
                "name": "contentId",
                "value": "",
                "type": "path",
                "description": "Id of landing page content section"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "Updates a content section the landing page. Parameters must be sent as application/x-www-form-urlencoded (not JSON). Required Permissions: Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Delete Landing Page Content Section",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/landingPage/:id/content/:contentId/delete.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Id of landing page"
              },
              {
                "name": "contentId",
                "value": "",
                "type": "path",
                "description": "Id of landing page content section"
              }
            ]
          },
          "docs": "Removes the target content section from the parent landing page. Required Permissions: Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Get Landing Page Dynamic Content",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:8080/rest/asset/v1/landingPage/:id/dynamicContent/:contentId.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Id of landing page"
              },
              {
                "name": "contentId",
                "value": "",
                "type": "path",
                "description": "Id of landing page dynamic content section"
              }
            ]
          },
          "docs": "Retrieves the dynamic content from the target section. Required Permissions: Read-Only Assets, Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Update Landing Page Dynamic Content Section",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/landingPage/:id/dynamicContent/:contentId.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Id of the landing page"
              },
              {
                "name": "contentId",
                "value": "",
                "type": "path",
                "description": "Id of the landing page dynamic content"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "Updates the content of the target dynamic content section. Required Permissions: Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Update Snippet Dynamic Content",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/snippet/:id/dynamicContent/:segmentId.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              },
              {
                "name": "segmentId",
                "value": "",
                "type": "path",
                "description": "segmentId"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "Updates the target dynamic content section. Required Permissions: Read-Write Assets"
        }
      ]
    }
  ],
  "bundled": true
}