<?php $__env->startSection('content'); ?>
<section class="section">
          <div class="section-header">
            <h1>API Dokumentasi</h1>
            <div class="section-header-breadcrumb">
              <div class="breadcrumb-item"><a href="#">API Dokumentasi</a></div>
              
            </div>
          </div>

          <div class="section-body">
          
          	<div class="row">
          		<div class="col-md-12">
          			<div class="card">
		              <div class="card-header">
		                <h4><span>API Dokumentasi</span></h4>
		              </div>
		              <div class="card-body">
                        <div class="table table-responsive">
                            <table class="table table-striped">
                                <tr>
                                    <td>HTTP Method</td>
                                    <td>POST</td>
                                </tr>
                                <tr>
                                    <td>API URL</td>
                                    <td><?php echo e(url('/api/sosmed')); ?></td>
                                </tr>
                                <?php if(isset($user)): ?>
                                <tr>
                                    <td>API Key</td>
                                    <td><?php echo e($user->api_key); ?></td>
                                </tr>
                                <?php endif; ?>
                                <tr>
                                    <td>Example Code</td>
                                    <td><a href="">PHP Example</a></td>
                                </tr>
                            </table>
                        </div>
                            <div class="section-api">
                                <div class="section-api-header">
                                    <h3>Get Service</h3>
                                </div>
                                <div class="section-api-body">
                                    <div class="table-responsive">
                                        <table class="table table-striped table-md">    
                                      
                                                <tr>
                                                    <th>
                                                        Parameter
                                                    </th>
                                                    <th>
                                                        Deskripsi
                                                    </th>
                                                </tr>
                                            
                                                <tr>
                                                    <td>key</td>
                                                    <td>API Key anda</td>
                                                </tr>
                                           
                                                <tr>
                                                    <td>action</td>
                                                    <td>services</td>
                                                </tr>
                                            
                                        </table>
                                    </div>
                                    <div class="responses">
                                        <div class="response">
                                        <p>Success Response:</p>
                                            <pre class="prettyprint">
                                                {
                                                    success: true,
                                                    data: {
                                                        id: 1,
                                                        name: 'Instagram Followers Khusus Zooopedia Termurah S1',
                                                        min: 100,
                                                        max: 100000,
                                                        price: 2150,
                                                        status: 'Active',
                                                        note: 'SUPER INSTANT, HIGH QUALITY, SILAHKAN DIORDER'
                                                    }
                                                }
                                            </pre>
                                        </div>
                                    <div class="responses">
                                        <div class="response">
                                            <p>Failed response:</p>
                                            <pre class="prettyprint">
                                                {
                                                    success: false,
                                                    error: "Incorrect Request"
                                                }
                                            </pre>
                                            
                                        </div>
                                        
                                    </div>
                                </div>
                            </div>
                            <div class="section-api">
                                <div class="section-api-header">
                                    <h3>Pemesanan Baru</h3>
                                </div>
                                <div class="section-api-body">
                                    <div class="table-responsive">
                                        <table class="table table-striped table-md">    
                                      
                                                <tr>
                                                    <th>
                                                        Parameter
                                                    </th>
                                                    <th>
                                                        Deskripsi
                                                    </th>
                                                </tr>
                                            
                                                <tr>
                                                    <td>key</td>
                                                    <td>API Key anda</td>
                                                </tr>
                                           
                                                <tr>
                                                    <td>action</td>
                                                    <td>order</td>
                                                </tr>
                                           
                                                <tr>
                                                    <td>service</td>
                                                    <td>Id layanan, bisa dilihat di <a href="<?php echo e(url('price/sosmed')); ?>">Daftar layanan</a></td>
                                                </tr>
                                           
                                                <tr>
                                                    <td>target</td>
                                                    <td>Target pesanan sesuai kebutuhan (username/url/id).</td>
                                                </tr>
                                           
                                                <tr>
                                                    <td>quantity</td>
                                                    <td>Jumlah pesan</td>
                                                </tr>
                                           
                                                <tr>
                                                    <td>custom_comments</td>
                                                    <td>Daftar komentar, dipisahkan dengan enter atau \r\n atau \n. (Hanya diperlukan jika pesan layanan custom komentar)</td>
                                                </tr>
                                           
                                                <tr>
                                                    <td>custom_link</td>
                                                    <td>Link post. (Hanya diperlukan jika pesan layanan Like Komentar Instagram)</td>
                                                </tr>
                                            
                                        </table>
                                    </div>
                                    <div class="responses">
                                        <div class="response">
                                        <p>Success Response:</p>
                                            <pre class="prettyprint">
                                                {
                                                    success: true,
                                                    data: {
                                                        id: 2413
                                                    }
                                                }
                                            </pre>
                                        </div>
                                    <div class="responses">
                                        <div class="response">
                                            <p>Failed response:</p>
                                            <pre class="prettyprint">
                                                {
                                                    success: false,
                                                    error: "Service not found"
                                                }
                                            </pre>
                                            
                                        </div>
                                        
                                    </div>
                                </div>
                            </div>
                            <div class="section-api">
                                <div class="section-api-header">
                                    <h3>Order status</h3>
                                </div>
                                <div class="section-api-body">
                                    <div class="table-responsive">
                                        <table class="table table-striped table-md">    
                                      
                                                <tr>
                                                    <th>
                                                        Parameter
                                                    </th>
                                                    <th>
                                                        Deskripsi
                                                    </th>
                                                </tr>
                                            
                                                <tr>
                                                    <td>key</td>
                                                    <td>API Key anda</td>
                                                </tr>
                                           
                                                <tr>
                                                    <td>action</td>
                                                    <td>status</td>
                                                </tr>
                                           
                                                <tr>
                                                    <td>order_id</td>
                                                    <td>ID Pesanan</td>
                                                </tr>
                                            
                                        </table>
                                    </div>
                                    <div class="responses">
                                        <div class="response">
                                        <p>Success Response:</p>
                                            <pre class="prettyprint">
                                                {
                                                    success: true,
                                                    data: {
                                                        status: "Success",
                                                        start_count: 1320,
                                                        remains: 0,
                                                    }
                                                }
                                            </pre>
                                        </div>
                                    <div class="responses">
                                        <div class="response">
                                            <p>Failed response:</p>
                                            <pre class="prettyprint">
                                                {
                                                    success: false,
                                                    error: "API Key salah"
                                                }
                                            </pre>
                                            
                                        </div>
                                        
                                    </div>
                                </div>
                            </div>
		              </div>
		            </div>
          		</div>
          	</div>
            
          </div>
        </section>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.sidebar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Users\Berkc\OneDrive\Masaüstü\smm\zoopedia-master\resources\views\api\sosmed_doc.blade.php ENDPATH**/ ?>