Skip to content

Commit 9a39986

Browse files
committed
Merge branch 'main' of https://github.com/wordlift/docs
2 parents 141952b + bc1926f commit 9a39986

File tree

1 file changed

+149
-1
lines changed

1 file changed

+149
-1
lines changed

api/manager.yaml

Lines changed: 149 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ tags:
2626
name: Sitemap Imports
2727
- description: Manage Google Merchants
2828
name: Google Merchants
29+
- description: Data about performed search analytics synchronizations to the KG
30+
name: Analytics syncs
2931
- description: Manage Platform Consumptions
3032
name: Platform Consumptions
3133
- description: Get answers to questions.
@@ -482,6 +484,76 @@ paths:
482484
summary: Create
483485
tags:
484486
- Analytics Imports
487+
/analytics-syncs:
488+
get:
489+
description: Retrieve the analytics syncs
490+
operationId: listAnalyticsSyncs
491+
parameters:
492+
- in: query
493+
name: account_ids
494+
required: true
495+
schema:
496+
type: array
497+
items:
498+
type: integer
499+
format: int64
500+
- in: query
501+
name: sort
502+
required: false
503+
schema:
504+
type: string
505+
enum:
506+
- MOST_RECENT
507+
- in: query
508+
name: group_by
509+
required: false
510+
schema:
511+
type: string
512+
enum:
513+
- ACCOUNT_ID
514+
responses:
515+
"200":
516+
content:
517+
application/json:
518+
schema:
519+
type: array
520+
items:
521+
$ref: '#/components/schemas/AnalyticsSync'
522+
description: OK
523+
"400":
524+
content:
525+
application/json:
526+
schema:
527+
type: array
528+
items:
529+
$ref: '#/components/schemas/AnalyticsSync'
530+
description: Bad Request
531+
security:
532+
- OAuth2: []
533+
summary: List
534+
tags:
535+
- Analytics syncs
536+
post:
537+
description: Create and run analytics sync
538+
operationId: createAnalyticsSync
539+
requestBody:
540+
content:
541+
application/json:
542+
schema:
543+
$ref: '#/components/schemas/AnalyticsSyncRequest'
544+
required: true
545+
responses:
546+
"201":
547+
content:
548+
application/json:
549+
schema:
550+
$ref: '#/components/schemas/AnalyticsSync'
551+
description: Created
552+
security:
553+
- OAuth2: []
554+
summary: Create
555+
tags:
556+
- Analytics syncs
485557
/botify-crawl-imports:
486558
post:
487559
description: Create a Botify Crawl Import
@@ -1740,6 +1812,8 @@ components:
17401812
deprecated: true
17411813
datasetUri:
17421814
type: string
1815+
default_data_formatter:
1816+
type: string
17431817
domainUri:
17441818
type: string
17451819
google_search_console_site_url:
@@ -1779,6 +1853,10 @@ components:
17791853
format: int64
17801854
description: The Account Id
17811855
readOnly: true
1856+
country_code:
1857+
type: string
1858+
description: The country code
1859+
readOnly: true
17821860
datasetId:
17831861
type: string
17841862
description: The Dataset Id
@@ -1787,6 +1865,11 @@ components:
17871865
type: string
17881866
description: The dataset URI
17891867
readOnly: true
1868+
defaultDataFormatter:
1869+
type: string
1870+
description: The default data formatter used by the account to format the
1871+
JSON+LD of the data from the KG.
1872+
readOnly: true
17901873
features:
17911874
type: object
17921875
additionalProperties:
@@ -1969,6 +2052,71 @@ components:
19692052
type: string
19702053
description: An array of URLs.
19712054
uniqueItems: true
2055+
AnalyticsSync:
2056+
type: object
2057+
properties:
2058+
account_id:
2059+
type: integer
2060+
format: int64
2061+
description: The Account identifier
2062+
readOnly: true
2063+
created_at:
2064+
type: string
2065+
format: date-time
2066+
description: The creation date-time.
2067+
readOnly: true
2068+
id:
2069+
type: string
2070+
format: uuid
2071+
description: The resource identifier
2072+
readOnly: true
2073+
queries_retrieved:
2074+
type: integer
2075+
format: int64
2076+
description: Total number of queries retrieved by the analytics provider.
2077+
readOnly: true
2078+
retrievable_urls:
2079+
type: integer
2080+
format: int32
2081+
description: Number of URLs processable by the analytics provider based
2082+
on the Account URL.
2083+
readOnly: true
2084+
started_at:
2085+
type: string
2086+
format: date-time
2087+
description: The started date-time.
2088+
readOnly: true
2089+
status:
2090+
type: string
2091+
description: Status of the sync process.
2092+
enum:
2093+
- SCHEDULED
2094+
- SYNCING
2095+
- COMPLETED
2096+
- ERROR
2097+
- CANCELLED
2098+
readOnly: true
2099+
stopped_at:
2100+
type: string
2101+
format: date-time
2102+
description: The stopped date-time.
2103+
readOnly: true
2104+
total_entities_updated:
2105+
type: integer
2106+
format: int32
2107+
description: Number of unique entities updated with analytics by this sync.
2108+
readOnly: true
2109+
urls_in_dataset:
2110+
type: integer
2111+
format: int32
2112+
description: Number of total URLs retrieved from dataset entities
2113+
readOnly: true
2114+
AnalyticsSyncRequest:
2115+
type: object
2116+
properties:
2117+
account_id:
2118+
type: integer
2119+
format: int64
19722120
AnchorText:
19732121
type: object
19742122
description: The Anchor Text request.
@@ -1987,7 +2135,7 @@ components:
19872135
description: "The maximum anchor text length, by default 15 characters."
19882136
model:
19892137
type: string
1990-
default: gpt-4
2138+
default: gpt-4o
19912139
description: The model to use.
19922140
prompt_template:
19932141
type: string

0 commit comments

Comments
 (0)