forked from 2600hz/kazoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify kapi_registration module to use kapi_definition module (2600hz…
- Loading branch information
1 parent
709c8e1
commit 47c58b7
Showing
9 changed files
with
1,005 additions
and
282 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
applications/crossbar/priv/couchdb/schemas/kapi.registration.reg_flush.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |
32 changes: 32 additions & 0 deletions
32
applications/crossbar/priv/couchdb/schemas/kapi.registration.reg_query.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |
23 changes: 23 additions & 0 deletions
23
applications/crossbar/priv/couchdb/schemas/kapi.registration.reg_query_error.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |
29 changes: 29 additions & 0 deletions
29
applications/crossbar/priv/couchdb/schemas/kapi.registration.reg_query_resp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |
Oops, something went wrong.