Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

Commit

Permalink
updated examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Alif Rachmawadi committed Dec 16, 2016
1 parent c8fb717 commit 6a99acd
Show file tree
Hide file tree
Showing 20 changed files with 180 additions and 5 deletions.
2 changes: 2 additions & 0 deletions examples/alpha/01. Simplest API.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ <h3 class="ui block center aligned header" id="/message-get">
<h4 class="ui horizontal divider">
REQUEST
</h4>
<div class="description"></div>
<div class="fluid ui large labeled button">
<div class="ui green large button">
<h3>GET</h3>
Expand All @@ -189,6 +190,7 @@ <h3>GET</h3>


<h4 class="ui horizontal divider">RESPONSE</h4>
<div class="description"></div>

<table class="ui celled definition table">
<thead>
Expand Down
4 changes: 4 additions & 0 deletions examples/alpha/02. Resource and Actions.html
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ <h3 class="ui block center aligned header" id="/message-get">
<h4 class="ui horizontal divider">
REQUEST
</h4>
<div class="description"></div>
<div class="fluid ui large labeled button">
<div class="ui green large button">
<h3>GET</h3>
Expand All @@ -198,6 +199,7 @@ <h3>GET</h3>


<h4 class="ui horizontal divider">RESPONSE</h4>
<div class="description"></div>

<table class="ui celled definition table">
<thead>
Expand Down Expand Up @@ -267,6 +269,7 @@ <h3 class="ui block center aligned header" id="/message-put">
<h4 class="ui horizontal divider">
REQUEST
</h4>
<div class="description"></div>
<div class="fluid ui large labeled button">
<div class="ui teal large button">
<h3>PUT</h3>
Expand Down Expand Up @@ -323,6 +326,7 @@ <h3>PUT</h3>


<h4 class="ui horizontal divider">RESPONSE</h4>
<div class="description"></div>

<table class="ui celled definition table">
<thead>
Expand Down
4 changes: 4 additions & 0 deletions examples/alpha/03. Named Resource and Actions.html
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ <h3 class="ui block center aligned header" id="my-message-retrieve-a-message">
<h4 class="ui horizontal divider">
REQUEST
</h4>
<div class="description"></div>
<div class="fluid ui large labeled button">
<div class="ui green large button">
<h3>GET</h3>
Expand All @@ -190,6 +191,7 @@ <h3>GET</h3>


<h4 class="ui horizontal divider">RESPONSE</h4>
<div class="description"></div>

<table class="ui celled definition table">
<thead>
Expand Down Expand Up @@ -255,6 +257,7 @@ <h3 class="ui block center aligned header" id="my-message-update-a-message">
<h4 class="ui horizontal divider">
REQUEST
</h4>
<div class="description"></div>
<div class="fluid ui large labeled button">
<div class="ui teal large button">
<h3>PUT</h3>
Expand Down Expand Up @@ -311,6 +314,7 @@ <h3>PUT</h3>


<h4 class="ui horizontal divider">RESPONSE</h4>
<div class="description"></div>

<table class="ui celled definition table">
<thead>
Expand Down
4 changes: 4 additions & 0 deletions examples/alpha/04. Grouping Resources.html
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ <h3 class="ui block center aligned header" id="messages-my-message-retrieve-a-me
<h4 class="ui horizontal divider">
REQUEST
</h4>
<div class="description"></div>
<div class="fluid ui large labeled button">
<div class="ui green large button">
<h3>GET</h3>
Expand All @@ -208,6 +209,7 @@ <h3>GET</h3>


<h4 class="ui horizontal divider">RESPONSE</h4>
<div class="description"></div>

<table class="ui celled definition table">
<thead>
Expand Down Expand Up @@ -272,6 +274,7 @@ <h3 class="ui block center aligned header" id="messages-my-message-update-a-mess
<h4 class="ui horizontal divider">
REQUEST
</h4>
<div class="description"></div>
<div class="fluid ui large labeled button">
<div class="ui teal large button">
<h3>PUT</h3>
Expand Down Expand Up @@ -328,6 +331,7 @@ <h3>PUT</h3>


<h4 class="ui horizontal divider">RESPONSE</h4>
<div class="description"></div>

<table class="ui celled definition table">
<thead>
Expand Down
6 changes: 6 additions & 0 deletions examples/alpha/05. Responses.html
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ <h3 class="ui block center aligned header" id="messages-my-message-retrieve-a-me
<h4 class="ui horizontal divider">
REQUEST
</h4>
<div class="description"></div>
<div class="fluid ui large labeled button">
<div class="ui green large button">
<h3>GET</h3>
Expand All @@ -198,6 +199,7 @@ <h3>GET</h3>


<h4 class="ui horizontal divider">RESPONSE</h4>
<div class="description"></div>

<table class="ui celled definition table">
<thead>
Expand Down Expand Up @@ -251,6 +253,7 @@ <h4 class="ui horizontal divider">RESPONSE</h4>
<h4 class="ui horizontal divider">
REQUEST
</h4>
<div class="description"></div>
<div class="fluid ui large labeled button">
<div class="ui green large button">
<h3>GET</h3>
Expand All @@ -264,6 +267,7 @@ <h3>GET</h3>


