@@ -32,8 +32,12 @@ root URL:
3232* ` docs(rootUrl, path) ` -> ` String `
3333* ` exchangeReference(rootUrl, service, version) ` -> ` String `
3434* ` schema(rootUrl, service, schema) ` -> ` String `
35+ * ` apiManifestSchema(rootUrl, version) ` -> ` String `
36+ * ` apiReferenceSchema(rootUrl, version) ` -> ` String `
37+ * ` exchangesReferenceSchema(rootUrl, version) ` -> ` String `
38+ * ` metadataMetaschema(rootUrl) ` -> ` String `
3539* ` ui(rootUrl, path) ` -> ` String `
36- * ` servicesManifest (rootUrl)` -> ` String `
40+ * ` apiManifest (rootUrl)` -> ` String `
3741* ` testRootUrl() ` -> ` String `
3842* ` withRootUrl(rootUrl) ` -> ` Class ` instance for above methods
3943
@@ -52,7 +56,7 @@ libUrls.schema(rootUrl, 'auth', 'v1/foo.yml'); // Note that schema names have ve
5256libUrls .apiReference (rootUrl, ' auth' , ' v1' );
5357libUrls .exchangeReference (rootUrl, ' auth' , ' v1' );
5458libUrls .ui (rootUrl, ' foo/bar' );
55- libUrls .servicesManifest (rootUrl);
59+ libUrls .apiManifest (rootUrl);
5660libUrls .docs (rootUrl, ' foo/bar' );
5761```
5862
@@ -67,7 +71,7 @@ urls.schema('auth', 'v1/foo.yml');
6771urls .apiReference (' auth' , ' v1' );
6872urls .exchangeReference (' auth' , ' v1' );
6973urls .ui (' foo/bar' );
70- urls .servicesManifest ();
74+ urls .apiManifest ();
7175urls .docs (' foo/bar' );
7276```
7377
@@ -103,8 +107,12 @@ func APIReference(rootURL string, service string, version string) string
103107func Docs(rootURL string, path string) string
104108func ExchangeReference(rootURL string, service string, version string) string
105109func Schema(rootURL string, service string, name string) string
110+ func APIManifestSchema(rootURL string, version string) string
111+ func APIReferenceSchema(rootURL string, version string) string
112+ func ExchangesReferenceSchema(rootURL string, version string) string
113+ func MetadataMetaschema(rootURL string) string
106114func UI(rootURL string, path string) string
107- func ServicesManifest (rootURL string) string
115+ func APIManifest (rootURL string) string
108116```
109117
110118Install with:
@@ -129,10 +137,14 @@ import taskcluster_urls
129137
130138taskcluster_urls.api(root_url, 'auth', 'v1', 'foo/bar')
131139taskcluster_urls.schema(root_url, 'auth', 'v1/foo.yml') # Note that schema names have versions in them
140+ taskcluster_urls.api_manifest_schema(root_url, 'v1')
141+ taskcluster_urls.api_reference_schema(root_url, 'v1')
142+ taskcluster_urls.exchanges_reference_schema(root_url, 'v1')
143+ taskcluster_urls.metadata_metaschema(root_url, 'v1')
132144taskcluster_urls.api_reference(root_url, 'auth', 'v1')
133145taskcluster_urls.exchange_reference(root_url, 'auth', 'v1')
134146taskcluster_urls.ui(root_url, 'foo/bar')
135- taskcluster_urls.servicesManifest (root_url)
147+ taskcluster_urls.apiManifest (root_url)
136148taskcluster_urls.docs(root_url, 'foo/bar')
137149
138150And for testing,
@@ -183,10 +195,14 @@ import org.mozilla.taskcluster.urls.*;
183195
184196 String fooBarAPI = urlProvider.api("auth", "v1", "foo/bar");
185197 String fooSchema = urlProvider.schema("auth", "v1/foo.yml"); // Note that schema names have versions in them
198+ String apiSchema = urlProvider.apiReferenceSchema("v1");
199+ String exchangesSchema = urlProvider.exchangesReferenceSchema("v1");
200+ String manifestSchema = urlProvider.apiManifestSchema("v1");
201+ String metaschema = urlProvider.metadataMetaschema();
186202 String authAPIRef = urlProvider.apiReference("auth", "v1");
187203 String authExchangesRef = urlProvider.exchangeReference("auth", "v1");
188204 String uiFooBar = urlProvider.ui("foo/bar");
189- String servicesManifest = urlProvider.servicesManifest ();
205+ String apiManifest = urlProvider.apiManifest ();
190206 String docsFooBar = urlProvider.docs("foo/bar");
191207
192208...
0 commit comments