diff options
-rw-r--r-- | doc/proposals/2022-01-log-url | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/doc/proposals/2022-01-log-url b/doc/proposals/2022-01-log-url index 598fb43..0ec67c0 100644 --- a/doc/proposals/2022-01-log-url +++ b/doc/proposals/2022-01-log-url @@ -8,19 +8,16 @@ URL". It is any valid HTTP(S) URL that can end with "/sigsum/v0/<endpoint>". Proposal --- Remove the term "base URL" and instead define "log URL". A log URL is a valid -HTTP(S) URL that ends with "/sigsum/v0/". Example of a valid log URL: +HTTP(S) URL that ends with "/sigsum/v0". Example of a valid log URL: - https://example.com:4711/opposum/sigsum/v0/ + https://example.com:4711/opposum/sigsum/v0 This means that a named sigsum endpoint can be appended to a log's URL. For -example, if the endpoint is "get-tree-head-quickly" the resulting "endpoint URL" +example, if the endpoint is "get-tree-head-cosigned" the resulting "endpoint URL" would be: - https://example.com:4711/opposum/sigsum/v0/get-tree-head-quickly/ + https://example.com:4711/opposum/sigsum/v0/get-tree-head-cosigned And with input parameters for "get-leaves": - https://example.com:4711/opposum/sigsum/v0/get-leaves/42/4711/ - -Note the final slash in all of the above URLs. Should that be enforced (?). - * XXX: Need to check in URL specification(s). Defer for now. + https://example.com:4711/opposum/sigsum/v0/get-leaves/42/4711 |