Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The WordPress REST API #2265

Closed
Tracked by #1984
jonathanbossenger opened this issue Feb 28, 2024 · 9 comments
Closed
Tracked by #1984

The WordPress REST API #2265

jonathanbossenger opened this issue Feb 28, 2024 · 9 comments
Assignees
Labels
[Content] Published Marks closed issues as content that was actually published.

Comments

@jonathanbossenger
Copy link
Collaborator

jonathanbossenger commented Feb 28, 2024

Details

  • Content type (Online Workshop, Lesson, Course, Tutorial, or Lesson Plan): Lesson
  • Content title: The WordPress REST API
  • Topic description: Introduce the learner to the WordPress REST API, what it is, how it works, and how it's used in WordPress.
  • Audience (User, Developer, Designer, Contributor, etc.): Developer
  • Experience Level (Beginner, Intermediate, Advanced, Any): Beginner

Learning Objectives

  • Explain what a REST API is
  • Identify the key elements of the WP REST API
  • Use the WordPress REST API global parameters to filter data in a browser
  • Define where to find more information on the WP REST API

Related Resources and Other Notes

Automation Code

//lesson

@github-project-automation github-project-automation bot moved this to 👋 Ready to Create in LearnWP Content - Development Mar 11, 2024
@kaitohm kaitohm moved this from 👋 Ready to Create to 🚧 Drafts in Progress in LearnWP Content - Development Mar 11, 2024
@jonathanbossenger jonathanbossenger changed the title The WordPress REST API under the hood The WordPress REST API Mar 11, 2024
Copy link
Contributor

github-actions bot commented Mar 11, 2024

Lesson Development Checklist

  • Gather any relevant links to Support, Docs, or related material
  • Description and Objectives finalized
  • Lesson created and announced to the team for review
  • Lesson reviewed
  • Lesson video submitted and published to WPTV
  • Lesson created on Learn.WordPress.org
  • Lesson video published to YouTube
  • Lesson on Learn.WordPress.org updated with YouTube video
  • Lesson published to Learn.WordPress.org

@WordPress WordPress deleted a comment from github-actions bot Mar 17, 2024
@jonathanbossenger
Copy link
Collaborator Author

01-WordPress.REST.API.mp4

Video ready for review

Please follow the Guidelines for reviewing content to review this lesson.

@jonathanbossenger jonathanbossenger moved this from 🚧 Drafts in Progress to 🔎 Ready for Review in LearnWP Content - Development Mar 28, 2024
@ironnysh
Copy link

ironnysh commented Apr 2, 2024

Tutorial/Lessons Review Checklist

  • Learning outcomes/objectives are clear.
  • Technical concepts introduced in the content are accurate.
  • The speed of demonstrations are easy to follow.
  • The narration audio matches what is shown visually.
  • Spelling and grammar are correct.
  • Sound quality is consistent throughout the video.
  • Brand Usage Guidelines and Promotional Guidelines are being followed.
  • Media assets are all in the public domain (CC0).

@jonathanbossenger, all Learning Objectives achieved :-)

  • At 2:44, when you list sample methods for Routes & Endpoints, it might be helpful to use the WordPress REST API specific endpoints instead of the more generic /posts.
  • At ~3:28, when you demonstrate the response from a few endpoints, it'll be great to highlight/zoom-in on the URL (right now, it's only narrated).
  • At 3:55, you recommend installing a browser extension to format JSON responses in Firefox, but as far as I know, this functionality is built-in.

@jonathanbossenger
Copy link
Collaborator Author

Hi @ironnysh thanks for the review/feedback.

At 2:44, when you list sample methods for Routes & Endpoints, it might be helpful to use the WordPress REST API specific endpoints instead of the more generic /posts.

The generic-ness here was intentional, the learning outcome here being that an HTTP verb + a URL endpoint combination is what makes up a route.

At 3:55, you recommend installing a browser extension to format JSON responses in Firefox, but as far as I know, this functionality is built-in.

Huh, that's new, I'll adjust the text accordingly. Thanks for pointing that out.

@jonathanbossenger
Copy link
Collaborator Author

Updated video with the fixes.

01.WordPress.REST.API.mp4

@jonathanbossenger
Copy link
Collaborator Author

@jonathanbossenger
Copy link
Collaborator Author

@jonathanbossenger
Copy link
Collaborator Author

//publish

@github-actions github-actions bot added the [Content] Published Marks closed issues as content that was actually published. label May 11, 2024
@github-project-automation github-project-automation bot moved this from 🔎 Ready for Review to 📜 Published or Closed in LearnWP Content - Development May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Content] Published Marks closed issues as content that was actually published.
Projects
Status: 📜 Published or Closed
Development

No branches or pull requests

2 participants