AdvancedCustomFields / acf

Advanced Custom Fields
http://advancedcustomfields.com/
862 stars 178 forks source link

[Feature Request] Show group or field in REST API #384

Open rmens opened 4 years ago

rmens commented 4 years ago

It would be great to be able to have an option to expose ACF Fields in the REST API (wp-json). The Pods framework has nice functions for this.

Schermafbeelding 2020-09-13 om 22 20 22

I'm aware of the ACF to REST API plug-in and the option to manually code this, but built-in support with granular controls would be a great addition to ACF.

elliotcondon commented 4 years ago

Thanks @rmens

Implementing a native REST API solution is our big to-do for the end of 2020. We are hoping to soon invite the community into a conversation to shape the feature, and will be sure to note your GitHub username 👍.

On the topic of granular control, how often do you envisage setting specific read/write settings on a Field level rather than a Field Group level?

rmens commented 4 years ago

That's great news @elliotcondon!

Specific read/write settings would be granular enough on a field group level for my use. I do not envision setting it on a specific field level.

elliotcondon commented 4 years ago

Thanks for the feedback, this is exactly what I was hoping to hear! If we start with Field Group level control for read and write, adding in Field level control could easily come in a future update.

rmens commented 3 years ago

Is this still on track for the end of the year @elliotcondon? I'm prioritizing some work to do before or right after the holidays and testing this was on the list. If it's not that's fine but would be good to know.

elliotcondon commented 3 years ago

Hi @rmens. Unfortunately, this feature has been pushed back to next year. We're looking forward to the challenge when we tackle it, and hope you have a great end to the year.

rmens commented 3 years ago

Is there any news about where this is on the roadmap? Is it 5.10 or later?

rmens commented 2 years ago

Just noticed that this is in the 5.11 release candidate. Great news 🎉