Skip to content

Batch get support #4021

Open
Open
@shi1hh

Description

@shi1hh

/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":[]}}]

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:featureNew feature or improvement of existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions