How do I return only selected certain fields in Strapi?

后端 未结 5 1569
独厮守ぢ
独厮守ぢ 2021-01-18 06:16

Pretty straightforward (I hope). I\'d like to be able to use the API endpoint and have it only return specified fields. I.E. something like this

http://local         


        
5条回答
  •  不要未来只要你来
    2021-01-18 06:49

    This feature is not implemented in Strapi yet. To compensate, the best option for you is probably to use GraphQL (http://strapi.io/documentation/graphql).

    Feel free to create an issue or to submit a pull request: https://github.com/wistityhq/strapi

提交回复
热议问题