Skip to content

Commit

Permalink
Improve api docs
Browse files Browse the repository at this point in the history
  • Loading branch information
leepeuker committed Sep 14, 2023
1 parent 9e44d02 commit 83a843b
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions docs/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"tags": [
"History"
],
"summary": "Get watch dates from user history (sorted by most recently watched)",
"summary": "Get played movies with watch dates of user",
"description": "Get all played movies with watch dates set. Sorted by most recently watch dates on default.",
"parameters": [
{
"name": "username",
Expand Down Expand Up @@ -104,7 +105,8 @@
"tags": [
"History"
],
"summary": "Add watch dates to user history",
"summary": "Add movie play with watch date set to user",
"description": "Create or update the provided watch dates for the specified movies. A date for plays is required.",
"parameters": [
{
"name": "username",
Expand Down Expand Up @@ -163,7 +165,8 @@
"tags": [
"History"
],
"summary": "Replace watch dates in user history",
"summary": "Replace movie play with watch date set for user",
"description": "Create or replace the provided watch dates for the specified movies. A date for plays is required.",
"parameters": [
{
"name": "username",
Expand Down Expand Up @@ -222,7 +225,8 @@
"tags": [
"History"
],
"summary": "Delete watch dates from user history",
"summary": "Delete movie watch dates from user history",
"description": "Delete all watch dates of specified movies if no specific watch dates are provided. A date for plays is required.",
"parameters": [
{
"name": "username",
Expand Down Expand Up @@ -277,7 +281,8 @@
"tags": [
"Watchlist"
],
"summary": "Get movies from user watchlist (sorted by most recently added)",
"summary": "Get movies in watchlist of user",
"description": "Get all movies on the user watchlist. Sorted by most recently added on default.",
"parameters": [
{
"name": "username",
Expand Down Expand Up @@ -410,7 +415,7 @@
"tags": [
"Watchlist"
],
"summary": "Add movies to user watchlist",
"summary": "Add movie to watchlist of user",
"parameters": [
{
"name": "username",
Expand Down Expand Up @@ -460,7 +465,7 @@
"tags": [
"Watchlist"
],
"summary": "Delete movies from user watchlist",
"summary": "Delete movie from watchlist of user",
"parameters": [
{
"name": "username",
Expand Down

0 comments on commit 83a843b

Please sign in to comment.