Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Accept multiple types at one endpoint?

Open
#1,087 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
rails, ruby
Domain
api, backend

Research direction

No files or tests are named. Start by tracing how the Rails library maps an endpoint to a controller and Resource, then examine how STI variants are currently handled. The work would be complete when the supported behavior for multiple types at one endpoint is defined and verified.

Written by the indexing model from the issue text.

Description

Is it possible to accept multiple types at the same endpoint and use the corresponding Resource? i.e. multiple STI variants all using the same controller rather than making a controller for each?

Dominant language
Ruby
Stars
2.3k
Forks
546
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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 JSONAPI-Resources/jsonapi-resources

All issues in JSONAPI-Resources/jsonapi-resources

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.