Codev
Common use cases:
- Get all commits for a specific repository
- Find deployments within a date range
- List issues assigned to a user
- Track file changes across branches
Returns empty array if no records match the criteria.The table to read from
{"summary":"Commit Stream Table","value":"codev_commit_stream"}Comma-separated list of fields to return (defaults to *)
id,created_at,updated_atJSON string of filter conditions
{"author":"[email protected]","project":"my-project"}Records retrieved successfully.
Records retrieved successfully.
No content
The data structure varies by table type. See examples for each table's schema. Returns the created record with generated ID and timestamps.The table to create the record in
{"summary":"Commit Stream Table","value":"codev_commit_stream"}The table to create the record in
codev_commit_streamWhen true, returns all created records. When false or omitted, returns only the first record
falseExample: falseRecord created successfully.
Conflict error.
Common use cases:
- Update deployment status
- Mark issues as resolved
- Update task assignments
- Modify review states
The filter parameter is required to prevent accidental bulk updates. Use specific filters to target intended records.The table to update records in
{"summary":"Commit Stream Table","value":"codev_commit_stream"}JSON string of query conditions to match records to update
{"commit":"abc123def456"}The data to update matched records with
{"status":"completed","completed_at":"2025-01-21T05:42:24.862Z"}Records updated successfully.
Records updated successfully.
Safety considerations:
- Always use specific query conditions to avoid mass deletion
- Consider archiving data instead of deletion for audit trails
- Some tables may have referential integrity constraints
Common use cases:
- Remove outdated deployment records
- Clean up resolved issues
- Delete test dataThe table to delete records from
{"summary":"Commit Stream Table","value":"codev_commit_stream"}The field name to filter by
created_byRecords deleted successfully.
No content
Records deleted successfully.
No content
The onConflict parameter specifies which columns to check for uniqueness:
- For commits: typically ['commit'] (commit hash)
- For deployments: ['deployment_id'] or ['repo', 'environment', 'timestamp']
- For users: ['email'] or ['username']
Returns the inserted or updated record(s). This is the preferred method for syncing data from external systems where you're unsure if the record already exists.The table to insert/update records in
{"summary":"Commit Stream Table","value":"codev_commit_stream"}The data to insert. If a record with matching onConflict columns exists, this data will update that record instead.
{"commit":"abc123def456","author":"[email protected]","project":"my-project"}The columns to check for conflicts. If a record exists with the same values for these columns, it will be updated instead of inserted.
["commit"]Record inserted or updated successfully.
No content
Record inserted or updated successfully.
No content
Last updated