Skip to content

Commit

Permalink
Modify kapi_registration module to use kapi_definition module (2600hz…
Browse files Browse the repository at this point in the history
  • Loading branch information
harenson authored and jamesaimonetti committed Mar 9, 2020
1 parent 709c8e1 commit 47c58b7
Show file tree
Hide file tree
Showing 9 changed files with 1,005 additions and 282 deletions.
256 changes: 256 additions & 0 deletions applications/crossbar/priv/api/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -23557,6 +23557,262 @@
},
"type": "object"
},
"kapi.registration.reg_flush": {
"description": "AMQP API for registration.reg_flush",
"properties": {
"Event-Category": {
"enum": [
"directory"
],
"type": "string"
},
"Event-Name": {
"enum": [
"reg_flush"
],
"type": "string"
},
"Realm": {
"type": "string"
},
"Username": {
"type": "string"
}
},
"required": [
"Realm"
],
"type": "object"
},
"kapi.registration.reg_query": {
"description": "AMQP API for registration.reg_query",
"properties": {
"Count-Only": {
"type": "string"
},
"Event-Category": {
"enum": [
"directory"
],
"type": "string"
},
"Event-Name": {
"enum": [
"reg_query"
],
"type": "string"
},
"Fields": {
"type": "string"
},
"Realm": {
"type": "string"
},
"Username": {
"type": "string"
}
},
"type": "object"
},
"kapi.registration.reg_query_error": {
"description": "AMQP API for registration.reg_query_error",
"properties": {
"Event-Category": {
"enum": [
"directory"
],
"type": "string"
},
"Event-Name": {
"enum": [
"reg_query_error"
],
"type": "string"
},
"Registrar-Age": {
"type": "string"
}
},
"type": "object"
},
"kapi.registration.reg_query_resp": {
"description": "AMQP API for registration.reg_query_resp",
"properties": {
"Count": {
"type": "string"
},
"Event-Category": {
"enum": [
"directory"
],
"type": "string"
},
"Event-Name": {
"enum": [
"reg_query_resp"
],
"type": "string"
},
"Fields": {
"type": "string"
},
"Registrar-Age": {
"type": "string"
}
},
"type": "object"
},
"kapi.registration.reg_success": {
"description": "AMQP API for registration.reg_success",
"properties": {
"AOR": {
"type": "string"
},
"Account-DB": {
"type": "string"
},
"Account-ID": {
"type": "string"
},
"Authorizing-ID": {
"type": "string"
},
"Call-ID": {
"type": "string"
},
"Contact": {
"type": "string"
},
"Custom-Channel-Vars": {
"type": "object"
},
"Event-Category": {
"enum": [
"directory"
],
"type": "string"
},
"Event-Name": {
"enum": [
"reg_success"
],
"type": "string"
},
"Event-Timestamp": {
"type": "string"
},
"Expires": {
"type": "string"
},
"First-Registration": {
"type": "string"
},
"FreeSWITCH-Hostname": {
"type": "string"
},
"FreeSWITCH-Nodename": {
"type": "string"
},
"From-Host": {
"type": "string"
},
"From-User": {
"type": "string"
},
"Network-IP": {
"type": "string"
},
"Network-Port": {
"type": "string"
},
"Original-Contact": {
"type": "string"
},
"Presence-Hosts": {
"type": "string"
},
"Profile-Name": {
"type": "string"
},
"Proxy-IP": {
"type": "string"
},
"Proxy-Path": {
"type": "string"
},
"Proxy-Port": {
"type": "string"
},
"Proxy-Protocol": {
"type": "string"
},
"RPid": {
"type": "string"
},
"RUID": {
"type": "string"
},
"Realm": {
"type": "string"
},
"Register-Overwrite-Notify": {
"type": "string"
},
"Registrar-Node": {
"type": "string"
},
"Source-IP": {
"type": "string"
},
"Source-Port": {
"type": "string"
},
"Status": {
"type": "string"
},
"Suppress-Unregister-Notify": {
"type": "string"
},
"To-Host": {
"type": "string"
},
"To-User": {
"type": "string"
},
"User-Agent": {
"type": "string"
},
"Username": {
"type": "string"
}
},
"required": [
"Contact",
"Event-Timestamp",
"Expires",
"Realm",
"Username"
],
"type": "object"
},
"kapi.registration.reg_sync": {
"description": "AMQP API for registration.reg_sync",
"properties": {
"Event-Category": {
"enum": [
"directory"
],
"type": "string"
},
"Event-Name": {
"enum": [
"reg_sync"
],
"type": "string"
}
},
"type": "object"
},
"kapi.registration.success": {
"description": "AMQP API for registration.success",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"_id": "kapi.registration.reg_flush",
"description": "AMQP API for registration.reg_flush",
"properties": {
"Event-Category": {
"enum": [
"directory"
],
"type": "string"
},
"Event-Name": {
"enum": [
"reg_flush"
],
"type": "string"
},
"Realm": {
"type": "string"
},
"Username": {
"type": "string"
}
},
"required": [
"Realm"
],
"type": "object"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"_id": "kapi.registration.reg_query",
"description": "AMQP API for registration.reg_query",
"properties": {
"Count-Only": {
"type": "string"
},
"Event-Category": {
"enum": [
"directory"
],
"type": "string"
},
"Event-Name": {
"enum": [
"reg_query"
],
"type": "string"
},
"Fields": {
"type": "string"
},
"Realm": {
"type": "string"
},
"Username": {
"type": "string"
}
},
"type": "object"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"_id": "kapi.registration.reg_query_error",
"description": "AMQP API for registration.reg_query_error",
"properties": {
"Event-Category": {
"enum": [
"directory"
],
"type": "string"
},
"Event-Name": {
"enum": [
"reg_query_error"
],
"type": "string"
},
"Registrar-Age": {
"type": "string"
}
},
"type": "object"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"_id": "kapi.registration.reg_query_resp",
"description": "AMQP API for registration.reg_query_resp",
"properties": {
"Count": {
"type": "string"
},
"Event-Category": {
"enum": [
"directory"
],
"type": "string"
},
"Event-Name": {
"enum": [
"reg_query_resp"
],
"type": "string"
},
"Fields": {
"type": "string"
},
"Registrar-Age": {
"type": "string"
}
},
"type": "object"
}
Loading

0 comments on commit 47c58b7

Please sign in to comment.