Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Proposal for refreshes needed metadata #67

Merged
merged 14 commits into from
Apr 2, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,28 @@ definitions:
type: array
items:
type: string
generation_id:
evantahler marked this conversation as resolved.
Show resolved Hide resolved
description:
"Monotically increasing numeric id representing the current generation of a stream. This id can be shared across syncs.
If this is null, it means that the platform is not supporting the refresh and it is expected that no extra id will be added to the records and no data from previous generation will be cleanup.
"
type: integer
minimum_generation_id:
description:
"The minimum generation id which is needed in a stream. If it is present, the destination will try to delete the data that are part of a generation lower than this property.
If the minimum generation is equals to 0, no data deletion is expected from the destiantion
If this is null, it means that the platform is not supporting the refresh and it is expected that no extra id will be added to the records and no data from previous generation will be cleanup.
"
type: integer
sync_id:
description:
"Monotically increasing numeric id representing the current sync id. This is aimed to be unique per sync.
If this is null, it means that the platform is not supporting the refresh and it is expected that no extra id will be added to the records and no data from previous generation will be cleanup.
"
type: integer
SyncMode:
type: string
enum:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,28 @@ definitions:
type: array
items:
type: string
generation_id:
description:
"Monotically increasing numeric id representing the current generation of a stream. This id can be shared across syncs.
If this is null, it means that the platform is not supporting the refresh and it is expected that no extra id will be added to the records and no data from previous generation will be cleanup.
"
type: integer
minimum_generation_id:
description:
"The minimum generation id which is needed in a stream. If it is present, the destination will try to delete the data that are part of a generation lower than this property.
If the minimum generation is equals to 0, no data deletion is expected from the destiantion
If this is null, it means that the platform is not supporting the refresh and it is expected that no extra id will be added to the records and no data from previous generation will be cleanup.
"
type: integer
sync_id:
description:
"Monotically increasing numeric id representing the current sync id. This is aimed to be unique per sync.
If this is null, it means that the platform is not supporting the refresh and it is expected that no extra id will be added to the records and no data from previous generation will be cleanup.
"
type: integer
SyncMode:
type: string
enum:
Expand Down
Loading