[PR #372] [CLOSED] Migrating unique_key to be a database property #940

Closed
opened 2026-02-25 23:44:13 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/healthchecks/healthchecks/pull/372
Author: @jameskirsop
Created: 5/28/2020
Status: Closed

Base: masterHead: unique_key-becomes-database-saved-property


📝 Commits (1)

  • f1acd7a Implementing changes, documentation and tests

📊 Changes

7 files changed (+68 additions, -8 deletions)

View changed files

📝 CHANGELOG.md (+2 -0)
hc/api/migrations/0071_check_unique_key.py (+23 -0)
📝 hc/api/models.py (+7 -4)
📝 hc/api/tests/test_get_check.py (+17 -0)
📝 hc/api/urls.py (+11 -0)
📝 hc/api/views.py (+4 -1)
📝 templates/docs/api.md (+4 -3)

📄 Description

This PR addresses an issue raised in #370 so that either a UUID or unique_key can be used to efficiently filter for Checks using the unique_key returned to a Read Only API call to /api/v1/checks.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/healthchecks/healthchecks/pull/372 **Author:** [@jameskirsop](https://github.com/jameskirsop) **Created:** 5/28/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `unique_key-becomes-database-saved-property` --- ### 📝 Commits (1) - [`f1acd7a`](https://github.com/healthchecks/healthchecks/commit/f1acd7a3f4a1eaf4b0071f61f5b57131365a0d1c) Implementing changes, documentation and tests ### 📊 Changes **7 files changed** (+68 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -0) ➕ `hc/api/migrations/0071_check_unique_key.py` (+23 -0) 📝 `hc/api/models.py` (+7 -4) 📝 `hc/api/tests/test_get_check.py` (+17 -0) 📝 `hc/api/urls.py` (+11 -0) 📝 `hc/api/views.py` (+4 -1) 📝 `templates/docs/api.md` (+4 -3) </details> ### 📄 Description This PR addresses an issue raised in #370 so that either a UUID or unique_key can be used to efficiently filter for Checks using the unique_key returned to a Read Only API call to `/api/v1/checks`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 23:44:13 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/healthchecks#940
No description provided.