Skip to content

Commit 5eba1e2

Browse files
Update api
1 parent d8d6c2e commit 5eba1e2

1 file changed

Lines changed: 53 additions & 0 deletions

File tree

api/manager.yaml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,30 @@ paths:
684684
summary: List
685685
tags:
686686
- Google Merchants
687+
/google-search-console/authorizations:
688+
get:
689+
description: Retrieve the authorizations of the authenticated user.
690+
operationId: getAuthorizations
691+
parameters:
692+
- in: query
693+
name: account_key
694+
required: false
695+
schema:
696+
type: array
697+
items:
698+
type: string
699+
responses:
700+
"200":
701+
content:
702+
application/json:
703+
schema:
704+
type: array
705+
items:
706+
$ref: '#/components/schemas/Authorization'
707+
description: The authorizations of the user
708+
summary: Get the authorizations
709+
tags:
710+
- Google Search Console OAuth2
687711
/google-search-console/authorize/duplicate:
688712
post:
689713
description: Call this API to duplicate an existing google search console connection
@@ -1975,6 +1999,35 @@ components:
19751999
description: "The name of the author, e.g. `John Smith`."
19762000
required:
19772001
- name
2002+
Authorization:
2003+
type: object
2004+
properties:
2005+
access_token_issued_at:
2006+
type: string
2007+
format: date-time
2008+
description: When the access token was issued
2009+
readOnly: true
2010+
account:
2011+
type: string
2012+
description: Account key
2013+
readOnly: true
2014+
refresh_token_issued_at:
2015+
type: string
2016+
format: date-time
2017+
description: When the refresh token was issued
2018+
readOnly: true
2019+
status:
2020+
$ref: '#/components/schemas/AuthorizationStatus'
2021+
required:
2022+
- access_token_issued_at
2023+
- account
2024+
- status
2025+
AuthorizationStatus:
2026+
type: string
2027+
description: The connections status
2028+
enum:
2029+
- connected
2030+
readOnly: true
19782031
BotifyCrawlImportRequest:
19792032
type: object
19802033
description: The Botify Crawl Import request

0 commit comments

Comments
 (0)