Skip to content

Commit

Permalink
Modify kapi_metaflow module to use kapi_definition module (2600hz#6341)
Browse files Browse the repository at this point in the history
  • Loading branch information
harenson authored and jamesaimonetti committed Feb 28, 2020
1 parent b2ef3c4 commit 715ede9
Show file tree
Hide file tree
Showing 4 changed files with 559 additions and 200 deletions.
67 changes: 67 additions & 0 deletions applications/crossbar/priv/api/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -18238,6 +18238,73 @@
],
"type": "object"
},
"kapi.metaflow.bind": {
"description": "AMQP API for metaflow.bind",
"properties": {
"Binding-Digit": {
"enum": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"*",
"0",
"#"
],
"type": "string"
},
"Call": {
"type": "object"
},
"Call-ID": {
"type": "string"
},
"Digit-Timeout": {
"type": "integer"
},
"Endpoint-ID": {
"type": "string"
},
"Event-Category": {
"enum": [
"metaflow"
],
"type": "string"
},
"Event-Name": {
"enum": [
"bind"
],
"type": "string"
},
"Listen-On": {
"enum": [
"both",
"self",
"peer",
"aleg",
"bleg"
],
"type": "string"
},
"Numbers": {
"type": "string"
},
"Patterns": {
"type": "string"
}
},
"required": [
"Call",
"Call-ID"
],
"type": "object"
},
"kapi.metaflow.bind_req": {
"description": "AMQP API for metaflow.bind_req",
"properties": {
Expand Down
69 changes: 69 additions & 0 deletions applications/crossbar/priv/couchdb/schemas/kapi.metaflow.bind.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"_id": "kapi.metaflow.bind",
"description": "AMQP API for metaflow.bind",
"properties": {
"Binding-Digit": {
"enum": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"*",
"0",
"#"
],
"type": "string"
},
"Call": {
"type": "object"
},
"Call-ID": {
"type": "string"
},
"Digit-Timeout": {
"type": "integer"
},
"Endpoint-ID": {
"type": "string"
},
"Event-Category": {
"enum": [
"metaflow"
],
"type": "string"
},
"Event-Name": {
"enum": [
"bind"
],
"type": "string"
},
"Listen-On": {
"enum": [
"both",
"self",
"peer",
"aleg",
"bleg"
],
"type": "string"
},
"Numbers": {
"type": "string"
},
"Patterns": {
"type": "string"
}
},
"required": [
"Call",
"Call-ID"
],
"type": "object"
}
Loading

0 comments on commit 715ede9

Please sign in to comment.