Custom fields not included in REST API

Home Forums Calendar Products Events Calendar PRO Custom fields not included in REST API

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1336786
    woxx s.c.
    Participant

    I’m currently building a workflow to generate a paper version of our events using TEC’s REST API. We need the custom fields to display essential details on paper.

    The REST API, as far as I can tell, does not include the custom fields. Is there an option I’m missing to enable them, or is it a bug?

    Thanks!

    Guillaume Rischard

    • This topic was modified 6 years, 8 months ago by woxx s.c..
    #1337282
    Courtney
    Member

    Hi Guillaume

    At this time, we have a limited read only Rest API integration. You can find the ones we support directly via wp-json/tribe/events/v1/doc (which you can in turn plug into http://petstore.swagger.io/).

    In the meantime you could create your own custom endpoints for the Calendar with this great information here http://v2.wp-api.org/extending/adding/

    We’d love more votes on this feature in our user suggestions area.

    Thanks
    Courtney 🙂

    #1337310
    woxx s.c.
    Participant

    Thank you for your reply, one vote more then. It is a disappointment that custom fields, for which we bought the Pro version, cannot be read in the API without more work for us. We need them to export our calendar to a printed copy of our newspaper, and the data model is not complete without them for our lay-out.

    What we are worried about is two-fold before proceeding with our project, which is based on The Events Calendar:

    1. If we develop our own workaround, we may have to work again once the feature becomes available – and that means further development costs.
    2. To avoid this and choose to go or not to go at this point, we would need to understand some sort of timeframe for this feature to be available.

    Would you please have an estimate for #2?

    #1337324
    Courtney
    Member

    Hi Guillaume

    Unfortunately, I don’t have an ETA for increasing our REST-API integration. If you feel this is a feature you need in the near future, I think your option for developer support sounds reasonable.

    https://github.com/moderntribe/the-events-calendar/blob/e0eaccc47a79cdb03759a004ea7aeece29c2a77e/src/Tribe/REST/V1/Post_Repository.php#L121

    The code above lives in the bucket\full-rest-api

    https://github.com/moderntribe/the-events-calendar/blob/d31e33b6678f098eac2c9428fbc4f7cd08404e38/src/Tribe/REST/V1/Post_Repository.php#L121

    I hope this helps you get that feature working sooner for you.

    Thanks
    Courtney 🙂

    #1347082
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

    #1354406
    Courtney
    Member

    Hey there

    Just posting a quick update that we’ve just launched The Events Calendar – Full REST Support. You can read the release notes at https://theeventscalendar.com/release-events-calendar-full-rest-support/.

    We also published a helpful guide: Introduction to The Events Calendar REST API https://theeventscalendar.com/knowledgebase/introduction-events-calendar-rest-api/ .

    We’re excited to provide this functionality for you.

    Thanks
    Courtney 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Custom fields not included in REST API’ is closed to new replies.