Skip to content

Conversation

@johnhooks
Copy link
Collaborator

@johnhooks johnhooks commented Mar 24, 2023

What?

Implement item and collection schemas for notification the rest-api. Initiate PR early to get feedback, still lots to figure out.

Starts work on #176 to create an update rest endpoint for notifications.

Fixes #194

Why?

The rest-api of notifications should implement item and collection schemas.

How?

It adds schemas that the WP_Rest_Controller can use to validate api requests.

Testing Instructions

Will need to do more research, but I'll be researching core tests and implement something similar.

@johnhooks johnhooks force-pushed the feature/add-update-endpoint branch from 31dd285 to 5ee567b Compare March 26, 2023 12:59
@erikyo erikyo requested a review from Sephsekla March 26, 2023 17:04
@johnhooks johnhooks force-pushed the feature/add-update-endpoint branch 2 times, most recently from bc0178e to bb0d296 Compare March 27, 2023 11:07
@johnhooks
Copy link
Collaborator Author

@Sephsekla this is ready to review.

Note: I'm not trying to commit us to anything, but just start work toward an actual rest-api. If anything in this needs to be adjusted as we work to implement notifications, I am 100% on board to either make the changes or support anyone doing the work.

@johnhooks johnhooks added the [Scope] Service The core logic of the WP Notify project. label Mar 27, 2023
@johnhooks johnhooks force-pushed the feature/add-update-endpoint branch from 19b5817 to 075e454 Compare April 5, 2023 02:38
@johnhooks johnhooks force-pushed the feature/add-update-endpoint branch from 075e454 to 6c05513 Compare April 11, 2023 21:39
@johnhooks johnhooks requested a review from erikyo April 12, 2023 01:22
@johnhooks johnhooks force-pushed the feature/add-update-endpoint branch from d02eb54 to 928afba Compare April 12, 2023 18:23
@johnhooks johnhooks marked this pull request as draft April 12, 2023 19:48
@johnhooks johnhooks mentioned this pull request Apr 12, 2023
38 tasks
@johnhooks
Copy link
Collaborator Author

Work on this is being continued in #259

@johnhooks johnhooks closed this Apr 19, 2023
@johnhooks johnhooks reopened this Apr 21, 2023
@johnhooks johnhooks force-pushed the feature/add-update-endpoint branch from 928afba to 5108908 Compare April 21, 2023 04:27
@johnhooks johnhooks changed the title feature: add item and collection schemas feature(mvp): Stage 4 add item and collection schemas to rest api Apr 21, 2023
@johnhooks johnhooks marked this pull request as ready for review April 21, 2023 04:30
@johnhooks johnhooks force-pushed the feature/add-update-endpoint branch from 5108908 to 27d5be9 Compare April 21, 2023 20:44
@johnhooks johnhooks force-pushed the feature/add-update-endpoint branch from 27d5be9 to d07a449 Compare April 21, 2023 20:47
Copy link
Collaborator

@erikyo erikyo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@johnhooks johnhooks merged commit e1cf510 into WordPress:develop Apr 21, 2023
@johnhooks johnhooks deleted the feature/add-update-endpoint branch April 21, 2023 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Scope] Service The core logic of the WP Notify project.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change rest-api namespace to wp-notifications/v1

3 participants