Skip to content

Commit 7bfa068

Browse files
committed
Merge branch 'main' of https://github.com/wordlift/docs
2 parents 6c2d95b + 9b92265 commit 7bfa068

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

api/manager.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ tags:
4747
name: Google Search Console OAuth2
4848
- description: Update Plugin Diagnostics data for WordPress clients.
4949
name: Plugin Diagnostics
50+
- description: Google Search Console methods.
51+
name: Google Search Console
5052
- description: Manage Custom Domains
5153
name: Custom Domains
5254
- description: The list of included or excluded URLs
@@ -1075,6 +1077,31 @@ paths:
10751077
summary: Get Google Search Console sites
10761078
tags:
10771079
- Google Search Console Websites
1080+
/gsc/url-inspections:
1081+
post:
1082+
description: Inspect a URL using the Google Search Console connected to the
1083+
authenticated account.
1084+
operationId: createUrlInspection
1085+
requestBody:
1086+
content:
1087+
application/json:
1088+
schema:
1089+
$ref: '#/components/schemas/CreateUrlInspectionRequest'
1090+
required: true
1091+
responses:
1092+
"200":
1093+
content:
1094+
application/json:
1095+
schema:
1096+
type: string
1097+
description: Success
1098+
"301":
1099+
description: Authentication Failure
1100+
security:
1101+
- ApiKey: []
1102+
summary: Create
1103+
tags:
1104+
- Google Search Console
10781105
/internal-links:
10791106
post:
10801107
description: Create Internal Links.
@@ -2234,6 +2261,10 @@ components:
22342261
type: object
22352262
description: The Account statistics
22362263
properties:
2264+
account_id:
2265+
type: integer
2266+
format: int64
2267+
description: The account ID.
22372268
entities:
22382269
type: integer
22392270
format: int64
@@ -2251,6 +2282,7 @@ components:
22512282
format: int64
22522283
description: The number of products in the KG.
22532284
required:
2285+
- account_id
22542286
- entities
22552287
- entities_with_url
22562288
- product_groups
@@ -2545,6 +2577,15 @@ components:
25452577
URI.
25462578
required:
25472579
- authorize_uri
2580+
CreateUrlInspectionRequest:
2581+
type: object
2582+
description: A URL inspection request.
2583+
properties:
2584+
url:
2585+
type: string
2586+
description: The URL to analyze.
2587+
required:
2588+
- url
25482589
DiagnosticPlugin:
25492590
type: object
25502591
description: Plugin Data used for diagnostics

0 commit comments

Comments
 (0)