Skip to content

Responses do not return correct metadata when fields parameter is specifiedΒ #548

Open
@jordanpadams

Description

@jordanpadams

Checked for duplicates

Yes - I've already checked

πŸ› Describe the bug

When I did used the fields query parameter, I noticed the API returned many other fields I did not ask for

πŸ•΅οΈ Expected behavior

I expected only the fields I asked for to be returned

πŸ“œ To Reproduce

curl -L --get https://pds.nasa.gov/api/search/1/products/urn:nasa:pds:msl_gt_diagenesis_supplement?fields=lid --header 'Accept: text/csv'

Confirmed this also does not work for:

  • application/kvp+json
  • application/json
  • application/xml

πŸ–₯ Environment Info

Mac OSx

πŸ¦„ Related requirements

πŸ¦„ #459
πŸ¦„ #445

βš™οΈ Engineering Details

No response

πŸŽ‰ Integration & Test

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

ToDo

Status

ToDo

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions