Skip to content

Conversation

@MashB
Copy link
Collaborator

@MashB MashB commented Feb 27, 2025

Release Notes

DevBoard Task

https://dev.azure.com/TDEI-UW/TDEI/_workitems/edit/1722/

Changes Introduced

  • Added new endpoint /regenerate-api-key to refresh the api key

Impacted Areas for Testing

  • Test /regenerate-api-key and verify the old api key returns 401 http status and new api key works as expected

DevBoard Task

https://dev.azure.com/TDEI-UW/TDEI/_workitems/edit/1720

Changes Introduced

  • Updated service metric description
  • Added 400 status code
  • Added project_group object in response.

Impacted Areas for Testing

  • New api /api/v1/service-metrics/:project_group_id to be verified
    Sample API Response -

Success Response -

{
     "project_group": {
        "id": "Project Group ID",
        "name": "Project Group Name"
    },
    "services": [
        {
            "service_id": "48504101-4ccd-45fc-be9c-99fedb0d3b9b",
            "service_name": "SNOHOMISH COUNTY",
            "dataset_count": 1,
            "total_unzipped_size_mb": 2.92
        },
        {
            "service_id": "499e09db-c801-4c85-b77a-036bb339c82f",
            "service_name": "BALTIMORE COUNTY",
            "dataset_count": 1,
            "total_unzipped_size_mb": 24.78
        },
        {
            "service_id": "ce5de72a-fd1e-4320-9513-3c663acc13be",
            "service_name": "MULTNOMAH COUNTY",
            "dataset_count": 1,
            "total_unzipped_size_mb": 150.38
        },
        {
            "service_id": "d3ade021-78e9-4627-917c-b9bc25b07521",
            "service_name": "HARFORD COUNTY",
            "dataset_count": 1,
            "total_unzipped_size_mb": 45.49
        },
        {
            "service_id": "df4c6f39-8a32-4641-bd0f-a0d7a72d3c99",
            "service_name": "KING COUNTY",
            "dataset_count": 1,
            "total_unzipped_size_mb": 31.45
        },
        {
            "service_id": "e56cab99-af51-481f-b2e0-c1cde1ef9694",
            "service_name": "COLUMBIA COUNTY",
            "dataset_count": 1,
            "total_unzipped_size_mb": 0.98
        }
    ]
}

400 Response -

invalid input syntax for type uuid: "f6111128-5057-4293-8f81-a5529c703e0"

404 Response -

Project group with ID f6111128-5057-4293-8f81-a5529c703e01 does not exist.

500 Response -

Internal Server Error

Updated parameter details

MashB and others added 7 commits February 20, 2025 11:19
- Added the API documentation for `service-metrics`
- Updated the API documentation for `system-metrics`
- Updated service metric description
- Added 400 status code
- Added `project_group` object in response.
Updated Service Metric API description
@MashB MashB requested a review from sujata-m February 27, 2025 11:14
@MashB MashB requested a review from iamrajeshk February 27, 2025 11:23
@MashB MashB merged commit 8811213 into stage Feb 27, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants