Skip to content

GET /namespaces/ should support filtering to git-backed namespaces #2239

Description

@shangyian

GET /namespaces/ lists every namespace with the number of nodes under it. However, consumers that need to know which namespaces are authoritative (git-backed) vs. ad-hoc (UI-created) have to call this endpoint and then call GET /namespaces/{name}/git for each to read github_repo_path.

This makes answering "what's the universe of git-backed namespaces in this DJ instance?" expensive, which is relevant for skills/CLIs/CI lints that want to enforce "only reference nodes from a namespace owned by source control."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions