{ "opencollection": "1.0.0", "info": { "name": "Coveo Activity Activities Hosted Page API", "version": "1.0.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://platform.cloud.coveo.com/oauth/authorize", "accessTokenUrl": "https://platform.cloud.coveo.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Hosted Page", "type": "folder" }, "items": [ { "info": { "name": "List Hosted Pages", "type": "http" }, "http": { "method": "GET", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/hostedpages", "params": [ { "name": "organizationId", "value": "mycoveocloudv2organizationg8tp8wu3", "type": "path", "description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/)." }, { "name": "filter", "value": "Store", "type": "query", "description": "A substring that must appear in a search interface configuration name for this configuration to appear in results." }, { "name": "order", "value": "", "type": "query", "description": "The sort direction of the results.
Possible values:
- `asc`: ascending order
- `desc`: descending order" }, { "name": "page", "value": "", "type": "query", "description": "The 0-based number of the page of configurations to list." }, { "name": "perPage", "value": "", "type": "query", "description": "The maximum number of configurations to include per page." } ] }, "docs": "Lists the hosted pages in a [Coveo organization](https://docs.coveo.com/en/185/)." }, { "info": { "name": "Create Hosted Page", "type": "http" }, "http": { "method": "POST", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/hostedpages", "params": [ { "name": "organizationId", "value": "mycoveocloudv2organizationg8tp8wu3", "type": "path", "description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/)." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a hosted page in a [Coveo organization](https://docs.coveo.com/en/185/)." }, { "info": { "name": "List Hosted Pages in a Project", "type": "http" }, "http": { "method": "GET", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/hostedpages/projects/pages", "params": [ { "name": "organizationId", "value": "mycoveocloudv2organizationg8tp8wu3", "type": "path", "description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/)." }, { "name": "filter", "value": "Store", "type": "query", "description": "A substring that must appear in a search interface configuration name for this configuration to appear in results." }, { "name": "order", "value": "", "type": "query", "description": "The sort direction of the results.
Possible values:
- `asc`: ascending order
- `desc`: descending order" }, { "name": "page", "value": "", "type": "query", "description": "The 0-based number of the page of configurations to list." }, { "name": "perPage", "value": "", "type": "query", "description": "The maximum number of configurations to include per page." }, { "name": "projectId", "value": "", "type": "query", "description": "The id of the project to which the resource belongs." } ] }, "docs": "Lists the hosted pages in a [Coveo organization](https://docs.coveo.com/en/185/) and a [project](https://docs.coveo.com/en/n7ef0517/manage-an-organization/manage-projects)." }, { "info": { "name": "Retrieve Hosted Page Configuration", "type": "http" }, "http": { "method": "GET", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/hostedpages/:pageId", "params": [ { "name": "organizationId", "value": "mycoveocloudv2organizationg8tp8wu3", "type": "path", "description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/)." } ] }, "docs": "Retrieves a hosted page configuration in a [Coveo organization](https://docs.coveo.com/en/185/)." }, { "info": { "name": "Update Hosted Page", "type": "http" }, "http": { "method": "PUT", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/hostedpages/:pageId", "params": [ { "name": "organizationId", "value": "mycoveocloudv2organizationg8tp8wu3", "type": "path", "description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/)." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates an hosted page in a [Coveo organization](https://docs.coveo.com/en/185/)." }, { "info": { "name": "Delete Hosted Page", "type": "http" }, "http": { "method": "DELETE", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/hostedpages/:pageId", "params": [ { "name": "organizationId", "value": "mycoveocloudv2organizationg8tp8wu3", "type": "path", "description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/)." } ] }, "docs": "Deletes an hosted page in a [Coveo organization](https://docs.coveo.com/en/185/)." }, { "info": { "name": "Show Hosted Page", "type": "http" }, "http": { "method": "GET", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/hostedpages/:pageId/html/v1", "params": [ { "name": "organizationId", "value": "mycoveocloudv2organizationg8tp8wu3", "type": "path", "description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/)." } ] }, "docs": "Shows a hosted page in a [Coveo organization](https://docs.coveo.com/en/185/)." } ] } ], "bundled": true }