curl --request GET \
--url https://api.diversion.dev/v0/organizations/{org_id}/repos \
--header 'Authorization: Bearer <token>'{
"object": "Repo",
"items": [
{
"repo_name": "repo-name",
"repo_id": "example_id",
"size_bytes": 123,
"owner_user_id": "<string>",
"created_timestamp": 123,
"description": "<string>",
"organization_id": "<string>",
"default_branch_id": "<string>",
"default_branch_name": "<string>",
"sync_git_repo_url": "<string>",
"sync_git_level": 4,
"digest_method": "sha1",
"def_auto_forwarding_enabled": true
}
]
}Get a list of all repositories in the organization
curl --request GET \
--url https://api.diversion.dev/v0/organizations/{org_id}/repos \
--header 'Authorization: Bearer <token>'{
"object": "Repo",
"items": [
{
"repo_name": "repo-name",
"repo_id": "example_id",
"size_bytes": 123,
"owner_user_id": "<string>",
"created_timestamp": 123,
"description": "<string>",
"organization_id": "<string>",
"default_branch_id": "<string>",
"default_branch_name": "<string>",
"sync_git_repo_url": "<string>",
"sync_git_level": 4,
"digest_method": "sha1",
"def_auto_forwarding_enabled": true
}
]
}