From fa9b6fa1e4aa20d05032f126415ddd648d61a219 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Sun, 13 Feb 2022 14:22:19 +0100 Subject: minor edits to the accepted log url proposal - Remove final "/" from log URL definition (more readable API doc) - Resolve XXX that ln5 looked in to a while back (don't be strict). --- doc/proposals/2022-01-log-url | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'doc/proposals') 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/". 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 -- cgit v1.2.3