forked from prebid/prebid.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpb-api-template.html
More file actions
55 lines (44 loc) · 1.93 KB
/
Copy pathpb-api-template.html
File metadata and controls
55 lines (44 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<div class="pb-api-endpoint">
<div class="pb-api-ep-title">Endpoint Title</div>
<div class="pb-api-ep-description">This is the endpoint description</div>
<div class="pb-api-example">
<div class="pb-api-example-title-bar"><p>endpoint</p></div>
<div class="pb-api-example" id="pb-api-code-block"><pre style="border:0px;"><code>pbjs.setConfig({ debug: true });</code></pre></div>
</div>
<div class="pb-api-ep-arguments pb-api-on">
<div class="pb-api-title">Arguments: <button class="api-display-btn" id="btn-arguments">Hide Arguments</button></div>
<div class="pb-api-arg-list">
<ul>
<li>
<code style="background-color:transparent;">arg1</code>: <i>string</i>
<p>String indicating some value that has to be passed as a string type.</p>
</li>
<li class="pb-api-lastitem">
<code style="background-color:transparent;">arg2</code>: <i>number</i>
<p>Number indicating some value that has to be passed as a number type.</p>
</li>
</ul>
</div>
</div>
<div class="pb-api-ep-response pb-api-on">
<div class="pb-api-title">Response</div>
<div class="pb-text">Response Description</div>
<div class="pb-api-example">
<div class="pb-api-example-title-bar"><p>endpoint response</p></div>
<div class="pb-api-example" id="pb-api-code-block"><pre style="border:0px;"><code>{ response: example }</code></pre></div>
</div>
<div class="pb-api-param-list">
<ul>
<li>
<code style="background-color:transparent;">param1</code>: <i>string</i>
<p>String indicating some value that has to be passed as a string type.</p>
</li>
<li>
<code style="background-color:transparent;">param2</code>: <i>number</i>
<p>Number indicating some value that has to be passed as a number type.</p>
<div class="pb-alert pb-alert-note">Note: This number should be between 0 and infinity.</div>
</li>
</ul>
</div>
</div>
</div>