Skip to content

Commit fc7d942

Browse files
committed
Revert "Update wp-api-generated.js following r62311."
This reverts commit 4ef9601.
1 parent bc1a808 commit fc7d942

1 file changed

Lines changed: 0 additions & 318 deletions

File tree

tests/qunit/fixtures/wp-api-generated.js

Lines changed: 0 additions & 318 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ mockedApiResponse.Schema = {
1717
"show_on_front": "posts",
1818
"namespaces": [
1919
"oembed/1.0",
20-
"rtc-test/v1",
21-
"rtc-capture/v1",
2220
"wp/v2",
2321
"wp-site-health/v1",
2422
"wp-block-editor/v1",
@@ -238,322 +236,6 @@ mockedApiResponse.Schema = {
238236
"self": "http://example.org/index.php?rest_route=/oembed/1.0/proxy"
239237
}
240238
},
241-
"/rtc-test/v1": {
242-
"namespace": "rtc-test/v1",
243-
"methods": [
244-
"GET"
245-
],
246-
"endpoints": [
247-
{
248-
"methods": [
249-
"GET"
250-
],
251-
"args": {
252-
"namespace": {
253-
"default": "rtc-test/v1",
254-
"required": false
255-
},
256-
"context": {
257-
"default": "view",
258-
"required": false
259-
}
260-
}
261-
}
262-
],
263-
"_links": {
264-
"self": [
265-
{
266-
"href": "http://example.org/index.php?rest_route=/rtc-test/v1"
267-
}
268-
]
269-
}
270-
},
271-
"/rtc-test/v1/log": {
272-
"namespace": "rtc-test/v1",
273-
"methods": [
274-
"GET",
275-
"DELETE"
276-
],
277-
"endpoints": [
278-
{
279-
"methods": [
280-
"GET"
281-
],
282-
"args": []
283-
},
284-
{
285-
"methods": [
286-
"DELETE"
287-
],
288-
"args": []
289-
}
290-
],
291-
"_links": {
292-
"self": [
293-
{
294-
"href": "http://example.org/index.php?rest_route=/rtc-test/v1/log"
295-
}
296-
]
297-
}
298-
},
299-
"/rtc-test/v1/table": {
300-
"namespace": "rtc-test/v1",
301-
"methods": [
302-
"DELETE"
303-
],
304-
"endpoints": [
305-
{
306-
"methods": [
307-
"DELETE"
308-
],
309-
"args": []
310-
}
311-
],
312-
"_links": {
313-
"self": [
314-
{
315-
"href": "http://example.org/index.php?rest_route=/rtc-test/v1/table"
316-
}
317-
]
318-
}
319-
},
320-
"/rtc-test/v1/env": {
321-
"namespace": "rtc-test/v1",
322-
"methods": [
323-
"GET"
324-
],
325-
"endpoints": [
326-
{
327-
"methods": [
328-
"GET"
329-
],
330-
"args": []
331-
}
332-
],
333-
"_links": {
334-
"self": [
335-
{
336-
"href": "http://example.org/index.php?rest_route=/rtc-test/v1/env"
337-
}
338-
]
339-
}
340-
},
341-
"/rtc-test/v1/report": {
342-
"namespace": "rtc-test/v1",
343-
"methods": [
344-
"GET"
345-
],
346-
"endpoints": [
347-
{
348-
"methods": [
349-
"GET"
350-
],
351-
"args": {
352-
"poll_delay": {
353-
"type": "integer",
354-
"required": false
355-
},
356-
"update_size": {
357-
"type": "string",
358-
"required": false
359-
}
360-
}
361-
}
362-
],
363-
"_links": {
364-
"self": [
365-
{
366-
"href": "http://example.org/index.php?rest_route=/rtc-test/v1/report"
367-
}
368-
]
369-
}
370-
},
371-
"/rtc-test/v1/report-all": {
372-
"namespace": "rtc-test/v1",
373-
"methods": [
374-
"GET"
375-
],
376-
"endpoints": [
377-
{
378-
"methods": [
379-
"GET"
380-
],
381-
"args": {
382-
"poll_delay": {
383-
"type": "integer",
384-
"required": false
385-
},
386-
"update_size": {
387-
"type": "string",
388-
"required": false
389-
}
390-
}
391-
}
392-
],
393-
"_links": {
394-
"self": [
395-
{
396-
"href": "http://example.org/index.php?rest_route=/rtc-test/v1/report-all"
397-
}
398-
]
399-
}
400-
},
401-
"/rtc-test/v1/submit": {
402-
"namespace": "rtc-test/v1",
403-
"methods": [
404-
"POST"
405-
],
406-
"endpoints": [
407-
{
408-
"methods": [
409-
"POST"
410-
],
411-
"args": {
412-
"reporter_url": {
413-
"type": "string",
414-
"required": true
415-
},
416-
"api_key": {
417-
"type": "string",
418-
"description": "Reporter credentials in username:password format (REPORTER_API_KEY).",
419-
"required": true
420-
},
421-
"environment_name": {
422-
"type": "string",
423-
"required": false
424-
}
425-
}
426-
}
427-
],
428-
"_links": {
429-
"self": [
430-
{
431-
"href": "http://example.org/index.php?rest_route=/rtc-test/v1/submit"
432-
}
433-
]
434-
}
435-
},
436-
"/rtc-capture/v1": {
437-
"namespace": "rtc-capture/v1",
438-
"methods": [
439-
"GET"
440-
],
441-
"endpoints": [
442-
{
443-
"methods": [
444-
"GET"
445-
],
446-
"args": {
447-
"namespace": {
448-
"default": "rtc-capture/v1",
449-
"required": false
450-
},
451-
"context": {
452-
"default": "view",
453-
"required": false
454-
}
455-
}
456-
}
457-
],
458-
"_links": {
459-
"self": [
460-
{
461-
"href": "http://example.org/index.php?rest_route=/rtc-capture/v1"
462-
}
463-
]
464-
}
465-
},
466-
"/rtc-capture/v1/session/start": {
467-
"namespace": "rtc-capture/v1",
468-
"methods": [
469-
"POST"
470-
],
471-
"endpoints": [
472-
{
473-
"methods": [
474-
"POST"
475-
],
476-
"args": []
477-
}
478-
],
479-
"_links": {
480-
"self": [
481-
{
482-
"href": "http://example.org/index.php?rest_route=/rtc-capture/v1/session/start"
483-
}
484-
]
485-
}
486-
},
487-
"/rtc-capture/v1/session/stop": {
488-
"namespace": "rtc-capture/v1",
489-
"methods": [
490-
"POST"
491-
],
492-
"endpoints": [
493-
{
494-
"methods": [
495-
"POST"
496-
],
497-
"args": []
498-
}
499-
],
500-
"_links": {
501-
"self": [
502-
{
503-
"href": "http://example.org/index.php?rest_route=/rtc-capture/v1/session/stop"
504-
}
505-
]
506-
}
507-
},
508-
"/rtc-capture/v1/sessions": {
509-
"namespace": "rtc-capture/v1",
510-
"methods": [
511-
"GET",
512-
"DELETE"
513-
],
514-
"endpoints": [
515-
{
516-
"methods": [
517-
"GET"
518-
],
519-
"args": []
520-
},
521-
{
522-
"methods": [
523-
"DELETE"
524-
],
525-
"args": []
526-
}
527-
],
528-
"_links": {
529-
"self": [
530-
{
531-
"href": "http://example.org/index.php?rest_route=/rtc-capture/v1/sessions"
532-
}
533-
]
534-
}
535-
},
536-
"/rtc-capture/v1/session/(?P<id>[a-zA-Z0-9_-]+)": {
537-
"namespace": "rtc-capture/v1",
538-
"methods": [
539-
"GET",
540-
"DELETE"
541-
],
542-
"endpoints": [
543-
{
544-
"methods": [
545-
"GET"
546-
],
547-
"args": []
548-
},
549-
{
550-
"methods": [
551-
"DELETE"
552-
],
553-
"args": []
554-
}
555-
]
556-
},
557239
"/wp/v2": {
558240
"namespace": "wp/v2",
559241
"methods": [

0 commit comments

Comments
 (0)