videos query event parameter doesn't match spec

Open
#151 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
openapi
Domain
api

Research direction

Start with the videos query handling and the /openapi.json definition for the event parameter. Determine how an empty ?event= value should behave and update the implementation and specification so they agree; done means the parameter matches the stated API behavior.

Written by the indexing model from the issue text.

Description

bug

DCMS v4.1.2

From /openapi.json:

{
  "description": "URL slug of event, e.g. \"dyalog-23\"",
  "in": "query",
  "name": "event",
  "required": 0,
  "schema": {
    "type": "string"
  }
}

Furthermore, it is not clear whether ?event= should be interpreted as omitting ?event entirely, nor how or whether that should be defined in the OpenAPI spec. Practically it makes sense to do so.

Dominant language
APL
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Dyalog/DCMS

All issues in Dyalog/DCMS

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.