github.com/grokify/go-ringcentral-client@v0.3.31/codegen/specs-engagedigital_v3.0.0/openapi-spec_identity-groups.json (about) 1 { 2 "openapi":"3.0.0", 3 "info":{ 4 "description":"", 5 "version":"1.0", 6 "title":"Engage Digital API", 7 "termsOfService":"https://developer.ringcentral.com" 8 }, 9 "tags":[ 10 { 11 "name":"Identity Groups" 12 } 13 ], 14 "paths":{ 15 "/identity_groups":{ 16 "get":{ 17 "tags":[ 18 "Identity Groups" 19 ], 20 "summary":"Getting all identity groups", 21 "operationId":"getAllIdentityGroups", 22 "description":"This method renders identity groups ordered by creation date (descending). Note that identity_group are created in a lazily only when data are manually added to an identity OR a two identity are merged altogether. That means that some identity DON’T have identity_group, and identity_group do not cover all identities.\n\nAuthorization: no.", 23 "parameters":[ 24 { 25 "name":"firstname", 26 "in":"query", 27 "description":"To filter groups on given firstname.", 28 "required":false, 29 "schema":{ 30 "type":"string" 31 } 32 }, 33 { 34 "name":"lastname", 35 "in":"query", 36 "description":"To filter groups on given lastname.", 37 "required":false, 38 "schema":{ 39 "type":"string" 40 } 41 }, 42 { 43 "name":"email", 44 "in":"query", 45 "description":"To filter groups that have given email.", 46 "required":false, 47 "schema":{ 48 "type":"string" 49 } 50 }, 51 { 52 "name":"uuid", 53 "in":"query", 54 "description":"To filter groups that have given uuid.", 55 "required":false, 56 "schema":{ 57 "type":"string" 58 } 59 }, 60 { 61 "name":"sort", 62 "in":"query", 63 "description":"To change the criteria chosen to sort the identities. The value can be “created_at” or “updated_at”.", 64 "required":false, 65 "schema":{ 66 "type":"string", 67 "enum":[ 68 "created_at", 69 "updated_at" 70 ] 71 } 72 }, 73 { 74 "name":"offset", 75 "in":"query", 76 "description":"The record index to start. Default value is 0.", 77 "required":false, 78 "schema":{ 79 "type":"integer", 80 "format":"int32" 81 } 82 }, 83 { 84 "name":"limit", 85 "in":"query", 86 "description":"The max number of records to return. Default value is 30, max value is 150.", 87 "required":false, 88 "schema":{ 89 "type":"integer", 90 "format":"int32" 91 } 92 } 93 ], 94 "responses":{ 95 "200":{ 96 "description":"Success", 97 "content":{ 98 "application/json":{ 99 "schema":{ 100 "$ref":"#/components/schemas/GetAllIdentityGroupsResponse" 101 } 102 } 103 } 104 } 105 } 106 } 107 }, 108 "/identity_groups/{identityGroupId}":{ 109 "get":{ 110 "tags":[ 111 "Identity Groups" 112 ], 113 "summary":"Getting an identity group from its id", 114 "operationId":"getIdentityGroup", 115 "description":"This method renders an identity group from given id.", 116 "parameters":[ 117 { 118 "name":"identityGroupId", 119 "in":"path", 120 "required":true, 121 "schema":{ 122 "type":"string" 123 } 124 } 125 ], 126 "responses":{ 127 "200":{ 128 "description":"Success", 129 "content":{ 130 "application/json":{ 131 "schema":{ 132 "$ref":"#/components/schemas/IdentityGroup" 133 } 134 } 135 } 136 } 137 } 138 }, 139 "put":{ 140 "tags":[ 141 "Identity Groups" 142 ], 143 "summary":"Updating an identity group", 144 "operationId":"updateIdentityGroup", 145 "description":"This method updates an identity group from given attributes and renders it in case of success.\n\nAuthorization: no.", 146 "parameters":[ 147 { 148 "name":"identityGroupId", 149 "in":"path", 150 "required":true, 151 "schema":{ 152 "type":"string" 153 } 154 }, 155 { 156 "name":"company", 157 "in":"query", 158 "required":false, 159 "description":"Identity company.", 160 "schema":{ 161 "type":"string" 162 } 163 }, 164 { 165 "name":"custom_field_values[custom_field_key]", 166 "in":"query", 167 "required":false, 168 "description":"Identity custom field with key « custom_field_key ». It", 169 "schema":{ 170 "type":"string" 171 } 172 }, 173 { 174 "name":"emails", 175 "in":"query", 176 "required":false, 177 "description":"Identity emails (multiple).", 178 "explode":true, 179 "schema":{ 180 "type":"array", 181 "items":{ 182 "type":"string" 183 } 184 } 185 }, 186 { 187 "name":"firstname", 188 "in":"query", 189 "required":false, 190 "description":"Identity firstname.", 191 "schema":{ 192 "type":"string" 193 } 194 }, 195 { 196 "name":"gender", 197 "in":"query", 198 "required":false, 199 "description":"Identity’s gender. It can be \"man\", \"woman\" or empty.", 200 "schema":{ 201 "type":"string", 202 "enum":[ 203 "man", 204 "woman" 205 ] 206 } 207 }, 208 { 209 "name":"home_phones", 210 "in":"query", 211 "required":false, 212 "description":"Identity home phones (mutiple).", 213 "explode":true, 214 "schema":{ 215 "type":"array", 216 "items":{ 217 "type":"string" 218 } 219 } 220 }, 221 { 222 "name":"lastname", 223 "in":"query", 224 "required":false, 225 "description":"Identity lastname.", 226 "schema":{ 227 "type":"string" 228 } 229 }, 230 { 231 "name":"mobile_phones", 232 "in":"query", 233 "required":false, 234 "description":"Identity mobile phones (multiple).", 235 "explode":true, 236 "schema":{ 237 "type":"array", 238 "items":{ 239 "type":"string" 240 } 241 } 242 }, 243 { 244 "name":"notes", 245 "in":"query", 246 "required":false, 247 "description":"Identity notes.", 248 "schema":{ 249 "type":"string" 250 } 251 }, 252 { 253 "name":"tag_ids", 254 "in":"query", 255 "required":false, 256 "description":"Identity tag ids (multiple).", 257 "explode":true, 258 "schema":{ 259 "type":"array", 260 "items":{ 261 "type":"string" 262 } 263 } 264 } 265 ], 266 "responses":{ 267 "200":{ 268 "description":"Success", 269 "content":{ 270 "application/json":{ 271 "schema":{ 272 "$ref":"#/components/schemas/IdentityGroup" 273 } 274 } 275 } 276 } 277 } 278 } 279 } 280 }, 281 "servers":[ 282 { 283 "url":"https://DOMAIN.api.engagement.dimelo.com/1.0" 284 } 285 ], 286 "components":{ 287 "schemas":{ 288 "GetAllIdentityGroupsResponse":{ 289 "properties":{ 290 "count":{ 291 "type":"integer", 292 "format":"int32" 293 }, 294 "limit":{ 295 "type":"integer", 296 "format":"int32" 297 }, 298 "offset":{ 299 "type":"integer", 300 "format":"int32" 301 }, 302 "records":{ 303 "type":"array", 304 "items":{ 305 "$ref":"#/components/schemas/IdentityGroup" 306 } 307 } 308 } 309 }, 310 "IdentityGroup":{ 311 "required":[ 312 "id" 313 ], 314 "properties":{ 315 "id":{ 316 "type":"string" 317 }, 318 "created_at":{ 319 "type":"string", 320 "format":"date-time" 321 }, 322 "updated_at":{ 323 "type":"string", 324 "format":"date-time" 325 }, 326 "company":{ 327 "type":"string" 328 }, 329 "custom_field_values":{ 330 "type":"object" 331 }, 332 "emails":{ 333 "type":"array", 334 "items":{ 335 "type":"string" 336 } 337 }, 338 "firstname":{ 339 "type":"string" 340 }, 341 "gender":{ 342 "type":"string" 343 }, 344 "home_phones":{ 345 "type":"array", 346 "items":{ 347 "type":"string" 348 } 349 }, 350 "identity_ids":{ 351 "type":"array", 352 "items":{ 353 "type":"string" 354 } 355 }, 356 "lastname":{ 357 "type":"string" 358 }, 359 "mobile_phones":{ 360 "type":"array", 361 "items":{ 362 "type":"string" 363 } 364 }, 365 "notes":{ 366 "type":"string" 367 }, 368 "tag_ids":{ 369 "type":"array", 370 "items":{ 371 "type":"string" 372 } 373 }, 374 "avatar_url":{ 375 "type":"string" 376 } 377 } 378 } 379 } 380 } 381 }