{
  "opencollection": "1.0.0",
  "info": {
    "name": "PureCloud Platform Agent Assistants Greetings API",
    "version": "v2"
  },
  "items": [
    {
      "info": {
        "name": "Greetings",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get media playback URI for this greeting",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v2/greetings/:greetingId/media",
            "params": [
              {
                "name": "greetingId",
                "value": "",
                "type": "path",
                "description": "Greeting ID"
              },
              {
                "name": "formatId",
                "value": "",
                "type": "query",
                "description": "The desired media format."
              }
            ]
          },
          "docs": "API should migrate to use GET api/v2/greetings/{greetingId}/downloads"
        },
        {
          "info": {
            "name": "Download a user greeting recording",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v2/greetings/:greetingId/users/downloads",
            "params": [
              {
                "name": "greetingId",
                "value": "",
                "type": "path",
                "description": "Greeting ID"
              },
              {
                "name": "formatId",
                "value": "",
                "type": "query",
                "description": "The desired media format."
              }
            ]
          },
          "docs": "Download a user greeting recording"
        },
        {
          "info": {
            "name": "Download a group greeting recording",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v2/greetings/:greetingId/groups/downloads",
            "params": [
              {
                "name": "greetingId",
                "value": "",
                "type": "path",
                "description": "Greeting ID"
              },
              {
                "name": "formatId",
                "value": "",
                "type": "query",
                "description": "The desired media format."
              }
            ]
          },
          "docs": "Download a group greeting recording"
        },
        {
          "info": {
            "name": "Download a organization greeting recording",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v2/greetings/:greetingId/downloads",
            "params": [
              {
                "name": "greetingId",
                "value": "",
                "type": "path",
                "description": "Greeting ID"
              },
              {
                "name": "formatId",
                "value": "",
                "type": "query",
                "description": "The desired media format."
              }
            ]
          },
          "docs": "Download a organization greeting recording"
        },
        {
          "info": {
            "name": "Get a Greeting with the given GreetingId",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v2/greetings/:greetingId",
            "params": [
              {
                "name": "greetingId",
                "value": "",
                "type": "path",
                "description": "Greeting ID"
              }
            ]
          },
          "docs": "Get a Greeting with the given GreetingId"
        },
        {
          "info": {
            "name": "Updates the Greeting with the given GreetingId",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/api/v2/greetings/:greetingId",
            "params": [
              {
                "name": "greetingId",
                "value": "",
                "type": "path",
                "description": "Greeting ID"
              }
            ]
          },
          "docs": "Updates the Greeting with the given GreetingId"
        },
        {
          "info": {
            "name": "Deletes a Greeting with the given GreetingId",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/api/v2/greetings/:greetingId",
            "params": [
              {
                "name": "greetingId",
                "value": "",
                "type": "path",
                "description": "Greeting ID"
              }
            ]
          },
          "docs": "Deletes a Greeting with the given GreetingId"
        },
        {
          "info": {
            "name": "Grabs the list of Default Greetings given a Group's ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v2/groups/:groupId/greetings/defaults",
            "params": [
              {
                "name": "groupId",
                "value": "",
                "type": "path",
                "description": "Group ID"
              }
            ]
          },
          "docs": "Grabs the list of Default Greetings given a Group's ID"
        },
        {
          "info": {
            "name": "Updates the DefaultGreetingList of the specified Group",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/api/v2/groups/:groupId/greetings/defaults",
            "params": [
              {
                "name": "groupId",
                "value": "",
                "type": "path",
                "description": "Group ID"
              }
            ]
          },
          "docs": "Updates the DefaultGreetingList of the specified Group"
        },
        {
          "info": {
            "name": "Get a list of the Group's Greetings",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v2/groups/:groupId/greetings",
            "params": [
              {
                "name": "groupId",
                "value": "",
                "type": "path",
                "description": "Group ID"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "Page size"
              },
              {
                "name": "pageNumber",
                "value": "",
                "type": "query",
                "description": "Page number"
              }
            ]
          },
          "docs": "Get a list of the Group's Greetings"
        },
        {
          "info": {
            "name": "Creates a Greeting for a Group",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v2/groups/:groupId/greetings",
            "params": [
              {
                "name": "groupId",
                "value": "",
                "type": "path",
                "description": "Group ID"
              }
            ]
          },
          "docs": "Creates a Greeting for a Group"
        },
        {
          "info": {
            "name": "Get an Organization's DefaultGreetingList",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v2/greetings/defaults"
          },
          "docs": "Get an Organization's DefaultGreetingList"
        },
        {
          "info": {
            "name": "Update an Organization's DefaultGreetingList",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/api/v2/greetings/defaults"
          },
          "docs": "Update an Organization's DefaultGreetingList"
        },
        {
          "info": {
            "name": "Gets an Organization's Greetings",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v2/greetings",
            "params": [
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "Page size"
              },
              {
                "name": "pageNumber",
                "value": "",
                "type": "query",
                "description": "Page number"
              }
            ]
          },
          "docs": "Gets an Organization's Greetings"
        },
        {
          "info": {
            "name": "Create a Greeting for an Organization",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v2/greetings"
          },
          "docs": "Create a Greeting for an Organization"
        },
        {
          "info": {
            "name": "Grabs the list of Default Greetings given a User's ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v2/users/:userId/greetings/defaults",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "User ID"
              }
            ]
          },
          "docs": "Grabs the list of Default Greetings given a User's ID"
        },
        {
          "info": {
            "name": "Updates the DefaultGreetingList of the specified User",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/api/v2/users/:userId/greetings/defaults",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "User ID"
              }
            ]
          },
          "docs": "Updates the DefaultGreetingList of the specified User"
        },
        {
          "info": {
            "name": "Get a list of the User's Greetings",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v2/users/:userId/greetings",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "User ID"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "Page size"
              },
              {
                "name": "pageNumber",
                "value": "",
                "type": "query",
                "description": "Page number"
              }
            ]
          },
          "docs": "Get a list of the User's Greetings"
        },
        {
          "info": {
            "name": "Creates a Greeting for a User",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v2/users/:userId/greetings",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "User ID"
              }
            ]
          },
          "docs": "Creates a Greeting for a User"
        }
      ]
    }
  ],
  "bundled": true
}