Skip to content

Commit

Permalink
Updated REST API arguments for 6.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbillion committed Nov 8, 2023
1 parent a8a4b69 commit 86b6583
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"GET"
],
"args": {
"parent": {
"description": "The ID for the parent of the autosave.",
"type": "integer",
"id": {
"description": "The id of a template",
"type": "string",
"required": false
},
"context": {
Expand All @@ -33,9 +33,9 @@
"POST"
],
"args": {
"parent": {
"description": "The ID for the parent of the autosave.",
"type": "integer",
"id": {
"description": "The id of a template",
"type": "string",
"required": false
},
"slug": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
],
"args": {
"parent": {
"description": "The ID for the parent of the autosave.",
"type": "integer",
"description": "The id of a template",
"type": "string",
"required": false
},
"id": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
],
"args": {
"parent": {
"description": "The ID for the parent of the revision.",
"type": "integer",
"description": "The id of a template",
"type": "string",
"required": false
},
"id": {
Expand All @@ -39,8 +39,8 @@
],
"args": {
"parent": {
"description": "The ID for the parent of the revision.",
"type": "integer",
"description": "The id of a template",
"type": "string",
"required": false
},
"id": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
],
"args": {
"parent": {
"description": "The ID for the parent of the revision.",
"type": "integer",
"description": "The id of a template",
"type": "string",
"required": false
},
"context": {
Expand Down
12 changes: 6 additions & 6 deletions tests/data/rest-api/routes/wp-v2-templates-id-autosaves.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"GET"
],
"args": {
"parent": {
"description": "The ID for the parent of the autosave.",
"type": "integer",
"id": {
"description": "The id of a template",
"type": "string",
"required": false
},
"context": {
Expand All @@ -33,9 +33,9 @@
"POST"
],
"args": {
"parent": {
"description": "The ID for the parent of the autosave.",
"type": "integer",
"id": {
"description": "The id of a template",
"type": "string",
"required": false
},
"slug": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
],
"args": {
"parent": {
"description": "The ID for the parent of the autosave.",
"type": "integer",
"description": "The id of a template",
"type": "string",
"required": false
},
"id": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
],
"args": {
"parent": {
"description": "The ID for the parent of the revision.",
"type": "integer",
"description": "The id of a template",
"type": "string",
"required": false
},
"id": {
Expand All @@ -39,8 +39,8 @@
],
"args": {
"parent": {
"description": "The ID for the parent of the revision.",
"type": "integer",
"description": "The id of a template",
"type": "string",
"required": false
},
"id": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
],
"args": {
"parent": {
"description": "The ID for the parent of the revision.",
"type": "integer",
"description": "The id of a template",
"type": "string",
"required": false
},
"context": {
Expand Down

0 comments on commit 86b6583

Please sign in to comment.