{{rest_title}}

{{{markdown rest_detail}}}

{{_ 'Resource URL'}}

{{upper rest_method}} https://{{request 'server' 'HTTP_HOST'}}/rest{{rest_path}}

{{_ 'Resource Information'}}

{{#when rest_type '===' 'app'}}

{{_ 'This resource is for app authors, or otherwise known as (2-legged). You need to create an app in order to use this resource. You should use pass app tokens to the following parameters.'}}

{{#when rest_method '===' 'get'}}
https://{{request 'server' 'HTTP_HOST'}}/rest{{rest_path}}?client_id=app_token
{{else}}
https://{{request 'server' 'HTTP_HOST'}}/rest{{rest_path}}?client_id=app_token&client_secret=app_secret
{{/when}} {{/when}} {{#when rest_type '===' 'user'}}

{{_ 'This resource is for app authors (2-legged) and for users of apps (3-legged). If you are an app author, you need to create an app in order to use this resource. You should use pass app tokens to the following parameters.'}}

{{#when rest_method '===' 'get'}}
https://{{request 'server' 'HTTP_HOST'}}/rest{{rest_path}}?client_id=app_token
{{else}}
https://{{request 'server' 'HTTP_HOST'}}/rest{{rest_path}}?client_id=app_token&client_secret=app_secret
{{/when}}

{{_ 'If you are going to use this resource for your app users, you should pass the access tokens to the following parameters.'}}

{{#when rest_method '===' 'get'}}
https://{{request 'server' 'HTTP_HOST'}}/rest{{rest_path}}?access_token=access_token
{{else}}
https://{{request 'server' 'HTTP_HOST'}}/rest{{rest_path}}?access_token=access_token&access_secret=access_secret
{{/when}} {{/when}} {{#when rest_type '===' 'public'}}

{{_ 'This resource is publicly available and requires no authentication or tokens.'}}

{{/when}} {{#if rest_sample_request}}

{{_ 'Example Request'}}

{{{markdown rest_sample_request}}} {{/if}} {{#if rest_sample_response}}

{{_ 'Example Response'}}

{{{markdown rest_sample_response}}} {{/if}}