{ "opencollection": "1.0.0", "info": { "name": "Marketo Engage Rest Approve Landing Pages API", "version": "1.0" }, "items": [ { "info": { "name": "Landing Pages", "type": "folder" }, "items": [ { "info": { "name": "Marketo Get Landing Page by Name", "type": "http" }, "http": { "method": "GET", "url": "https://localhost:8080/rest/asset/v1/landingPage/byName.json", "params": [ { "name": "name", "value": "", "type": "query", "description": "Name of the landing page" }, { "name": "status", "value": "", "type": "query", "description": "Status filter for draft or approved versions" }, { "name": "maxReturn", "value": "", "type": "query", "description": "Maximum number of channels to return. Max 200, default 20" }, { "name": "offset", "value": "", "type": "query", "description": "Integer offset for paging" } ] }, "docs": "Returns the landing page record for the given name. Required Permissions: Read-Only Assets, Read-Write Assets" }, { "info": { "name": "Marketo Get Landing Page by Id", "type": "http" }, "http": { "method": "GET", "url": "https://localhost:8080/rest/asset/v1/landingPage/: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 the landing record for the given id. Required Permissions: Read-Only Assets, Read-Write Assets" }, { "info": { "name": "Marketo Update Landing Page Metadata", "type": "http" }, "http": { "method": "POST", "url": "https://localhost:8080/rest/asset/v1/landingPage/:id.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "id" } ], "body": { "type": "form-urlencoded", "data": [] } }, "docs": "Updates the metadata for the targe landing page. Required Permissions: Read-Write Assets" }, { "info": { "name": "Marketo Approve Landing Page Draft", "type": "http" }, "http": { "method": "POST", "url": "https://localhost:8080/rest/asset/v1/landingPage/:id/approveDraft.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "id" } ] }, "docs": "Approves the current draft of the landing page. Required Permissions: Approve Assets" }, { "info": { "name": "Marketo Clone Landing Page", "type": "http" }, "http": { "method": "POST", "url": "https://localhost:8080/rest/asset/v1/landingPage/:id/clone.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "id" } ], "body": { "type": "form-urlencoded", "data": [] } }, "docs": "Clones the target landing page. Required Permissions: Read-Write Assets" }, { "info": { "name": "Marketo Delete Landing Page", "type": "http" }, "http": { "method": "POST", "url": "https://localhost:8080/rest/asset/v1/landingPage/:id/delete.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "id" } ] }, "docs": "Deletes the target landing page. Required Permissions: Read-Write Assets" }, { "info": { "name": "Marketo Discard Landing Page Draft", "type": "http" }, "http": { "method": "POST", "url": "https://localhost:8080/rest/asset/v1/landingPage/:id/discardDraft.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "id" } ] }, "docs": "Discards the current draft of the landing page. Required Permissions: Read-Write Assets" }, { "info": { "name": "Marketo Unapprove Landing Page", "type": "http" }, "http": { "method": "POST", "url": "https://localhost:8080/rest/asset/v1/landingPage/:id/unapprove.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "id" } ] }, "docs": "Unapproves the landing page, reverting it to a draft-only state. Required Permissions: Approve Assets" }, { "info": { "name": "Marketo Update Landing Page Variable", "type": "http" }, "http": { "method": "POST", "url": "https://localhost:8080/rest/asset/v1/landingPage/:id/variable/:variableId.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "id" }, { "name": "variableId", "value": "", "type": "path", "description": "variableId" }, { "name": "value", "value": "", "type": "query", "description": "New value of the variable" } ] }, "docs": "Updates the value of the given variable. Required Permissions: Read-Write Assets" }, { "info": { "name": "Marketo Get Landing Page Variables", "type": "http" }, "http": { "method": "GET", "url": "https://localhost:8080/rest/asset/v1/landingPage/:id/variables.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "Id of the landing page" }, { "name": "status", "value": "", "type": "query", "description": "Status filter for draft or approved versions" } ] }, "docs": "Marketo Get Landing Page Variables" }, { "info": { "name": "Marketo Get Landing Pages", "type": "http" }, "http": { "method": "GET", "url": "https://localhost:8080/rest/asset/v1/landingPages.json", "params": [ { "name": "status", "value": "", "type": "query", "description": "Status filter for draft or approved versions" }, { "name": "maxReturn", "value": "", "type": "query", "description": "Maximum number of landing pages to return. Max 200, default 20" }, { "name": "offset", "value": "", "type": "query", "description": "Integer offset for paging" }, { "name": "folder", "value": "", "type": "query", "description": "JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program'" } ] }, "docs": "Retrieves a list of accessible landing pages from the target instance. Required Permissions: Read-Only Assets, Read-Write Assets" }, { "info": { "name": "Marketo Create Landing Page", "type": "http" }, "http": { "method": "POST", "url": "https://localhost:8080/rest/asset/v1/landingPages.json", "body": { "type": "form-urlencoded", "data": [] } }, "docs": "Creates a new landing page. Required Permissions: Read-Write Assets" }, { "info": { "name": "Marketo Get Landing Page Full Content", "type": "http" }, "http": { "method": "GET", "url": "https://localhost:8080/rest/asset/v1/landingPage/:id/fullContent.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "Id of the landing page." }, { "name": "leadId", "value": "", "type": "query", "description": "The lead id to impersonate. Landing page is rendered as though it was viewed by this lead." }, { "name": "segmentation", "value": "", "type": "query", "description": "JSON array of of segmentations. Each segmentation must be a JSON object with members 'segmentationId', and 'segmentId'.
Example: [{\"segmentationId\":1030,\"segmentId\":1103}]" } ] }, "docs": "Returns the serialized HTML version of the landing page. Required Permissions: Read-Only Assets, Read-Write Assets. If leadId is passed in the request: Read-Only Lead, Read-Write Lead." } ] } ], "bundled": true }