maproulette / maproulette/maproulette-backend
projects bulk create API does not return identifiers
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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