Skip to content

API REST Console Query Parameters with "keys" doesn't work as expected #2521

Open
@jaysonng

Description

@jaysonng

New Issue Checklist

Issue Description

using keys={"key"} in query parameters in API Console doesn't return results with the key(s) only as expected but returns nothing but the objectId, createdAt, updatedAt keys which I did not want. even objectId, createdAt, updatedAt should not be given.

Steps to reproduce

use keys={"key"} on a class in the REST API Console

Actual Outcome

{
    "results": [
        {
            "objectId": "Ciptig0mA9Nwpd6ri9uF4t81rTUOO2YE",
            "createdAt": "2024-01-18T17:40:05.894Z",
            "updatedAt": "2024-01-18T17:40:05.894Z"
        }
    ]
}

Expected Outcome

{
    "results": [
        {
            "key": "value"
        }
    ]
}

Environment

Dashboard

  • Parse Dashboard version: 5.3
  • Browser (Safari, Chrome, Firefox, Edge, etc.): Safari
  • Browser version: 17.1

Server

  • Parse Server version: 6.3
  • Operating system: Mac OS 14.1.1
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): local

Database

  • System (MongoDB or Postgres): Postgres
  • Database version: 15.2
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): Local

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions