parse-community / parse-community/parse-server

Batch get support

Open
#4,021 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type:feature
Dominant language
JavaScript
Stars
21.4k
Forks
4.8k
Avg merge
7h 45m
Merged PRs (30d)
11

Description

/1/batch should support get, several API GET requests into one


curl -X POST
  -H "X-Parse-Application-Id: ${APPLICATION_ID}" \
  -H "X-Parse-REST-API-Key: ${REST_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
        "requests": [
          {
            "method": "GET",
            "path": "/1/classes/GameScore",
            "body": {
              "where": {"age":11},
              "limit":1000
            }
          },
          {
            "method": "GET",
            "path": "/1/classes/GameScore2",
            "body": {
              "where": {"objectId":"Ed1nuqPvcm"}
            }
          }
        ]
      }
  https://api.parse.com/1/batch

[{"success":{"results":[]}},{"success":{"results":[]}}]

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 /1/batch API entry point and trace how the existing batch request example is handled. Use the supplied curl request as the behavior to verify: GET requests should be accepted and return one success result per request, including the shown results structure.

Written by the indexing model from the issue text.

Assessment

Tech stack
express, javascript, node.js
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.