1
0
mirror of https://github.com/Decicus/DecAPI-Docs.git synced 2024-11-22 08:52:31 +01:00

Fix screenshots in /youtube routes

This commit is contained in:
Alex Thomassen 2017-07-03 13:54:43 +02:00
parent baa8b7e347
commit ecff73fe3c
4 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@
<li class="list-group-item">For endpoints that mention JSON support without any further information, send <code>Accept: application/json</code> in the request header to receive the response as JSON instead.</li>
<li class="list-group-item">Parameters are <strong>always</strong> required.</li>
<li class="list-group-item">Query strings are <strong>never</strong> required.</li>
<li class="list-group-item">Parameter/query string examples may be prefixed by a colon (<code>:</code>), for example: <code>:username</code>. This should be omitted in the actual requests.</li>
<li class="list-group-item">Parameter/query string examples may be prefixed by a colon (<code>:</code>), for example: <code>:username</code> or <code>:channel</code>. These should be omitted and replaced by the input value from the actual requests.</li>
</div>
</div>
</div>

View File

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 51 KiB

View File

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 72 KiB

View File

@ -12,7 +12,7 @@ endpoints:
notes:
- 'Retrieves the latest video uploaded to the specified channel and returns the title + URL for it.'
- 'Either <code>user</code> or <code>id</code> has to be specified. If both are specified, <code>id</code> will be used.'
- 'If a YouTube channel URL is in the <code>/c/decicus</code> format, you should use <code>id</code>. One method of retrieving your channel ID is by visiting <a href="https://www.youtube.com/account_advanced" target="_blank">https://www.youtube.com/account_advanced</a> and copying the "YouTube channel ID". See <a href="./img/yt_latestvideo1.png" target="_blank">this screenshot</a> for reference.'
- 'If a YouTube channel URL is in the <code>/c/decicus</code> format, you should use <code>id</code>. One method of retrieving your channel ID is by visiting <a href="https://www.youtube.com/account_advanced" target="_blank">https://www.youtube.com/account_advanced</a> and copying the "YouTube channel ID". See <a href="/static/img/yt_latestvideo1.png" target="_blank">this screenshot</a> for reference.'
- route: "latest_pl_video"
qs:
- name: "id"
@ -20,7 +20,7 @@ endpoints:
type: "string"
required: true
notes:
- '<strong>Important:</strong> Because of a bit of a limitation with the YouTube API, the owner of the playlist has to go into the "Playlist settings" and order the playlist by "Date added/published (newest)" for this to work correctly. <br> <a href="./img/yt_plvideo1.png" target="_blank"><i class="fa fa-1x fa-image"></i> Screenshot</a>'
- '<strong>Important:</strong> Because of a bit of a limitation with the YouTube API, the owner of the playlist has to go into the "Playlist settings" and order the playlist by "Date added/published (newest)" for this to work correctly. <br> <a href="/static/img/yt_plvideo1.png" target="_blank"><i class="fa fa-1x fa-image"></i> Screenshot</a>'
- 'Retrieves the latest video added to a <strong>playlist</strong>.'
- route: "videoid/:search"
parameters: