1
0
mirror of synced 2026-01-09 06:03:17 -05:00

Add new actorCatalogWithUpdatedAt endpoint

This commit is contained in:
Anne
2023-01-05 14:12:31 -08:00
committed by GitHub
parent 6ec3967f69
commit bb84fac8d1
10 changed files with 186 additions and 31 deletions

View File

@@ -599,6 +599,29 @@ paths:
$ref: "#/components/responses/NotFoundResponse"
"422":
$ref: "#/components/responses/InvalidInputResponse"
/v1/sources/most_recent_source_actor_catalog:
post:
tags:
- source
summary: Get most recent ActorCatalog for source
operationId: getMostRecentSourceActorCatalog
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/SourceIdRequestBody"
required: true
responses:
"200":
description: Successful operation
content:
application/json:
schema:
$ref: "#/components/schemas/ActorCatalogWithUpdatedAt"
"404":
$ref: "#/components/responses/NotFoundResponse"
"422":
$ref: "#/components/responses/InvalidInputResponse"
/v1/sources/search:
post:
tags:
@@ -3692,6 +3715,16 @@ components:
properties:
logType:
$ref: "#/components/schemas/LogType"
# ACTOR CATALOG
ActorCatalogWithUpdatedAt:
description: A source actor catalog with the timestamp it was mostly recently updated
type: object
properties:
updatedAt:
type: integer
format: int64
catalog:
type: object
# SCHEMA CATALOG
AirbyteCatalog:
description: describes the available schema (catalog).