WordPress / Learn

WordPress.org Learn - The canonical source for the code and content behind https://learn.WordPress.org
276 stars 101 forks source link

Online Workshop - WP REST API - custom routes and endpoints #1304

Closed jonathanbossenger closed 1 year ago

jonathanbossenger commented 1 year ago

Event Details

Online Workshop Checklist:

joshwinny commented 1 year ago

Hi @jonathanbossenger, I'm will to Co-host with you. Would you please let me know what I should do?

jonathanbossenger commented 1 year ago

Hi @joshwinny

If you haven't read it already, here are some general guidelines around co-hosting https://make.wordpress.org/training/handbook/online-workshops/co-hosting-an-online-workshop/.

From my perspective the most important tasks I need from a co-host are:

Let me know if this works for you, and I can add you as a co-host.

joshwinny commented 1 year ago

Thank you Jonathan, I'm in.

On Mon, 6 Feb, 2023, 2:28 pm Jonathan Bossenger, @.***> wrote:

Hi @joshwinny https://github.com/joshwinny

If you haven't read it already, here are some general guidelines around co-hosting https://make.wordpress.org/training/handbook/online-workshops/co-hosting-an-online-workshop/ .

From my perspective the most important tasks I need from a co-host are:

  • Once the workshop has started, and the recording is going, admit any latecomers into the Zoom meeting
  • Keep an eye on the chat, and let me know if I miss any important questions
  • About halfway through, take a head count of the participants
  • Keep an ear out for any folks who have background noise coming through their mics, and mute them

Let me know if this works for you, and I can add you as a co-host.

— Reply to this email directly, view it on GitHub https://github.com/WordPress/Learn/issues/1304#issuecomment-1418728872, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADM4EACYZF77FEHEFNEJTNDWWC4MZANCNFSM6AAAAAAUQKWACI . You are receiving this because you were mentioned.Message ID: @.***>

jonathanbossenger commented 1 year ago

Thanks, @joshwinny.

Please also RSVP to the meetup.com event, if you haven't already, so I can make you co-host there.

jonathanbossenger commented 1 year ago

Prep notes:

Learning outcomes

  1. Build a plugin which registers a custom form submissions table.
  2. Add some test data
  3. Create a form-submissions route, with a GET endpoint
  4. Create a form-submissions route, with a POST endpoint
  5. Create a form-submission route, with a GET endpoint and a id path variable
  6. Ensure data validation and sanitization is in place
  7. Mention that this can be used for various examples.

Follow up notes:

joshwinny commented 1 year ago

Hi @jonathanbossenger, halfway through there were 10 participants.

jonathanbossenger commented 1 year ago

https://wordpress.tv/2023/02/10/lets-code-wp-rest-api-custom-routes-and-endpoints/