{
  "opencollection": "1.0.0",
  "info": {
    "name": "Marketo Engage Rest Approve Template API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Template",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Marketo Get Email Template by Name",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:8080/rest/asset/v1/emailTemplate/byName.json",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "name"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Status filter for draft or approved versions"
              }
            ]
          },
          "docs": "Retrieves and email template record by the given name. Required Permissions: Read-Only Assets, Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Get Email Template by Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:8080/rest/asset/v1/emailTemplate/:id.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Status filter for draft or approved versions"
              }
            ]
          },
          "docs": "Returns an email template record by its id. Required Permissions: Read-Only Assets, Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Update Email Template Metadata",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/emailTemplate/:id.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "Updates the metadata for the designated email template. Required Permissions: Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Approve Email Template Draft",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/emailTemplate/:id/approveDraft.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              }
            ]
          },
          "docs": "Approves the current draft of the email template. Required Permissions: Approve Assets"
        },
        {
          "info": {
            "name": "Marketo Clone Email Template",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/emailTemplate/:id/clone.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "Clones the designated email template. 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 Email Template Content",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/emailTemplate/:id/content.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Updates the content of the given email template. Required Permissions: Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Delete Email Template",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/emailTemplate/:id/delete.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              }
            ]
          },
          "docs": "Deletes the designated email template. Required Permissions: Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Discard Email Template Draft",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/emailTemplate/:id/discardDraft.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              }
            ]
          },
          "docs": "Discards the current draft of the email template. Required Permissions: Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Unapprove Email Template Draft",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/emailTemplate/:id/unapprove.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              }
            ]
          },
          "docs": "Unapproves the current approved version of the Email Template. Required Permissions: Approve Assets"
        },
        {
          "info": {
            "name": "Marketo Get Landing Page Template by Name",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:8080/rest/asset/v1/landingPageTemplate/byName.json",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "Name of the landing page template"
              }
            ]
          },
          "docs": "Retrieves the landing page template record for the given name. Required Permissions: Read-Only Assets, Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Get Landing Page Template by Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:8080/rest/asset/v1/landingPageTemplate/:id.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Status filter for draft or approved versions"
              }
            ]
          },
          "docs": "Retrieves the record for the target landing page template. Required Permissions: Read-Only Assets, Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Update Landing Page Template Metadata",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/landingPageTemplate/:id.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "Updates the metadata for the target landing page template. Required Permissions: Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Approve Landing Page Template Draft",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/landingPageTemplate/:id/approveDraft.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              }
            ]
          },
          "docs": "Approves the current landing page template draft. This will delete the current approved version of the template if there is one. Required Permissions: Approve Assets"
        },
        {
          "info": {
            "name": "Marketo Clone Landing Page Template",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/landingPageTemplate/:id/clone.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "Clones the target landing page template. Required Permissions: Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Get Landing Page Template Content",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:8080/rest/asset/v1/landingPageTemplate/:id/content.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Status filter for draft or approved versions"
              }
            ]
          },
          "docs": "Retrieves the content of the target landing page. Required Permissions: Read-Only Assets, Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Update Landing Page Template Content",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/landingPageTemplate/:id/content.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "content",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Updates the content for the target landing page template. This update is destructive for the draft version of the template. Required Permissions: Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Delete Landing Page Template",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/landingPageTemplate/:id/delete.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              }
            ]
          },
          "docs": "Deletes the target landing page template. Required Permissions: Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Discard Landing Page Template Draft",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/landingPageTemplate/:id/discardDraft.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              }
            ]
          },
          "docs": "Discrads the current draft of the landing page template. Required Permissions: Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Unapprove Landing Page Template",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/landingPageTemplate/:id/unapprove.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              }
            ]
          },
          "docs": "Unapproves the landing page template and reverts it to a draft-only state. Required Permissions: Approve Assets"
        }
      ]
    }
  ],
  "bundled": true
}