{
  "opencollection": "1.0.0",
  "info": {
    "name": "Microsoft Azure AccessControlClient AccessConnector Consent API",
    "version": "2020-08-01-preview"
  },
  "items": [
    {
      "info": {
        "name": "Consent",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Azure Get Consents",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/consents",
            "params": [
              {
                "name": "skip",
                "value": "",
                "type": "query",
                "description": "The number of result items to skip."
              },
              {
                "name": "maxpagesize",
                "value": "",
                "type": "query",
                "description": "The maximum number of items to include in a single response."
              },
              {
                "name": "filter",
                "value": "",
                "type": "query",
                "description": "Filter condition.\r\n  - **Supported properties:** projectId, createdDateTime, locale, kind\r\n  - **Operators:**\r\n    - eq, ne are supported for all properties.\r\n    - gt, ge, lt, le are supported for createdDateTime.\r\n  - **Example:**\r\n    - ```filter=projectId eq 'Jessica'``` (filter by project ID)\r\n    - ```filter=kind eq 'ProfessionalVoice'``` (filter project by kind)\r\n    - ```filter=locale eq 'en-US'``` (filter training set and model by locale)\r\n    - ```filter=createdDateTime gt 2022-12-30T23:59:59.99Z``` (filter resource created time after 2023-11-01)"
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "The API version to use for this operation."
              }
            ]
          },
          "docs": "Gets a list of consents for the authenticated Speech service resource."
        },
        {
          "info": {
            "name": "Microsoft Azure Get Consents Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/consents/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the resource."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "The API version to use for this operation."
              }
            ]
          },
          "docs": "Gets the consent identified by the given ID."
        },
        {
          "info": {
            "name": "Microsoft Azure Post Consents Id",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/consents/:id",
            "headers": [
              {
                "name": "Operation-Id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the resource."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "The API version to use for this operation."
              }
            ]
          },
          "docs": "Creates a new voice talent consent with the provided audio file."
        },
        {
          "info": {
            "name": "Microsoft Azure Put Consents Id",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/consents/:id",
            "headers": [
              {
                "name": "Operation-Id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the resource."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "The API version to use for this operation."
              }
            ]
          },
          "docs": "Creates a new voice talent consent with the provided audio URL."
        },
        {
          "info": {
            "name": "Microsoft Azure Delete Consents Id",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/consents/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the resource."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "The API version to use for this operation."
              }
            ]
          },
          "docs": "Deletes the consent identified by the given ID."
        },
        {
          "info": {
            "name": "Microsoft Azure Get A List Of All Consents With Operators For Current User",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/operatorconnect/consents",
            "params": [
              {
                "name": "skip",
                "value": "",
                "type": "query",
                "description": "An optional parameter for how many entries to skip, for pagination purposes. The default value is 0."
              },
              {
                "name": "top",
                "value": "",
                "type": "query",
                "description": "An optional parameter for how many entries to return, for pagination purposes. The default will return the entire list."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "Version of API"
              }
            ]
          },
          "docs": "This endpoint gets a list of all Consents with Operators for the current user"
        },
        {
          "info": {
            "name": "Microsoft Azure Get Single Consent With Operator For Current User",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/operatorconnect/consents/:operatorId",
            "params": [
              {
                "name": "operatorId",
                "value": "",
                "type": "path",
                "description": "The id of Operator with who user has signed consent"
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "Version of API"
              }
            ]
          },
          "docs": "This endpoint gets single Consent with Operator for current user"
        },
        {
          "info": {
            "name": "Microsoft Azure Create New Or Update Existing Consent With Operator For Current User",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/operatorconnect/consents/:operatorId",
            "params": [
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "Version of API"
              },
              {
                "name": "operatorId",
                "value": "",
                "type": "path",
                "description": "The id of the Operator with who user wants to create new or update existing consent"
              }
            ]
          },
          "docs": "This endpoint creates new or updates the existing Consent with Operator"
        }
      ]
    }
  ],
  "bundled": true
}