maproulette / maproulette/maproulette-backend

projects bulk create API does not return identifiers

Open
#46 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

BACKLOG confirmed
Dominant language
Scala
Stars
53
Forks
39
Avg merge
1d 17h
Merged PRs (30d)
12

Description

There is no way for the API user to know how to access newly created projects through the /api/v2/projects POST call, as the call does not return identifiers. Suggest returning a JSON list with ids in the order of the project objects in the request JSON, {ids: [1,2,3,....]}

Contributor guide

Open the contributing guide

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.

Research direction

Start at the POST handler for /api/v2/projects and trace how bulk-created projects are returned to the API caller. Verify that the response contains identifiers in the same order as the project objects in the request, using the existing API behavior or tests as a reference if available.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
api, backend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.