github.com/grokify/go-ringcentral-client@v0.3.31/codegen/specs-engagevoice_v3.0.0/openapi-spec_agents.json (about)

     1  {
     2      "openapi":"3.0.0",
     3      "info":{
     4         "description":"",
     5         "version":"1.0",
     6         "title":"RingCentral Engage Voice API",
     7         "termsOfService":"https://developers.ringcentral.com"
     8      },
     9      "tags":[
    10         {
    11            "name":"Agents"
    12         }
    13      ],
    14      "paths":{
    15         "/admin/accounts/{accountId}/agentGroups/{agentGroupId}/agents":{
    16            "get":{
    17               "tags":[
    18                  "Agents"
    19               ],
    20               "summary":"Get Group Agents",
    21               "description":"Returns a listing of agents for an agent group",
    22               "operationId":"getAgents",
    23               "parameters":[
    24                  {
    25                     "name":"accountId",
    26                     "in":"path",
    27                     "required":true,
    28                     "schema":{
    29                        "type":"string"
    30                     }
    31                  },
    32                  {
    33                      "name":"agentGroupId",
    34                      "in":"path",
    35                      "required":true,
    36                      "schema":{
    37                         "type":"string"
    38                      }
    39                   }
    40               ],
    41               "responses":{
    42                  "200":{
    43                     "description":"Success",
    44                     "content":{
    45                        "application/json":{
    46                           "schema":{
    47                              "type":"array",
    48                              "items":{
    49                                 "$ref":"#/components/schemas/Agent"
    50                              }
    51                           }
    52                        }
    53                     }
    54                  },
    55                  "500":{
    56                      "description":"Server Error",
    57                      "content":{
    58                         "application/json":{
    59                            "schema":{
    60                               "$ref":"#/components/schemas/Error"
    61                            }
    62                         }
    63                      }
    64                  }
    65               }
    66            }
    67         }
    68      },
    69      "servers":[
    70         {
    71            "url":"https://portal.vacd.biz/api/v1"
    72         }
    73      ],
    74      "components":{
    75         "securitySchemes":{
    76            "bearerAuth":{
    77               "type":"http",
    78               "scheme":"bearer"
    79            }
    80         },
    81         "schemas":{
    82          "Error":{
    83              "properties":{
    84                  "generalMessage":{
    85                      "type":"string"
    86                   },
    87                   "details":{
    88                      "type":"string"
    89                   },
    90                   "requestUri":{
    91                      "type":"string"
    92                   },
    93                  "timestamp":{
    94                     "type":"integer",
    95                     "format":"int64"
    96                  }
    97               }
    98            }
    99         }
   100      }
   101   }