Skip to content

Swagger UI API docs - cant use updates endpoint #369

Description

@arthsmiller

I am testing out the API via swagger UI. I have found an issue.

TLDR:
Endpoint /updates is stuck at query &action=movies, which is a not supported value and breaks its useablilty.

FIX suggestion:
in file docs/swagger.yml, change line 2175
from
example: movies
to
example: update

What did i do?

  1. Authenticate via Token in UI
  2. Go to Endpoint https://thetvdb.github.io/v4-api/#/Updates/updates
  3. Input yesterdays unix timestamp for "since" field
  4. leave the other fields at "--"
  5. Execute

What did i expect?
Results.

What did i get?
No results.
{
"status": "success",
"data": [],
"links": {
"prev": null,
"self": "https://api4.thetvdb.com/v4/updates?since=1757004718&action=movies&page=0",
"next": null,
"total_items": 0,
"page_size": 0
}
}

What i observed is that the field "action" is stuck at the value "movies", no matter what i input via the frontend.
The only possible values via dropdown are "--", "update" and "delete".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions