[WIP] New endpoints, webhooks, making certain links embeddable (ie. post, student)#346
[WIP] New endpoints, webhooks, making certain links embeddable (ie. post, student)#346brianhogg wants to merge 30 commits into
Conversation
…ify additional fields as being available within the "embed" context, and decide if we want to auto embed for all endpoints. Since we only specified embeddable
| } | ||
|
|
||
| $payload = llms_rest_get_api_endpoint_data( $endpoint ); | ||
| $payload = llms_rest_get_api_endpoint_data( |
There was a problem hiding this comment.
See if this change is needed.
| $res = rest_do_request( $req ); | ||
| $server = rest_get_server(); | ||
| $json = wp_json_encode( $server->response_to_data( $res, false ) ); | ||
| $json = wp_json_encode( $server->response_to_data( $res, true ) ); |
There was a problem hiding this comment.
Add as a param defaulting to false?
There was a problem hiding this comment.
Scan Summary
| Tool | Critical | High | Medium | Low | Status |
|---|---|---|---|---|---|
| Dependency Scan (universal) | 0 | 1 | 1 | 0 | ✅ |
| Secrets Audit | 0 | 4 | 0 | 0 | ❌ |
| Shell Script Analysis | 0 | 0 | 0 | 0 | ✅ |
Recommendation
Please review the findings from Code scanning alerts before approving this pull request. You can also configure the build rules or add suppressions to customize this bot 👍
There was a problem hiding this comment.
Scan Summary
| Tool | Critical | High | Medium | Low | Status |
|---|---|---|---|---|---|
| Secrets Audit | 0 | 4 | 0 | 0 | ❌ |
| Shell Script Analysis | 0 | 0 | 0 | 0 | ✅ |
Recommendation
Please review the findings from Code scanning alerts before approving this pull request. You can also configure the build rules or add suppressions to customize this bot 👍
There was a problem hiding this comment.
Scan Summary
| Tool | Critical | High | Medium | Low | Status |
|---|---|---|---|---|---|
| Dependency Scan (universal) | 0 | 0 | 1 | 0 | ✅ |
| Secrets Audit | 0 | 4 | 0 | 0 | ❌ |
| Shell Script Analysis | 0 | 0 | 0 | 0 | ✅ |
Recommendation
Please review the findings from Code scanning alerts before approving this pull request. You can also configure the build rules or add suppressions to customize this bot 👍
…ing using object.
|
This looks really helpful! any progress or update on this being accepted? |
|
@jmdurant Thanks for the feedback! We'd want to have the endpoints reviewed and stable before it's pushed out as part of a core release. We may push it out sooner on its own, so it could be downloaded and used as a separate plugin for those who want to test it. Were there particular endpoints you were most interested in? A lot of them added in this draft are read-only. |
|
being able to access the endpoints for the quizzes and certificates/received certificates would be awesome! |
Will likely want to specify additional fields as being available within the "embed" context, and decide if we want to auto embed for all endpoints.
New endpoints for:
Description
Fixes #
How has this been tested?
Screenshots
Types of changes
Checklist: