Skip to content

Conversation

@samad-yar-khan
Copy link
Contributor

Proposed Changes

  • Add API for Team Repos Mapping

curl --location --request PATCH 'http://localhost:8000/teams/857009d2-e658-4929-bc40-03884a5f5658/team_repos' \
--header 'Content-Type: application/json' \
--data '{
    "team_repos_data": [
        {
            "team_id": "857009d2-e658-4929-bc40-03884a5f5658",
            "org_repo_id": "0f777387-b836-4940-809e-429923b0bedb",
            "prod_branches": ["master", "slave"],
            "is_active": true
        }
    ]
}'

Response

[
    {
        "created_at": "2024-04-23T14:40:50.178846+00:00",
        "is_active": true,
        "org_repo_id": "0f777387-b836-4940-809e-429923b0bedb",
        "prod_branch": null,
        "prod_branches": [
            "master",
            "slave"
        ],
        "team_id": "857009d2-e658-4929-bc40-03884a5f5658",
        "updated_at": "2024-04-23T14:51:10.422228+00:00"
    }
]

@adnanhashmi09 adnanhashmi09 merged commit ee13ff5 into main Apr 23, 2024
@adnanhashmi09 adnanhashmi09 deleted the GROW-1369 branch April 23, 2024 15:03
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.

3 participants