<h1>
    <img src="[[skin_path]]/images/api.png" alt="" />
    {{site_name}} &bull; {{api}}
</h1>
<br />

<div class="row align-center">
    <div class="span6">
        <div class="thumbnail pull-center">
            <img src="[[skin_path]]/images/xml.png" alt="" />
            <div class="caption">{{xml_caption}}</div>
        </div>
    </div>
    <div class="span6">
        <div class="thumbnail pull-center">
            <img src="[[skin_path]]/images/json.png" alt="" />
            <div class="caption">{{json_caption}}</div>
        </div>
    </div>
</div>
<br />

<div class="whitebox whitebox_nomargin">
    {{doc_api_para1}}
    <ul class="lessmargin">
        <li><a href="#create">{{api_lcase}}/{{create_lcase}}</a></li>
        <li><a href="#show">{{api_lcase}}/{{show_lcase}}</a></li>
        <li><a href="#list">{{api_lcase}}/{{list_lcase}}</a></li>
    </ul>
    {{doc_api_para2}}
    <br />
    {{doc_api_para3}}
    <hr />

    <h3>{{api}} &rarr; {{create}}</h3>
    {{doc_api_para4}}
    <br /><br />

    <h4>{{mandatory_params}}</h4>
    <ul class="lessmargin">
        <li><i>paste_data</i> - {{paste_text}}</li>
        <li><i>paste_lang</i> - {{paste_language}}</li>
        <li><i>api_submit</i> - {{set_this_value}}</li>
        <li><i>mode</i> - {{mode_xml_json}}</li>
    </ul>

    <h4>{{optional_params}}</h4>
    <ul class="lessmargin">
        <li><i>paste_user</i> - {{paste_author}}</li>
        <li><i>paste_password</i> - {{paste_pwd}}</li>
        <li><i>paste_private</i> - {{paste_pvt}}</li>
        <li><i>paste_expire</i> - {{paste_exptime}}</li>
        <li><i>paste_project</i> - {{paste_proj}}</li>
    </ul>
    {{language_list_exp}}
    <br /><br />

    <h4>{{return_success}}</h4>
    <ul class="lessmargin">
        <li><i>id</i> - {{id_of_paste}}</li>
        <li><i>hash</i> - {{hash_of_paste}}</li>
    </ul>
    {{url_format_exp}}
    <br /><br />

    <h4>{{return_error}}</h4>
    {{error_ret_exp}}
    <ul class="lessmargin">
        <li><i>err_nothing_to_do</i> - {{err_ntd}}</li>
        <li><i>err_author_numeric</i> - {{err_anum}}</li>
        <li><i>err_save_error</i> - {{err_save}}</li>
        <li><i>err_spamguard_ipban</i> - {{err_sg_ipban}}</li>
        <li><i>err_spamguard_stealth</i> - {{err_sg_stealth}}</li>
        <li><i>err_spamguard_noflood</i> - {{err_sg_noflood}}</li>
        <li><i>err_spamguard_php</i> - {{err_sg_php}}</li>
    </ul>
    <hr />

    <h3>{{api}} &rarr; {{show}}</h3>
    {{doc_api_para5}}
    <br /><br />

    {{doc_api_para6}}<br />
    {{doc_api_para7}}
    <br /><br />

    <h4>{{mandatory_params}}</h4>
    <ul class="lessmargin">
        <li><i>id</i> - {{id_of_paste}}</li>
        <li><i>format</i> - {{result_format_exp}}</li>
    </ul>

    <h4>{{optional_params}}</h4>
    <ul class="lessmargin">
        <li><i>hash</i> - {{hash_of_paste}}</li>
        <li><i>password</i> - {{password_of_paste}}</li>
    </ul>

    <h4>{{return_success}}</h4>
    <ul class="lessmargin">
        <li><i>id</i> - {{id_of_paste}}</li>
        <li><i>author</i> - {{paste_author_exp}}</li>
        <li><i>timestamp</i> - {{paste_timestamp}}</li>
        <li><i>language</i> - {{paste_lang_exp}}</li>
        <li><i>data</i> - {{paste_text_exp}}</li>
    </ul>

    <h4>{{return_error}}</h4>
    {{error_ret_exp}}
    <ul class="lessmargin">
        <li><i>err_not_found</i> - {{err_404}}</li>
        <li><i>err_invalid_hash</i> - {{err_invhash}}</li>
        <li><i>err_password_required</i> - {{err_passreqd}}</li>
        <li><i>err_invalid_password</i> - {{err_passwrng}}</li>
    </ul>
    <hr />
    
    <h3>{{api}} &rarr; {{list}}</h3>
    {{doc_api_para8}}
    <br /><br />

    <h4>{{mandatory_params}}</h4>
    <ul class="lessmargin">
        <li><i>format</i> - {{result_format_exp}}</li>
    </ul>

    <h4>{{optional_params}}</h4>
    <ul class="lessmargin">
        <li><i>project</i> - {{paste_proj_exp}}</li>
        <li><i>page</i> - {{paste_page}}</li>
    </ul>

    <h4>{{return_success}}</h4>
    <ul class="lessmargin">
        <li><i>pastes</i> - {{paste_list_exp}}</li>
        <li><i>count</i> - {{paste_count}}</li>
        <li><i>pages</i> - {{paste_pages}}</li>
    </ul>

    <h4>{{return_error}}</h4>
    {{error_ret_exp}}
    <ul class="lessmargin">
        <li><i>err_no_pastes</i> - {{err_nopastes}}</li>
    </ul>
</div>