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

getRecords metadata #893

Closed
khaliqgant opened this issue Aug 9, 2023 · 0 comments · Fixed by #894
Closed

getRecords metadata #893

khaliqgant opened this issue Aug 9, 2023 · 0 comments · Fixed by #894
Assignees
Labels
enhancement New feature or request

Comments

@khaliqgant
Copy link
Member

Introduce a new parameter for getRecords: include_nango_metadata=true

If true, this wraps the returned records in a Nango metadata object, where we add additional details about the record:

{
	"first_seen_at": "timestamp",
	"last_modified_at": "timestamp",
	"last_action": "ADDED", // or MODIFIED, in future also DELETED
	"record": {
		// user defined record
	}
}
khaliqgant added a commit that referenced this issue Aug 9, 2023
@khaliqgant khaliqgant self-assigned this Aug 9, 2023
@khaliqgant khaliqgant added the enhancement New feature or request label Aug 9, 2023
khaliqgant added a commit that referenced this issue Aug 9, 2023
khaliqgant added a commit that referenced this issue Aug 9, 2023
* [gh-#893] include_nango_metadata

* [gh-#893] add example that shows the wrapping

* [gh-#893] add default

* [gh-#893] Improve nango metadata getRecords docs

---------

Co-authored-by: Robin Guldener <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant