mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 03:50:31 +00:00
The new documentation site uses traditional markdown instead
of the Confluence flavored version. This required changes in
the mustache templates and the python that generates the files.
(cherry picked from commit d2172582f7
)
23 lines
698 B
Plaintext
23 lines
698 B
Plaintext
---
|
|
title: Asterisk REST Data Models
|
|
---
|
|
# Asterisk REST Data Models
|
|
{{#apis}}
|
|
{{#api_declaration}}
|
|
{{#models}}
|
|
## {{id}}
|
|
{{#extends}}Base type: [{{extends}}](#{{extends}}){{/extends}}
|
|
{{#has_subtypes}}Subtypes:{{#all_subtypes}} [{{id}}](#{{id}}){{/all_subtypes}}{{/has_subtypes}}
|
|
### Model
|
|
``` javascript title="{{id}}" linenums="1"
|
|
{{{model_json}}}
|
|
```
|
|
### Properties
|
|
{{#properties}}
|
|
* {{name}}: {{#type}}{{#is_primitive}}{{wiki_name}}{{/is_primitive}}{{^is_primitive}}[{{wiki_name}}|#{{singular_name}}]{{/is_primitive}}{{/type}}{{^required}} _(optional)_{{/required}}{{#wiki_description}} - {{{wiki_description}}}{{/wiki_description}}
|
|
{{/properties}}
|
|
|
|
{{/models}}
|
|
{{/api_declaration}}
|
|
{{/apis}}
|