<h4 class="ui horizontal divider">RESPONSE</h4>
<div class="description"></div>

<table class="ui celled definition table">
<thead>
Expand Down Expand Up @@ -333,6 +337,7 @@ <h3 class="ui block center aligned header" id="messages-my-message-update-a-mess
<h4 class="ui horizontal divider">
REQUEST
</h4>
<div class="description"></div>
<div class="fluid ui large labeled button">
<div class="ui teal large button">
<h3>PUT</h3>
Expand Down Expand Up @@ -389,6 +394,7 @@ <h3>PUT</h3>


<h4 class="ui horizontal divider">RESPONSE</h4>
<div class="description"></div>

<table class="ui celled definition table">
<thead>
Expand Down
8 changes: 8 additions & 0 deletions examples/alpha/06. Requests.html
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ <h3 class="ui block center aligned header" id="messages-my-message-retrieve-a-me
<h4 class="ui horizontal divider">
REQUEST Plain Text Message
</h4>
<div class="description"></div>
<div class="fluid ui large labeled button">
<div class="ui green large button">
<h3>GET</h3>
Expand Down Expand Up @@ -215,6 +216,7 @@ <h3>GET</h3>


<h4 class="ui horizontal divider">RESPONSE</h4>
<div class="description"></div>

<table class="ui celled definition table">
<thead>
Expand Down Expand Up @@ -268,6 +270,7 @@ <h4 class="ui horizontal divider">RESPONSE</h4>
<h4 class="ui horizontal divider">
REQUEST JSON Message
</h4>
<div class="description"></div>
<div class="fluid ui large labeled button">
<div class="ui green large button">
<h3>GET</h3>
Expand Down Expand Up @@ -299,6 +302,7 @@ <h3>GET</h3>


<h4 class="ui horizontal divider">RESPONSE</h4>
<div class="description"></div>

<table class="ui celled definition table">
<thead>
Expand Down Expand Up @@ -368,6 +372,7 @@ <h3 class="ui block center aligned header" id="messages-my-message-update-a-mess
<h4 class="ui horizontal divider">
REQUEST Update Plain Text Message
</h4>
<div class="description"></div>
<div class="fluid ui large labeled button">
<div class="ui teal large button">
<h3>PUT</h3>
Expand Down Expand Up @@ -424,6 +429,7 @@ <h3>PUT</h3>


<h4 class="ui horizontal divider">RESPONSE</h4>
<div class="description"></div>

<table class="ui celled definition table">
<thead>
Expand Down Expand Up @@ -466,6 +472,7 @@ <h4 class="ui horizontal divider">RESPONSE</h4>
<h4 class="ui horizontal divider">
REQUEST Update JSON Message
</h4>
<div class="description"></div>
<div class="fluid ui large labeled button">
<div class="ui teal large button">
<h3>PUT</h3>
Expand Down Expand Up @@ -522,6 +529,7 @@ <h3>PUT</h3>


<h4 class="ui horizontal divider">RESPONSE</h4>
<div class="description"></div>

<table class="ui celled definition table">
<thead>
Expand Down
10 changes: 10 additions & 0 deletions examples/alpha/07. Parameters.html
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ <h3 class="ui block center aligned header" id="messages-my-message-retrieve-a-me
<h4 class="ui horizontal divider">
REQUEST Plain Text Message
</h4>
<div class="description"></div>
<div class="fluid ui large labeled button">
<div class="ui green large button">
<h3>GET</h3>
Expand Down Expand Up @@ -238,6 +239,7 @@ <h3>GET</h3>


<h4 class="ui horizontal divider">RESPONSE</h4>
<div class="description"></div>

<table class="ui celled definition table">
<thead>
Expand Down Expand Up @@ -291,6 +293,7 @@ <h4 class="ui horizontal divider">RESPONSE</h4>
<h4 class="ui horizontal divider">
REQUEST JSON Message
</h4>
<div class="description"></div>
<div class="fluid ui large labeled button">
<div class="ui green large button">
<h3>GET</h3>
Expand Down Expand Up @@ -322,6 +325,7 @@ <h3>GET</h3>


<h4 class="ui horizontal divider">RESPONSE</h4>
<div class="description"></div>

<table class="ui celled definition table">
<thead>
Expand Down Expand Up @@ -394,6 +398,7 @@ <h3 class="ui block center aligned header" id="messages-my-message-update-a-mess
<h4 class="ui horizontal divider">
REQUEST Update Plain Text Message
</h4>
<div class="description"></div>
<div class="fluid ui large labeled button">
<div class="ui teal large button">
<h3>PUT</h3>
Expand Down Expand Up @@ -450,6 +455,7 @@ <h3>PUT</h3>


<h4 class="ui horizontal divider">RESPONSE</h4>
<div class="description"></div>

