From ecff73fe3c18d6d897403bad75b2a97bcab177ac Mon Sep 17 00:00:00 2001 From: Alex Thomassen Date: Mon, 3 Jul 2017 13:54:43 +0200 Subject: [PATCH] Fix screenshots in /youtube routes --- src/components/Home.vue | 2 +- {img => static/img}/yt_latestvideo1.png | Bin {img => static/img}/yt_plvideo1.png | Bin static/yaml/endpoints/youtube.yaml | 4 ++-- 4 files changed, 3 insertions(+), 3 deletions(-) rename {img => static/img}/yt_latestvideo1.png (100%) rename {img => static/img}/yt_plvideo1.png (100%) diff --git a/src/components/Home.vue b/src/components/Home.vue index 1be8e6a..d4ebd22 100644 --- a/src/components/Home.vue +++ b/src/components/Home.vue @@ -27,7 +27,7 @@
  • For endpoints that mention JSON support without any further information, send Accept: application/json in the request header to receive the response as JSON instead.
  • Parameters are always required.
  • Query strings are never required.
  • -
  • Parameter/query string examples may be prefixed by a colon (:), for example: :username. This should be omitted in the actual requests.
  • +
  • Parameter/query string examples may be prefixed by a colon (:), for example: :username or :channel. These should be omitted and replaced by the input value from the actual requests.
  • diff --git a/img/yt_latestvideo1.png b/static/img/yt_latestvideo1.png similarity index 100% rename from img/yt_latestvideo1.png rename to static/img/yt_latestvideo1.png diff --git a/img/yt_plvideo1.png b/static/img/yt_plvideo1.png similarity index 100% rename from img/yt_plvideo1.png rename to static/img/yt_plvideo1.png diff --git a/static/yaml/endpoints/youtube.yaml b/static/yaml/endpoints/youtube.yaml index 5278d3b..3864882 100644 --- a/static/yaml/endpoints/youtube.yaml +++ b/static/yaml/endpoints/youtube.yaml @@ -12,7 +12,7 @@ endpoints: notes: - 'Retrieves the latest video uploaded to the specified channel and returns the title + URL for it.' - 'Either user or id has to be specified. If both are specified, id will be used.' - - 'If a YouTube channel URL is in the /c/decicus format, you should use id. One method of retrieving your channel ID is by visiting https://www.youtube.com/account_advanced and copying the "YouTube channel ID". See this screenshot for reference.' + - 'If a YouTube channel URL is in the /c/decicus format, you should use id. One method of retrieving your channel ID is by visiting https://www.youtube.com/account_advanced and copying the "YouTube channel ID". See this screenshot for reference.' - route: "latest_pl_video" qs: - name: "id" @@ -20,7 +20,7 @@ endpoints: type: "string" required: true notes: - - 'Important: 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.
    Screenshot' + - 'Important: 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.
    Screenshot' - 'Retrieves the latest video added to a playlist.' - route: "videoid/:search" parameters: