@@ -20,13 +20,7 @@ mockedApiResponse.Schema = {
2020 "wp/v2",
2121 "wp-site-health/v1",
2222 "wp-block-editor/v1",
23- <<<<<<< HEAD
2423 "wp-abilities/v1"
25- =======
26- "wp-abilities/v1",
27- "wp-collaboration/v1",
28- "wp-sync/v1"
29- >>>>>>> 886f0b1270 (Tests: Add collaboration server tests and remove legacy sync tests)
3024 ],
3125 "authentication": {
3226 "application-passwords": {
@@ -3670,74 +3664,6 @@ mockedApiResponse.Schema = {
36703664 }
36713665 ]
36723666 },
3673- <<<<<<< HEAD
3674- =======
3675- "/wp/v2/media/(?P<id>[\\d]+)/sideload": {
3676- "namespace": "wp/v2",
3677- "methods": [
3678- "POST"
3679- ],
3680- "endpoints": [
3681- {
3682- "methods": [
3683- "POST"
3684- ],
3685- "args": {
3686- "id": {
3687- "description": "Unique identifier for the attachment.",
3688- "type": "integer",
3689- "required": false
3690- },
3691- "image_size": {
3692- "description": "Image size.",
3693- "type": "string",
3694- "enum": [
3695- "thumbnail",
3696- "medium",
3697- "medium_large",
3698- "large",
3699- "1536x1536",
3700- "2048x2048",
3701- "original",
3702- "full",
3703- "scaled"
3704- ],
3705- "required": true
3706- },
3707- "convert_format": {
3708- "type": "boolean",
3709- "default": true,
3710- "description": "Whether to convert image formats.",
3711- "required": false
3712- }
3713- }
3714- }
3715- ]
3716- },
3717- <<<<<<< HEAD
3718- >>>>>>> 886f0b1270 (Tests: Add collaboration server tests and remove legacy sync tests)
3719- =======
3720- "/wp/v2/media/(?P<id>[\\d]+)/finalize": {
3721- "namespace": "wp/v2",
3722- "methods": [
3723- "POST"
3724- ],
3725- "endpoints": [
3726- {
3727- "methods": [
3728- "POST"
3729- ],
3730- "args": {
3731- "id": {
3732- "description": "Unique identifier for the attachment.",
3733- "type": "integer",
3734- "required": false
3735- }
3736- }
3737- }
3738- ]
3739- },
3740- >>>>>>> 09d0b86326 (Tests: Remove erroneous connector fixtures from merge artifact)
37413667 "/wp/v2/menu-items": {
37423668 "namespace": "wp/v2",
37433669 "methods": [
@@ -12772,237 +12698,6 @@ mockedApiResponse.Schema = {
1277212698 }
1277312699 }
1277412700 ]
12775- <<<<<<< HEAD
12776- =======
12777- },
12778- "/wp-collaboration/v1": {
12779- "namespace": "wp-collaboration/v1",
12780- "methods": [
12781- "GET"
12782- ],
12783- "endpoints": [
12784- {
12785- "methods": [
12786- "GET"
12787- ],
12788- "args": {
12789- "namespace": {
12790- "default": "wp-collaboration/v1",
12791- "required": false
12792- },
12793- "context": {
12794- "default": "view",
12795- "required": false
12796- }
12797- }
12798- }
12799- ],
12800- "_links": {
12801- "self": [
12802- {
12803- "href": "http://example.org/index.php?rest_route=/wp-collaboration/v1"
12804- }
12805- ]
12806- }
12807- },
12808- "/wp-collaboration/v1/updates": {
12809- "namespace": "wp-collaboration/v1",
12810- "methods": [
12811- "POST"
12812- ],
12813- "endpoints": [
12814- {
12815- "methods": [
12816- "POST"
12817- ],
12818- "args": {
12819- "rooms": {
12820- "items": {
12821- "properties": {
12822- "after": {
12823- "minimum": 0,
12824- "required": true,
12825- "type": "integer"
12826- },
12827- "awareness": {
12828- "required": true,
12829- "type": [
12830- "object",
12831- "null"
12832- ]
12833- },
12834- "client_id": {
12835- "required": true,
12836- "type": [
12837- "string",
12838- "integer"
12839- ],
12840- "sanitize_callback": {}
12841- },
12842- "room": {
12843- "required": true,
12844- "type": "string",
12845- "pattern": "^[^/]+/[^/:]+(?::\\S+)?$",
12846- "maxLength": 191
12847- },
12848- "updates": {
12849- "items": {
12850- "properties": {
12851- "data": {
12852- "type": "string",
12853- "required": true,
12854- "maxLength": 1048576
12855- },
12856- "type": {
12857- "type": "string",
12858- "required": true,
12859- "enum": [
12860- "compaction",
12861- "sync_step1",
12862- "sync_step2",
12863- "update"
12864- ]
12865- }
12866- },
12867- "required": true,
12868- "type": "object"
12869- },
12870- "minItems": 0,
12871- "required": true,
12872- "type": "array"
12873- }
12874- },
12875- "type": "object"
12876- },
12877- "maxItems": 50,
12878- "type": "array",
12879- "required": true
12880- }
12881- }
12882- }
12883- ],
12884- "_links": {
12885- "self": [
12886- {
12887- "href": "http://example.org/index.php?rest_route=/wp-collaboration/v1/updates"
12888- }
12889- ]
12890- }
12891- },
12892- "/wp-sync/v1": {
12893- "namespace": "wp-sync/v1",
12894- "methods": [
12895- "GET"
12896- ],
12897- "endpoints": [
12898- {
12899- "methods": [
12900- "GET"
12901- ],
12902- "args": {
12903- "namespace": {
12904- "default": "wp-sync/v1",
12905- "required": false
12906- },
12907- "context": {
12908- "default": "view",
12909- "required": false
12910- }
12911- }
12912- }
12913- ],
12914- "_links": {
12915- "self": [
12916- {
12917- "href": "http://example.org/index.php?rest_route=/wp-sync/v1"
12918- }
12919- ]
12920- }
12921- },
12922- "/wp-sync/v1/updates": {
12923- "namespace": "wp-sync/v1",
12924- "methods": [
12925- "POST"
12926- ],
12927- "endpoints": [
12928- {
12929- "methods": [
12930- "POST"
12931- ],
12932- "args": {
12933- "rooms": {
12934- "items": {
12935- "properties": {
12936- "after": {
12937- "minimum": 0,
12938- "required": true,
12939- "type": "integer"
12940- },
12941- "awareness": {
12942- "required": true,
12943- "type": [
12944- "object",
12945- "null"
12946- ]
12947- },
12948- "client_id": {
12949- "required": true,
12950- "type": [
12951- "string",
12952- "integer"
12953- ],
12954- "sanitize_callback": {}
12955- },
12956- "room": {
12957- "required": true,
12958- "type": "string",
12959- "pattern": "^[^/]+/[^/:]+(?::\\S+)?$",
12960- "maxLength": 191
12961- },
12962- "updates": {
12963- "items": {
12964- "properties": {
12965- "data": {
12966- "type": "string",
12967- "required": true,
12968- "maxLength": 1048576
12969- },
12970- "type": {
12971- "type": "string",
12972- "required": true,
12973- "enum": [
12974- "compaction",
12975- "sync_step1",
12976- "sync_step2",
12977- "update"
12978- ]
12979- }
12980- },
12981- "required": true,
12982- "type": "object"
12983- },
12984- "minItems": 0,
12985- "required": true,
12986- "type": "array"
12987- }
12988- },
12989- "type": "object"
12990- },
12991- "maxItems": 50,
12992- "type": "array",
12993- "required": true
12994- }
12995- }
12996- }
12997- ],
12998- "_links": {
12999- "self": [
13000- {
13001- "href": "http://example.org/index.php?rest_route=/wp-sync/v1/updates"
13002- }
13003- ]
13004- }
13005- >>>>>>> 886f0b1270 (Tests: Add collaboration server tests and remove legacy sync tests)
1300612701 }
1300712702 },
1300812703 "site_logo": 0,
0 commit comments