<table class="ui celled definition table">
<thead>
Expand Down Expand Up @@ -492,6 +498,7 @@ <h4 class="ui horizontal divider">RESPONSE</h4>
<h4 class="ui horizontal divider">
REQUEST Update JSON Message
</h4>
<div class="description"></div>
<div class="fluid ui large labeled button">
<div class="ui teal large button">
<h3>PUT</h3>
Expand Down Expand Up @@ -548,6 +555,7 @@ <h3>PUT</h3>


<h4 class="ui horizontal divider">RESPONSE</h4>
<div class="description"></div>

<table class="ui celled definition table">
<thead>
Expand Down Expand Up @@ -630,6 +638,7 @@ <h3 class="ui block center aligned header" id="messages-all-my-messages-retrieve
<h4 class="ui horizontal divider">
REQUEST
</h4>
<div class="description"></div>
<div class="fluid ui large labeled button">
<div class="ui green large button">
<h3>GET</h3>
Expand Down Expand Up @@ -669,6 +678,7 @@ <h3>GET</h3>


<h4 class="ui horizontal divider">RESPONSE</h4>
<div class="description"></div>

<table class="ui celled definition table">
<thead>
Expand Down
4 changes: 3 additions & 1 deletion examples/alpha/08. Attributes.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ <h3 class="ui block center aligned header" id="coupons-coupon-retrieve-a-coupon"
<h4 class="ui horizontal divider">
REQUEST
</h4>
<div class="description"></div>
<div class="fluid ui large labeled button">
<div class="ui green large button">
<h3>GET</h3>
Expand All @@ -191,6 +192,7 @@ <h3>GET</h3>


<h4 class="ui horizontal divider">RESPONSE</h4>
<div class="description"></div>

<table class="ui celled definition table">
<thead>
Expand Down Expand Up @@ -247,7 +249,7 @@ <h4 class="ui horizontal divider">RESPONSE</h4>
},
&#34;percent_off&#34;: {
&#34;type&#34;: &#34;number&#34;,
&#34;description&#34;: &#34;A positive integer between 1 and 100 that represents the discount\nthe coupon will apply.\n&#34;
&#34;description&#34;: &#34;A positive integer between 1 and 100 that represents the discount\nthe coupon will apply.&#34;
},
&#34;redeem_by&#34;: {
&#34;type&#34;: &#34;number&#34;,
Expand Down
10 changes: 8 additions & 2 deletions examples/alpha/09. Advanced Attributes.html
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ <h3 class="ui block center aligned header" id="coupons-coupon-retrieve-a-coupon"
<h4 class="ui horizontal divider">
REQUEST
</h4>
<div class="description"></div>
<div class="fluid ui large labeled button">
<div class="ui green large button">
<h3>GET</h3>
Expand All @@ -229,6 +230,7 @@ <h3>GET</h3>


<h4 class="ui horizontal divider">RESPONSE</h4>
<div class="description"></div>

<table class="ui celled definition table">
<thead>
Expand Down Expand Up @@ -284,7 +286,7 @@ <h4 class="ui horizontal divider">RESPONSE</h4>
},
&#34;percent_off&#34;: {
&#34;type&#34;: &#34;number&#34;,
&#34;description&#34;: &#34;A positive integer between 1 and 100 that represents the discount the coupon will apply.\n&#34;
&#34;description&#34;: &#34;A positive integer between 1 and 100 that represents the discount the coupon will apply.&#34;
},
&#34;redeem_by&#34;: {
&#34;type&#34;: &#34;number&#34;,
Expand Down Expand Up @@ -339,6 +341,7 @@ <h3 class="ui block center aligned header" id="coupons-coupons-list-all-coupons"
<h4 class="ui horizontal divider">
REQUEST
</h4>
<div class="description"></div>
<div class="fluid ui large labeled button">
<div class="ui green large button">
<h3>GET</h3>
Expand Down Expand Up @@ -379,6 +382,7 @@ <h3>GET</h3>


<h4 class="ui horizontal divider">RESPONSE</h4>
<div class="description"></div>

<table class="ui celled definition table">
<thead>
Expand Down Expand Up @@ -453,6 +457,7 @@ <h3 class="ui block center aligned header" id="coupons-coupons-create-a-coupon">
<h4 class="ui horizontal divider">
REQUEST
</h4>
<div class="description"></div>
<div class="fluid ui large labeled button">
<div class="ui blue large button">
<h3>POST</h3>
Expand Down Expand Up @@ -511,6 +516,7 @@ <h3>POST</h3>


<h4 class="ui horizontal divider">RESPONSE</h4>
<div class="description"></div>

<table class="ui celled definition table">
<thead>
Expand Down Expand Up @@ -566,7 +572,7 @@ <h4 class="ui horizontal divider">RESPONSE</h4>
},
&#34;percent_off&#34;: {
&#34;type&#34;: &#34;number&#34;,
&#34;description&#34;: &#34;A positive integer between 1 and 100 that represents the discount the coupon will apply.\n&#34;
&#34;description&#34;: &#34;A positive integer between 1 and 100 that represents the discount the coupon will apply.&#34;
},
&#34;redeem_by&#34;: {
&#34;type&#34;: &#34;number&#34;,
Expand Down
Loading

0 comments on commit 6a99acd

Please sign in to comment.