Skip to content

Add helper to get root invocation target from a zcap #21

@dlongley

Description

@dlongley

A helper that could be used to get the root invocation target from a zcap would be helpful because well-known API paths can be added onto the root invocation target -- for zcaps that grant authority to some base in the path hierarchy.

For example, if a zcap has a invocation target of either <root invocation target>, <root invocation target>/foo or <root invocation target>/foo/bar, each can be used to hit well-known path: <root invocation target>/foo/bar/baz. The helper would return <root invocation target> for any of these zcaps, allowing the target URL to then be constructed from that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions