github.com/grokify/go-ringcentral-client@v0.3.31/codegen/specs-engagevoice_v3.0.0/z/openapi-spec_active-calls.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":"Active Calls" 12 } 13 ], 14 "paths":{ 15 "/admin/accounts/{accountId}/activeCalls/list":{ 16 "get":{ 17 "tags":[ 18 "ActiveCalls" 19 ], 20 "summary":"Returns a listing of current active calls for a given product on an account", 21 "operationId":"getActiveCalls", 22 "parameters":[ 23 { 24 "name":"accountId", 25 "in":"path", 26 "required":true, 27 "schema":{ 28 "type":"string" 29 } 30 } 31 ], 32 "responses":{ 33 "200":{ 34 "description":"Success", 35 "content":{ 36 "application/json":{ 37 "schema":{ 38 "type":"array", 39 "items":{ 40 "$ref":"#/components/schemas/Campaign" 41 } 42 } 43 } 44 } 45 }, 46 "500":{ 47 "description":"Server Error", 48 "content":{ 49 "application/json":{ 50 "schema":{ 51 "$ref":"#/components/schemas/Error" 52 } 53 } 54 } 55 } 56 } 57 } 58 } 59 }, 60 "servers":[ 61 { 62 "url":"https://portal.vacd.biz/api/v1" 63 } 64 ], 65 "components":{ 66 "securitySchemes":{ 67 "bearerAuth":{ 68 "type":"http", 69 "scheme":"bearer" 70 } 71 }, 72 "schemas":{ 73 "Error":{ 74 "properties":{ 75 "generalMessage":{ 76 "type":"string" 77 }, 78 "details":{ 79 "type":"string" 80 }, 81 "requestUri":{ 82 "type":"string" 83 }, 84 "timestamp":{ 85 "type":"integer", 86 "format":"int64" 87 } 88 } 89 }, 90 "ReferenceObject":{ 91 "properties":{ 92 "id":{ 93 "type":"integer", 94 "format":"int64" 95 }, 96 "description":{ 97 "type":"string" 98 } 99 } 100 }, 101 "Campaign":{ 102 "properties":{ 103 "campaignId":{ 104 "type":"integer", 105 "format":"int64" 106 }, 107 "permissions":{ 108 "type":"array", 109 "items":{ 110 "type":"object" 111 } 112 }, 113 "campaignName":{ 114 "type":"string" 115 }, 116 "campaignDesc":{ 117 "type":"string" 118 }, 119 "isActive":{ 120 "type":"integer", 121 "format":"int64" 122 }, 123 "dialGroup":{ 124 "$ref":"#/components/schemas/ReferenceObject" 125 }, 126 "script":{ 127 "$ref":"#/components/schemas/ReferenceObject" 128 } 129 } 130 } 131 } 132 } 133 }