github.com/grokify/go-ringcentral-client@v0.3.31/codegen/specs-engagevoice_v3.0.0/openapi-spec_countries.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":"Countries"
    12         }
    13      ],
    14      "paths":{
    15         "/admin/accounts/{accountId}/countries/available":{
    16            "get":{
    17               "tags":[
    18                  "Countries"
    19               ],
    20               "summary":"Get Available Countries",
    21               "description":"Get a list of available countries",
    22               "operationId":"getAvailableCountries",
    23               "parameters":[
    24                  {
    25                     "name":"accountId",
    26                     "in":"path",
    27                     "required":true,
    28                     "schema":{
    29                        "type":"string"
    30                     }
    31                  }
    32               ],
    33               "responses":{
    34                  "200":{
    35                     "description":"Success",
    36                     "content":{
    37                        "application/json":{
    38                           "schema":{
    39                              "type":"array",
    40                              "items":{
    41                                 "$ref":"#/components/schemas/Country"
    42                              }
    43                           }
    44                        }
    45                     }
    46                  }
    47               }
    48            }
    49         }
    50      },
    51      "servers":[
    52         {
    53            "url":"https://portal.vacd.biz/api/v1"
    54         }
    55      ],
    56      "components":{
    57         "securitySchemes":{
    58            "bearerAuth":{
    59               "type":"http",
    60               "scheme":"bearer"
    61            }
    62         },
    63         "schemas":{
    64            "Country":{
    65               "type":"object",
    66               "required":["countryCode"],
    67               "properties":{
    68                  "countryId":{
    69                     "type":"string",
    70                     "description":"Country code i ISO 3166-1 alpha-3 format"
    71                  },
    72                  "countryName":{
    73                     "type":"string"
    74                  },
    75                  "countryCode":{
    76                     "type":"string"
    77                  },
    78                  "minUtcOffset":{
    79                     "type":"integer",
    80                     "format":"int32"
    81                  },
    82                  "maxUtcOffset":{
    83                     "type":"integer",
    84                     "format":"int32"
    85                  },
    86                  "minAniLength":{
    87                     "type":"integer",
    88                     "format":"int32"
    89                  },
    90                  "maxAniLength":{
    91                     "type":"integer",
    92                     "format":"int32"
    93                  }
    94               }
    95            }
    96         }
    97      }
    98   }