mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +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.
		
			
				
	
	
		
			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}}
 |