feat(core): session.pending.list API with pending-only session_pending storage (#36126)
This commit is contained in:
@@ -1082,6 +1082,14 @@ const scenarios: Scenario[] = [
|
||||
headers: ctx.headers(),
|
||||
}))
|
||||
.json(404, object, "status"),
|
||||
http.protected
|
||||
.get("/api/session/{sessionID}/pending", "v2.session.pending.list")
|
||||
.seeded((ctx) => ctx.session({ title: "Pending list owner" }))
|
||||
.at((ctx) => ({
|
||||
path: route("/api/session/{sessionID}/pending", { sessionID: ctx.state.id }),
|
||||
headers: ctx.headers(),
|
||||
}))
|
||||
.json(200, data(array)),
|
||||
http.protected
|
||||
.post("/api/session/{sessionID}/revert/stage", "v2.session.revert.stage")
|
||||
.at((ctx) => ({
|
||||
|
||||
Reference in New Issue
Block a user