[V4] Select just specific data to return
See original GitHub issueI want the API to not return specific information for certain endpoints, such as small patch images inside launches, for example. I’ve read the documentation and I’ve tried doing this but it doesn’t work 😕
{
"options": {
"populate": [
{
"path": "links.patch",
"select": {
"small": 0
}
},
]
}
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
OData V4: Is it possible to only select fields from a parent ...
The closest I can get is to just select one field from each level, introduces a lot of complexity into our code, and...
Read more >How to Select Specific Columns in an Entity Framework Query
This one little line tells Entity Framework to go to the Posts table in the StackOverflow database, get ALL of the rows, and...
Read more >Create a simple select query - Microsoft Support
When you want to select specific data from one or more sources, you can use a select query. A select query helps you...
Read more >1. Retrieving Records - SQL Cookbook [Book] - O'Reilly
The WHERE clause allows you to retrieve only rows you are interested in. If the expression in the WHERE clause is true for...
Read more >How do I select a subset of a DataFrame? - Pandas
As a single column is selected, the returned object is a pandas Series . ... to select the data from a pandas DataFrame...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah that solves my issue. Thank you very much!!
And for the original question, this would hide the large patch link.
Because links isn’t a populated field, you can use a top level select. The populate select only applies to the object that was populated.